CertGrid CertGrid
Hands-on Lab·Certified Kubernetes Administrator

DaemonSets

A DaemonSet has no replica count. It runs exactly one Pod on every eligible node and adds one automatically when a node joins. Write one, get it onto the control plane with a toleration, and see why the CNI and kube-proxy are built this way.

Workloads Guide 29 of 103 Beginner

Written against the versions above. Pod name suffixes and addresses differ per run. Node names are this lab's.

Four nodes, one of them a tainted control plane. That is what makes the toleration worth demonstrating.
Server NameIP AddressOSRolesCPURAMHDD
CKA1001192.168.0.175Ubuntu 26.04 LTSControl Plane Node2 Core4 GB50 GB
CKA1001-NODE01192.168.0.176Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA1001-NODE02192.168.0.177Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA1001-NODE03192.168.0.178Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB

Before you start

  1. A controller with no replica count

  2. Confirm it is really one per node

  3. Read logs across every node at once

  4. What the cluster already runs this way

  5. Clean up

Official sources