From 1d199a0e75fe06cd0d11f5d113570182aff088e8 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Fri, 16 Dec 2022 17:20:22 -0600 Subject: [PATCH] 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. --- autoscaler/cluster-autoscaler-autodiscover.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/autoscaler/cluster-autoscaler-autodiscover.yaml b/autoscaler/cluster-autoscaler-autodiscover.yaml index bece466..0917597 100644 --- a/autoscaler/cluster-autoscaler-autodiscover.yaml +++ b/autoscaler/cluster-autoscaler-autodiscover.yaml @@ -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