fix: add CriticalAddonsOnly toleration into controller pod

This commit is contained in:
andyzhangx 2024-10-20 12:06:48 +00:00
parent 620339233b
commit ebf4abe088
3 changed files with 6 additions and 0 deletions

View File

@ -71,6 +71,9 @@ controller:
- key: "node-role.kubernetes.io/control-plane" - key: "node-role.kubernetes.io/control-plane"
operator: "Exists" operator: "Exists"
effect: "NoSchedule" effect: "NoSchedule"
- key: "CriticalAddonsOnly"
operator: "Exists"
effect: "NoSchedule"
resources: resources:
csiProvisioner: csiProvisioner:
limits: limits:

View File

@ -33,6 +33,9 @@ spec:
- key: "node-role.kubernetes.io/control-plane" - key: "node-role.kubernetes.io/control-plane"
operator: "Exists" operator: "Exists"
effect: "NoSchedule" effect: "NoSchedule"
- key: "CriticalAddonsOnly"
operator: "Exists"
effect: "NoSchedule"
containers: containers:
- name: csi-provisioner - name: csi-provisioner
image: registry.k8s.io/sig-storage/csi-provisioner:v5.1.0 image: registry.k8s.io/sig-storage/csi-provisioner:v5.1.0