From 201d95f96a0df12b9b6e54ae929dd97e7f40bda8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Wei=C3=9Fe?= <66256922+daniel-weisse@users.noreply.github.com> Date: Mon, 3 Jul 2023 09:34:33 +0200 Subject: [PATCH] Run controller deployment on control-plane nodes (#5) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Weiße --- charts/aws-ebs-csi-driver/values.yaml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/charts/aws-ebs-csi-driver/values.yaml b/charts/aws-ebs-csi-driver/values.yaml index 4ff8a2d7..defdd4d8 100644 --- a/charts/aws-ebs-csi-driver/values.yaml +++ b/charts/aws-ebs-csi-driver/values.yaml @@ -171,7 +171,8 @@ controller: # ID of the Kubernetes cluster used for tagging provisioned EBS volumes (optional). k8sTagClusterId: logLevel: 2 - nodeSelector: {} + nodeSelector: + node-role.kubernetes.io/control-plane: "" podAnnotations: {} podLabels: {} priorityClassName: system-cluster-critical @@ -204,9 +205,18 @@ controller: tolerations: - key: CriticalAddonsOnly operator: Exists - - effect: NoExecute + - effect: NoSchedule + key: node-role.kubernetes.io/control-plane + operator: Exists + - effect: NoSchedule + key: node-role.kubernetes.io/master + operator: Exists + - effect: NoSchedule + key: node.cloudprovider.kubernetes.io/uninitialized + operator: Exists + - effect: NoSchedule + key: node.kubernetes.io/not-ready operator: Exists - tolerationSeconds: 300 # TSCs without the label selector stanza # # Example: