autoscaler: Tolerate control-plane taint

Kubernetes 1.24 introduced a new taint for Control Plane nodes that must
be tolerated in addition to the original taint in order for pods to be
scheduled to run on such nodes.
This commit is contained in:
2022-12-16 17:20:22 -06:00
parent 10ee364612
commit 1d199a0e75

View File

@@ -148,8 +148,11 @@ spec:
runAsUser: 65534
fsGroup: 65534
nodeSelector:
node-role.kubernetes.io/master: ''
node-role.kubernetes.io/control-plane: ''
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule