kubernetes: Add toleration for control plane nodes
Some checks failed
dustin/k8s-reboot-coordinator/pipeline/head There was a failure building this commit
Some checks failed
dustin/k8s-reboot-coordinator/pipeline/head There was a failure building this commit
We want to schedule reboots on control plane nodes just the same as regular workers.
This commit is contained in:
@@ -51,6 +51,9 @@ spec:
|
|||||||
runAsGroup: 0
|
runAsGroup: 0
|
||||||
runAsNonRoot: false
|
runAsNonRoot: false
|
||||||
serviceAccountName: k8s-reboot-coordinator
|
serviceAccountName: k8s-reboot-coordinator
|
||||||
|
tolerations:
|
||||||
|
- key: node-role.kubernetes.io/control-plane
|
||||||
|
effect: NoSchedule
|
||||||
volumes:
|
volumes:
|
||||||
- name: host
|
- name: host
|
||||||
hostPath:
|
hostPath:
|
||||||
|
|||||||
Reference in New Issue
Block a user