Kubespec Logo kubespec.dev

apps/v1 · Namespaced Resource

DaemonSet

        DaemonSet represents the configuration of a daemon set.
      

Click on Property Name to see the description, and Pink Types to expand schema.

Looking for some examples?

There are 2 examples of DaemonSet that you can use as a starting point to create your own.

apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: fluentd-elasticsearch
  namespace: monitoring # DaemonSet is namespaced resource
spec:
  selector:
    matchLabels:
      name: fluentd-elasticsearch
  template:
    metadata:
      labels:
        name: fluentd-elasticsearch
    spec:
      tolerations:
        # these tolerations are to have the daemonset runnable on control plane nodes
        # remove them if your control plane nodes should not run pods
        - key: node-role.kubernetes.io/control-plane
          operator: Exists
          effect: NoSchedule
        - key: node-role.kubernetes.io/master
          operator: Exists
          effect: NoSchedule
      containers:
        - name: fluentd-elasticsearch
          image: quay.io/fluentd_elasticsearch/fluentd:v2.5.2

No links for DaemonSet yet

You can help us by adding useful links on GitHub