300-910 · Question #43
Which Kubernetes object ensures that each node is limited to running no more than one pod?
The correct answer is C. DaemonSet. The question asks for the Kubernetes object that ensures a pod runs on every node, but no more than one per node.
Question
Options
- AUnicast
- BDeployment
- CDaemonSet
- DReplicaSet
How the community answered
(22 responses)- A5% (1)
- C91% (20)
- D5% (1)
Why each option
The question asks for the Kubernetes object that ensures a pod runs on every node, but no more than one per node.
Unicast is a networking term for one-to-one communication, not a Kubernetes object related to pod deployment.
A Deployment manages a set of identical Pods, ensuring a desired number of replicas are running, but it does not guarantee only one pod per node; multiple pods can run on a single node if resources allow.
A DaemonSet ensures that a copy of a specified Pod runs on all (or some subset of) nodes in a Kubernetes cluster, and critically, it ensures that only one instance of the Pod runs per node. This is ideal for node-level agents like monitoring or logging.
A ReplicaSet ensures a specified number of Pod replicas are running at all times, similar to Deployment, but it doesn't enforce a one-pod-per-node constraint.
Concept tested: Kubernetes DaemonSet
Source: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
Topics
Community Discussion
No community discussion yet for this question.