Microservices Deployment Strategies: Node-Level Workloads
57%
DaemonSet: A Special Type of Controller
A DaemonSet is a resource controller that guarantees that a specific Pod runs on all nodes. You will have 1 and only 1 replica of the Pod on each node. When a new node is added to the cluster, the DaemonSet automatically schedules the specified Pod on that node. When a node is removed, it ensures that the Pod is also removed from that node.
At any given time, if you have N nodes in your cluster, you will have N replicas of the Pod, and each replica will be running on a different node.
How a DaemonSet Works
DaemonSets are typically used for node-level services such as:
Cloud-Native Microservices With Kubernetes - 2nd Edition
A Comprehensive Guide to Building, Scaling, Deploying, Observing, and Managing Highly-Available Microservices in KubernetesEnroll now to unlock all content and receive all future updates for free.

