A DaemonSet reports `DESIRED 8, CURRENT 6`. Two nodes have no agent Pod.
IntermediateTroubleshootingScheduling and Pending Pods
Answer
Likely causes → Those nodes have taints the DaemonSet does not tolerate (GPU pool, dedicated pool), or the DaemonSet has a nodeSelector/affinity they do not match. DaemonSet Pods only tolerate the built-in not-ready/unreachable/pressure taints automatically.
Diagnose →
kubectl get nodes -o custom-columns=NAME:.metadata.name,TAINTS:.spec.taints
kubectl get ds fluent-bit -n logging -o jsonpath='{.spec.template.spec.tolerations}'
Fix → For agents that must run everywhere (logging, monitoring, CNI), tolerate everything:
tolerations:
- operator: Exists
Prevent → Compare DaemonSet desiredNumberScheduled with node count in monitoring.
More on Scheduling and Pending Pods
Pods are Pending with `0/5 nodes are available: 5 Insufficient cpu. preemption: 0/5 nodes are available: 5 No preemption victims found for incoming pod.`Beginner`kubectl top nodes` shows nodes at 20% CPU, yet new Pods fail with `Insufficient cpu`. Explain it to a developer.Beginner`0/4 nodes are available: 1 node(s) had untolerated taint {node-role.kubernetes.io/control-plane: }, 3 node(s) had untolerated taint {dedicated: gpu}`.BeginnerA StatefulSet Pod is Pending with `pod has unbound immediate PersistentVolumeClaims`.Beginner`0/3 nodes are available: 3 node(s) didn't match Pod's node affinity/selector.`BeginnerA 6-replica Deployment has 3 Pods Running and 3 Pending: `0/3 nodes are available: 3 node(s) didn't match pod anti-affinity rules`.Intermediate