Interview Prep/Kubernetes/Resources, autoscaling and scheduling

A DaemonSet pod stays Pending on one node. Why?

IntermediateScenarioResources, autoscaling and scheduling
Answer

Situation read → One node has no log agent.

What I'd do →

  1. kubectl describe pod and read the scheduling reason
  2. Check node taints versus tolerations
  3. Check node allocatable resources, since DaemonSet pods still need room
  4. Check the nodeSelector against node labels
  5. Free space or add the toleration

Why → DaemonSet pods use normal scheduling constraints through node affinity.

Interview tip → Mention priority classes for agents.

All Kubernetes questions Roadmap: Kubernetes core

More on Resources, autoscaling and scheduling