Pcornel
Containers · Kubernetes Workloads

DaemonSets

Cheat sheet · https://pcornel.dk/topic.php?topic=6146

Back to the Topic

Answer

A DaemonSet runs one pod on every (selected) node — for log agents, monitoring, CNI and storage node plugins.

Remember

Tolerations are needed to run on tainted nodes (control plane). Desired vs ready counts show missing nodes.

First checks

  • kubectl get ds -A — first check for this topic
  • kubectl get pods -o wide — pods, status, node, IP
  • kubectl describe pod <pod> — events and conditions
  • kubectl logs <pod> [-c <c>] [--previous] — container logs (incl. previous crash)
  • kubectl get events --sort-by=.lastTimestamp — recent cluster events

Verify in this order

DaemonSet → one pod per eligible node

Where it usually breaks

Control-plane nodes are tainted, so agents meant for them need a toleration.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6146

Confirmation

Confirm action

Continue?