Member-only story
Lab9 (Spring Boot/K8S): Understanding Kubernetes DaemonSet
Hello Devs 👋 ! . In this story, we’ll explore another Kubernetes object, DaemonSet.

· Understanding Kubernetes DaemonSet
∘ What is a DaemonSet?
∘ How Do DaemonSets Work?
∘ Common Use Cases of DaemonSet
· How Daemon Pods are scheduled
· Real-world examples
∘ Minikube Kubernetes cluster
∘ Creating a DaemonSet
∘ Updating a DaemonSet
∘ Deleting a DaemonSet
· Conclusion
· References
This series of stories shows how to use Kubernetes in the Spring ecosystem. We work with a Spring Boot API and Minikube to have a lightweight and fast development environment similar to production.
- Lab1 (Spring Boot/K8S): Deploy Spring Boot application on Kubernetes
- Lab2 (Spring Boot/K8S): Kubernetes health probes with Spring Boot
- Lab3 (Spring Boot/K8S): Mastering ConfigMaps in Kubernetes
- Lab4 (Spring Boot/K8S): Using Kubernetes Secrets in Spring Boot
- Lab5 (Spring Boot/K8S): Understanding Kubernetes Resources Management
- Lab6 (Spring Boot/K8S): Persistent Volumes in Kubernetes
- Lab7 (Spring Boot/K8S): Spring Batch on Kubernetes — Jobs and CronJobs
- Lab8 (Spring Boot/K8S): Deploy a Spring Boot application on Kubernetes using Helm Chart
- 👉 Lab9 (Spring Boot/K8S): Understanding Kubernetes DaemonSet
When we create a Deployment, we can specify the number of replicas and then Kubernetes creates a ReplicaSet and schedules the number of replicas of the Pod on the nodes in the cluster. A DaemonSet is another controller that manages pods like Deployments, ReplicaSets, and StatefulSets. Let’s get more details about DaemonSets.
Understanding Kubernetes DaemonSet
What is a DaemonSet?
A DaemonSet is a Kubernetes resource that ensures a specified Pod runs on all nodes or a specific subset of…