github.com/google/cadvisor@v0.49.1/deploy/kubernetes/overlays/examples/critical-priority.yaml (about)

     1  # This patch sets the priorityClass to system-node-critical, the highest priority available.
     2  apiVersion: apps/v1 # for Kubernetes versions before 1.9.0 use apps/v1beta2
     3  kind: DaemonSet
     4  metadata:
     5    name: cadvisor
     6    namespace: cadvisor
     7  spec:
     8    template:
     9      metadata:
    10        annotations:
    11          scheduler.alpha.kubernetes.io/critical-pod: ''
    12      spec:
    13        priorityClassName: system-node-critical
    14        tolerations:
    15          - key: "CriticalAddonsOnly"
    16            operator: "Exists"