From 3a9bcded32ae3244c7cdb3aeae0d2258f43031ef Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Thu, 21 Sep 2023 12:26:34 +0200 Subject: [PATCH] templates/composer: fix cpu request/limits The fluentd sidecar had the same request/limit as the service container, and the migrate init-container had the fluentd request/limit. It should be the other way round. --- templates/composer.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/composer.yml b/templates/composer.yml index 033ab4545..f58441e36 100644 --- a/templates/composer.yml +++ b/templates/composer.yml @@ -127,10 +127,10 @@ objects: name: fluentd-sidecar resources: requests: - cpu: "${CPU_REQUEST}" + cpu: "${FLUENTD_CPU_REQUEST}" memory: "${MEMORY_REQUEST}" limits: - cpu: "${CPU_REQUEST}" + cpu: "${FLUENTD_CPU_LIMIT}" memory: "${MEMORY_LIMIT}" env: - name: SPLUNK_HEC_TOKEN @@ -166,10 +166,10 @@ objects: command: [ "/opt/migrate/tern", "migrate", "-m", "/opt/migrate/schemas" ] resources: requests: - cpu: "${FLUENTD_CPU_REQUEST}" + cpu: "${CPU_REQUEST}" memory: "${MEMORY_REQUEST}" limits: - cpu: "${FLUENTD_CPU_LIMIT}" + cpu: "${CPU_LIMIT}" memory: "${MEMORY_LIMIT}" env: - name: PGHOST @@ -481,7 +481,7 @@ parameters: value: "50m" - name: FLUENTD_CPU_LIMIT description: CPU limit per container - value: "50m" + value: "100m" - name: MAINTENANCE_CPU_REQUEST description: CPU request per container value: "50m"