Join our Newsletter — 33% off our NHI Course
Home Glossary Cyber Security DaemonSet
Cyber Security

DaemonSet

← Back to Glossary
By NHI Mgmt Group Updated September 16, 2026 Domain: Cyber Security

A DaemonSet is a Kubernetes workload pattern that ensures a copy of a pod runs on every active node. In audit logging, it is often used for collection agents because it gives cluster-wide coverage. The trade-off is ongoing resource consumption on each node, so limits and isolation matter.

Expanded Definition

A DaemonSet is a Kubernetes controller that keeps a pod running on every active node, or on a selected subset of nodes. It is commonly used for node-level functions such as logging, monitoring, and network support because the workload follows the cluster’s node inventory rather than a fixed replica count.

The key boundary is that a DaemonSet manages placement, not service logic. It does not make the pod special from a security perspective, but it does make the pod pervasive: if the image, permissions, or configuration are weak, that weakness is multiplied across the fleet. In practice, the term is sometimes confused with generic “system agents” or with any pod that happens to run everywhere, but a DaemonSet is specifically a Kubernetes scheduling pattern with persistent node coverage. For node-attached instrumentation, that distinction matters because the operational model is driven by node lifecycle, label targeting, and pod restarts rather than by user traffic or request scaling. NIST SP 800-53 Rev 5 Security and Privacy Controls helps frame the surrounding control expectations, especially for access control, audit logging, and configuration management when a DaemonSet is part of the security stack.

Examples and Use Cases

  • A log collector DaemonSet can place one agent on each worker node so local application and system logs are forwarded without needing to expose a central collector to every workload.
  • A node monitoring DaemonSet can gather CPU, memory, filesystem, or kubelet metrics from every node, giving operations teams a consistent telemetry layer across the cluster.
  • A storage or networking DaemonSet can install node-local components that must exist wherever the node exists, such as CNI helpers, proxy sidecars, or disk health tools.
  • A security sensor DaemonSet can run endpoint or runtime detection components on each node, which improves coverage but also creates a broad operational footprint that must be maintained carefully.
  • A troubleshooting DaemonSet can temporarily deploy diagnostics to every node during an incident, then be removed once the investigation is complete.

The trade-off is usually between coverage and cost. A DaemonSet is a natural fit when every node needs the same baseline capability, but it is a poor fit when only a small subset of nodes need the component. That is why node selectors, tolerations, and resource limits are part of the practical design, not optional details.

Security Implications

Because a DaemonSet replicates a workload everywhere, it can turn a small configuration mistake into a cluster-wide exposure. A privileged logging or monitoring pod with broad filesystem, network, or kube API access can become a high-value foothold if it is compromised, and the blast radius is often larger than with a single deployment replica.

Failure usually shows up as over-privilege, excessive node access, or uncontrolled persistence. If the image is stale or the update path is weak, every node may continue running the same vulnerable component until the DaemonSet is manually corrected. If resource requests are too high, the operational symptom is also security-relevant: noisy neighbours, reduced node headroom, and pressure to weaken isolation just to keep the cluster stable. The most common practitioner mistake is treating a DaemonSet as “infrastructure plumbing” and therefore exempt from the same review applied to other workloads. In reality, broad placement means broad trust, so image provenance, service account scope, and node isolation deserve close attention. The OWASP API Security Top 10 is useful here when the DaemonSet exposes or consumes APIs that depend on correct authorisation and bounded resource use.

Security, Operational and Governance Implications

A DaemonSet sits at the intersection of reliability and control. Operationally, it simplifies fleet-wide coverage, but governance becomes harder because the same component now exists on every node and may inherit privileges, labels, tolerations, or host access that differ from ordinary application pods. That makes ownership clarity important: teams need to know who approves image changes, who reviews runtime permissions, and who is accountable when node coverage expands or drifts.

From a security architecture perspective, the main question is whether the DaemonSet’s node-level trust is intentional and bounded. If it reads host logs, inspects processes, or mounts sensitive paths, then its security posture must be designed like an infrastructure control, not like a casual app deployment. For that reason, cluster operators often pair DaemonSets with strict resource limits, namespace isolation, node affinity, and change control. Where the workload is part of observability or security monitoring, the operational benefit is strongest when the permissions are minimal and the update path is predictable. In short, the pattern is powerful because it is ubiquitous, and that ubiquity is exactly why its governance needs to be explicit.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0GV.RM-01 — Risk Management StrategyDaemonSets expand cluster-wide exposure and operational dependency across nodes.
PR.AC-4 — Access Permissions and Least PrivilegeDaemonSet pods often need node or API access that must stay tightly scoped.
PR.PS-1 — Configuration ManagementDaemonSets depend on repeatable image, label, and scheduling configuration across the cluster.
Recommendation — Classify DaemonSet coverage as a managed risk and define node-level control ownership. Limit DaemonSet permissions to the minimum required for node-local function. Treat DaemonSet manifests as controlled configuration and review every rollout change.
CIS Controls v86.3 — Access Control ManagementDaemonSets can introduce broad privilege if their runtime access is not constrained.
4.1 — Establish and Maintain a Secure Configuration ProcessDaemonSet deployment depends on repeatable node coverage and controlled configuration drift.
Recommendation — Restrict DaemonSet access paths and remove unnecessary node or API privileges. Baseline DaemonSet manifests and review node selectors, tolerations, and limits before deployment.
MITRE ATT&CKT1611 — Escape to HostDaemonSet pods with host mounts or elevated rights can be abused to reach the node.
Recommendation — Hunt for DaemonSets that expose host access paths and harden them against node compromise.

Deepen Your Knowledge

Sign up to our weekly newsletter — get 33% off our NHI Foundation Level Course

    NHIMG Editorial Note
    Reviewed and updated by the NHIMG editorial team on September 16, 2026.
    NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org