DaemonSet in Kubernetes ensures that are all or some nodes run a copy of Pod. Every node added or deleted from a cluster will add a pod and collected as garbage respectively. And deleting the DaemonSet will clean up the Pods it created.
Do check out the Kubernetes training from Intellipaat, which is a 10 hrs online course and 20 hrs project and exercises.
Also, check out a YouTube video on Kubernetes training from our experts.