Interview Prep/Kubernetes/Pods & Workloads

How do you control DaemonSet updates and run it on only some nodes?

IntermediateConceptPods & Workloads
Answer

Use updateStrategy.rollingUpdate.maxUnavailable to limit disruption (default 1), and restrict nodes with nodeSelector or node affinity in the Pod template. To run on tainted nodes (control plane, GPU), add tolerations because DaemonSet Pods do not ignore taints except for a few built-in ones.

All Kubernetes questions Roadmap: Kubernetes core

More on Pods & Workloads