From 38773d92fc9954b4429c9efef069201054ce9139 Mon Sep 17 00:00:00 2001 From: ppawlowski Date: Tue, 16 Jul 2024 21:03:07 +0200 Subject: [PATCH 1/4] Disable resources for local prestaging database instance --- ci/ci-values.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/ci-values.yaml b/ci/ci-values.yaml index 99861edbf1..2612f391eb 100644 --- a/ci/ci-values.yaml +++ b/ci/ci-values.yaml @@ -9,6 +9,7 @@ postgresql: persistence: enabled: false primary: + resources: {} nodeAffinityPreset: type: "hard" key: "role" From c13c7fb9c7333efebff27951639c606b5f4762a1 Mon Sep 17 00:00:00 2001 From: ppawlowski Date: Tue, 16 Jul 2024 21:17:42 +0200 Subject: [PATCH 2/4] Disable resources for local prestaging database instance --- ci/ci-values.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/ci-values.yaml b/ci/ci-values.yaml index 2612f391eb..2c3742fccc 100644 --- a/ci/ci-values.yaml +++ b/ci/ci-values.yaml @@ -9,7 +9,9 @@ postgresql: persistence: enabled: false primary: - resources: {} + resources: + limits: {} + requests: {} nodeAffinityPreset: type: "hard" key: "role" From 83e60c561f1f6965a363721a6cc3486cb63543bc Mon Sep 17 00:00:00 2001 From: ppawlowski Date: Tue, 16 Jul 2024 22:58:48 +0200 Subject: [PATCH 3/4] Set minimym resources for postgres --- ci/ci-values.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/ci-values.yaml b/ci/ci-values.yaml index 2c3742fccc..5f9520ac52 100644 --- a/ci/ci-values.yaml +++ b/ci/ci-values.yaml @@ -10,8 +10,9 @@ postgresql: enabled: false primary: resources: - limits: {} - requests: {} + requests: + cpu: 1m + memory: 1M nodeAffinityPreset: type: "hard" key: "role" From 494136fffd5e1cb7504cc2c826e54a7ffa2cc6b9 Mon Sep 17 00:00:00 2001 From: ppawlowski Date: Tue, 16 Jul 2024 23:24:38 +0200 Subject: [PATCH 4/4] Set minimum resources for postgres --- ci/ci-values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/ci-values.yaml b/ci/ci-values.yaml index 5f9520ac52..19267ff3e1 100644 --- a/ci/ci-values.yaml +++ b/ci/ci-values.yaml @@ -12,7 +12,7 @@ postgresql: resources: requests: cpu: 1m - memory: 1M + memory: 1Mi nodeAffinityPreset: type: "hard" key: "role"