Getting ready
What are Daemon-like Pod and Stateful Pod? The regular Pods in Kubernetes will determine and dispatch to particular Kubernetes nodes based on current node resource usage and your configuration.
However, a Daemon-like Pod will be created in each node. For example, if you have three nodes, three daemon-like Pods will be created and deployed to each node. Whenever a new node is added, DaemonSets Pod will be deployed to the new node automatically. Therefore, it will be useful to use node level monitoring or log correction.
On the other hand, a Stateful Pod will stick to some resources such as network identifier (Pod name and DNS) and persistent volume (PV). This also guarantees an order during deployment of multiple Pods and during ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access