cadvisor/deploy/kubernetes/overlays/examples/critical-priority.yaml
Katarzyna Kujawa ae129c9455 Fix generating daemonset with example patches using Kustomize
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-04-30 15:58:46 +02:00

17 lines
480 B
YAML

# This patch sets the priorityClass to system-node-critical, the highest priority available.
apiVersion: apps/v1 # for Kubernetes versions before 1.9.0 use apps/v1beta2
kind: DaemonSet
metadata:
name: cadvisor
namespace: cadvisor
spec:
template:
metadata:
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
spec:
priorityClassName: system-node-critical
tolerations:
- key: "CriticalAddonsOnly"
operator: "Exists"