DaemonSet
A Kubernetes object that runs one copy of a pod on every node, used for agents such as log shippers and Falco.
In more detail
When a node joins the cluster, the DaemonSet automatically starts its pod there. Node agents often need host access, so they usually run in their own namespace with a looser Pod Security level.
Examples
kubectl -n kube-system get dsMonitoring agents legitimately use DaemonSets.Related terms
- Pod — The smallest unit Kubernetes runs: one or more containers scheduled together on the same machine.
- node — One machine, physical or virtual, that belongs to a Kubernetes cluster and runs pods.
- taint — A mark on a node that repels pods which do not tolerate it, used to reserve nodes or keep work off unhealthy ones.
- toleration — A setting on a pod that lets it be scheduled onto, or stay on, a node with a matching taint.
- kube-proxy — The network component on each Kubernetes node that routes traffic sent to Services to the right pods.
- Falco — An open-source runtime security tool that watches system calls on each node and raises alerts when they match rules.
- persistence — Anything an attacker sets up so their access survives reboots, logoffs and password changes, such as a scheduled task or a new key.
Taught in
- A Node Goes NotReady Forty Minutes In — Certified Kubernetes Administrator (CKA) Exam Prep
- Upgrades In The Only Order That Works — Certified Kubernetes Administrator (CKA) Exam Prep
- CNI, CSI, CRI And CRDs: The Plug-In Points — Certified Kubernetes Administrator (CKA) Exam Prep
- Container Images The Exam Way — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Choose The Right Workload Resource — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Design And Build: Timed Drill And Checkpoint — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Encrypting Pod-to-Pod Traffic: mTLS With Istio And Cilium — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Falco: Detecting What Happens Inside Containers — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Runtime Anomaly Detection with Falco & eBPF — Cloud Security & DevSecOps Engineering
- Who Owns The Symptom: Control Plane And Nodes — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Same Name, Wrong Namespace: Objects, Namespaces And Labels — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Five Jobs, Five Workloads — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Fundamentals Sprint: Four Tickets Before The Doors Open — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Slow, Or Broken? Metrics, Logs And Traces — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- The Festival, End To End: Final Review — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Port 30080 On Every Node: kube-proxy, Networking And Clients — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- What Outlives The Fix: Persistence And Privilege Escalation — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Worker Nodes: kubelet, Runtime, CNI And kube-proxy — Kubernetes: Production-Grade Container Orchestration
- DaemonSets And Node Services — Kubernetes: Production-Grade Container Orchestration
- A Warning With An Address: Correlating Signals — OpenTelemetry Certified Associate (OTCA) Exam Prep
- A Library That Traces Nothing, Safely: API, SDK And Extension — OpenTelemetry Certified Associate (OTCA) Exam Prep
- Fifty Two Spans, Four Requests: The Trace Data Model — OpenTelemetry Certified Associate (OTCA) Exam Prep
- Fifty Five Characters: Trace Context And Baggage — OpenTelemetry Certified Associate (OTCA) Exam Prep
- Six Out Of Twelve At One In Four: Samplers — OpenTelemetry Certified Associate (OTCA) Exam Prep
- Which Node Was It? Collector Deployment Patterns — OpenTelemetry Certified Associate (OTCA) Exam Prep
- Detecting Persistence: Tasks, Registry & Services — Security Operations & Threat Hunting (SOC)
References
Certification courses
- CKA course and practice exam: Certified Kubernetes Administrator
- CKAD course and practice exam: Certified Kubernetes Application Developer
- CKS course and practice exam: Certified Kubernetes Security Specialist
- KCNA course and practice exam: Kubernetes and Cloud Native Associate
- KCSA course and practice exam: Kubernetes and Cloud Native Security Associate
- OTCA course and practice exam: OpenTelemetry Certified Associate