Node selection
As mentioned previously, we can schedule DaemonSets to run on a subset of nodes as well. This can be achieved using something called nodeSelectors. These allow us to constrain the nodes a pods runs on, by looking for specific labels and metadata. They simply match key-value pairs on the labels for each node. We can add our own labels or use those that are assigned by default.
The default labels are listed in the following table:
Default Node Labels | Description |
| This shows the hostname of the underlying instance or machine |
| This shows the underlying operating system as a report through the Go Language |
| This shows the underlying processor architecture as a report through the Go Language |
| (Cloud-Only) This is the instance type of the underlying cloud provider |
| (Cloud-Only) This is the region of the underlying cloud provider |
|