Kubernetes: Up and Running by Brendan Burns & Joe Beda & Kelsey Hightower

Kubernetes: Up and Running by Brendan Burns & Joe Beda & Kelsey Hightower

Author:Brendan Burns & Joe Beda & Kelsey Hightower [Burns, Brendan]
Language: eng
Format: azw3
Publisher: O'Reilly Media
Published: 2019-10-02T16:00:00+00:00


DaemonSet Scheduler

By default a DaemonSet will create a copy of a Pod on every node unless a node selector is used, which will limit eligible nodes to those with a matching set of labels. DaemonSets determine which node a Pod will run on at Pod creation time by specifying the nodeName field in the Pod spec. As a result, Pods created by DaemonSets are ignored by the Kubernetes scheduler.

Like ReplicaSets, DaemonSets are managed by a reconciliation control loop that measures the desired state (a Pod is present on all nodes) with the observed state (is the Pod present on a particular node?). Given this information, the DaemonSet controller creates a Pod on each node that doesn’t currently have a matching Pod.

If a new node is added to the cluster, then the DaemonSet controller notices that it is missing a Pod and adds the Pod to the new node.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.