October 2017
Intermediate to advanced
326 pages
7h 20m
English
Daemon Sets are an API element used to ensure that a Pod is running in all (or some) nodes. One of the assumptions in Kubernetes is that the pod should not worry about which node is being run, but that said, there might be a situation where we want to ensure that we run at least one pod on each node for a number of reasons:
In order to do that, Kubernetes provides an API element called Daemon Set. Through a combination of labels and selectors, we can define something called affinity, which can be used to run our pods on certain nodes (we might have specific hardware requirements that only a few nodes are able to provide so that we can use tags and selectors to provide a hint to the ...