Skip to main content

Daemon Set

A DaemonSet ensures that all (or some) nodes run a copy of a specific pod. As nodes are added to the cluster, pods are added to them. As nodes are removed from the cluster, those pods are garbage collected. Deleting a DaemonSet will clean up the pods it created. DaemonSets are typically used to deploy agents like log shippers, monitoring solutions, or other system utilities on every node. For more detailed information, you can visit the official Kubernetes documentation on DaemonSets.

Terraform Mappings:

  • kubernetes_daemon_set_v1.metadata[0].name
  • kubernetes_daemonset.metadata[0].name

Supported Methods​

  • GET: Get a Daemon Set by name
  • LIST: List all Daemon Sets
  • SEARCH: Search for a Daemon Set using the ListOptions JSON format e.g. ("labelSelector": "app=wordpress")