Kubernetes
Medium
Concepts
What is a DaemonSet used for in Kubernetes?
Select your answer:
Show answer and explanation
Answer: To ensure all nodes run a copy of a specific pod
Explanation
A DaemonSet ensures that all (or some) nodes run a copy of a pod. As nodes are added to the cluster, pods are added to them. As nodes are removed, those pods are garbage collected. This is useful for running cluster-wide services like log collectors, monitoring agents, or storage daemons.
More medium Kubernetes questions
- What happens when a node in a Kubernetes cluster fails?
- What is the purpose of a PersistentVolume in Kubernetes?
- What is the difference between a ClusterIP and a NodePort service?
- What is a Kubernetes Ingress?
- A pod is in 'CrashLoopBackOff' state. What does this indicate?
- Which component is responsible for executing containers on nodes?