From dcdbe22d863032ebdeb3dde5f417ef426e7f8302 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 13 Nov 2024 20:13:38 -0500 Subject: [PATCH] fix: add tolerations for keda --- .../helm-config/keda-add-ons-http.yaml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 plugins/scheduler-k3s/templates/helm-config/keda-add-ons-http.yaml diff --git a/plugins/scheduler-k3s/templates/helm-config/keda-add-ons-http.yaml b/plugins/scheduler-k3s/templates/helm-config/keda-add-ons-http.yaml new file mode 100644 index 000000000..3ad4da833 --- /dev/null +++ b/plugins/scheduler-k3s/templates/helm-config/keda-add-ons-http.yaml @@ -0,0 +1,31 @@ +--- +operator: + tolerations: + - key: CriticalAddonsOnly + operator: Exists + - key: node-role.kubernetes.io/control-plane + operator: Exists + effect: NoSchedule + - key: node-role.kubernetes.io/master + operator: Exists + effect: NoSchedule +scaler: + tolerations: + - key: CriticalAddonsOnly + operator: Exists + - key: node-role.kubernetes.io/control-plane + operator: Exists + effect: NoSchedule + - key: node-role.kubernetes.io/master + operator: Exists + effect: NoSchedule +interceptor: + tolerations: + - key: CriticalAddonsOnly + operator: Exists + - key: node-role.kubernetes.io/control-plane + operator: Exists + effect: NoSchedule + - key: node-role.kubernetes.io/master + operator: Exists + effect: NoSchedule