Daemon sets
DaemonSets are like replicasets, as it helps in to deploy multiple instances of pod. But it runs one copy of your pod on each node in your cluster.
- A
DaemonSetis a Deployment that starts one Pod instance on every node in the cluster - This is useful in cases where a software component like an agent needs to be available on all cluster nodes
- When nodes are added or removed, the
DaemonSetautomatically changes the number of Pods accordingly - Use YAML code to create
DaemonSets kubectl apply -f daemon.yamlkubectl get ds,pods


Kube proxy:

Networking:

Create deamon sets
Creating a DaemonSet is similar to the ReplicaSet creation process. For DaemonSets, we start with apiVersion, kind as DaemonSets instead of ReplicaSet, metadata and spec.

View deamon sets

How it works
