Recall & Review
beginner
What is a DaemonSet in Kubernetes?
A DaemonSet ensures that a copy of a specific pod runs on all or some nodes in a Kubernetes cluster. It is used for running per-node workloads like monitoring or logging agents.
Click to reveal answer
intermediate
How does a DaemonSet differ from a Deployment in Kubernetes?
A Deployment manages pods that can run anywhere in the cluster and scales by number of replicas, while a DaemonSet runs exactly one pod per selected node, ensuring per-node coverage.
Click to reveal answer
beginner
Which Kubernetes resource would you use to run a logging agent on every node?
You would use a DaemonSet to run a logging agent on every node, because it guarantees one pod per node.
Click to reveal answer
intermediate
What happens to DaemonSet pods when a new node is added to the cluster?
When a new node joins the cluster, the DaemonSet automatically creates a pod on that node to maintain one pod per node.
Click to reveal answer
intermediate
Can you limit a DaemonSet to run pods only on specific nodes?
Yes, by using node selectors or node affinity rules in the DaemonSet specification, you can restrict pods to run only on certain nodes.
Click to reveal answer
What is the primary purpose of a DaemonSet in Kubernetes?
✗ Incorrect
A DaemonSet runs exactly one pod on each node to handle per-node tasks.
If you add a new node to your cluster, what does the DaemonSet do?
✗ Incorrect
DaemonSet automatically creates a pod on the new node to maintain coverage.
How can you restrict a DaemonSet to run pods only on Linux nodes?
✗ Incorrect
Using nodeSelector with the OS label limits pods to Linux nodes.
Which workload is best suited for a DaemonSet?
✗ Incorrect
Node monitoring agents need to run on every node, so DaemonSet is ideal.
What happens if a node is removed from the cluster?
✗ Incorrect
When a node is removed, its DaemonSet pods are deleted with it.
Explain what a DaemonSet is and why it is useful in Kubernetes.
Think about workloads that need to run everywhere in the cluster.
You got /3 concepts.
Describe how you can control which nodes a DaemonSet runs pods on.
Consider how Kubernetes matches pods to nodes.
You got /3 concepts.