From 8aea3e273aecba73dd58c6e2892cb677712dda33 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 14 Apr 2025 04:38:06 -0400 Subject: [PATCH] fix: decrease default in-use keda resources Keda isn't in use by everyone, yet commands significant resources. This change makes it so a 2GB server is enough to run Dokku and a couple of small apps. --- .../templates/helm-config/keda-add-ons-http.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 index 3ad4da833..c7a812d6a 100644 --- a/plugins/scheduler-k3s/templates/helm-config/keda-add-ons-http.yaml +++ b/plugins/scheduler-k3s/templates/helm-config/keda-add-ons-http.yaml @@ -1,5 +1,8 @@ --- operator: + resources: + requests: + cpu: 100m tolerations: - key: CriticalAddonsOnly operator: Exists @@ -10,6 +13,10 @@ operator: operator: Exists effect: NoSchedule scaler: + replicas: 1 + resources: + requests: + cpu: 100m tolerations: - key: CriticalAddonsOnly operator: Exists @@ -20,6 +27,11 @@ scaler: operator: Exists effect: NoSchedule interceptor: + resources: + requests: + cpu: 100m + replicas: + min: 1 tolerations: - key: CriticalAddonsOnly operator: Exists