From 26639b6208ce4fccc67ff27520f83af3674af2ea Mon Sep 17 00:00:00 2001 From: Kochetkov S Date: Thu, 21 May 2026 11:53:50 +0300 Subject: [PATCH] test(db): right-size postgres requests to observed usage --- apps/attachments/yc-k8s-test/postgresql.yaml | 4 ++++ apps/bim/yc-k8s-test/postgresql.yaml | 1 + apps/checklists/yc-k8s-test/postgresql.yaml | 4 ++++ apps/comparisons/yc-k8s-test/postgresql.yaml | 1 + apps/contracts/yc-k8s-test/postgresql.yaml | 1 + apps/django/yc-k8s-test/postgresql.yaml | 1 + apps/documentations/yc-k8s-test/postgresql.yaml | 1 + apps/drawings/yc-k8s-test/postgresql.yaml | 1 + apps/eav/yc-k8s-test/postgresql.yaml | 1 + apps/flows/yc-k8s-test/postgresql.yaml | 1 + apps/inspections/yc-k8s-test/postgresql.yaml | 4 ++++ apps/issues/yc-k8s-test/postgresql.yaml | 1 + apps/notes/yc-k8s-test/postgresql.yaml | 1 + apps/pm/yc-k8s-test/postgresql.yaml | 1 + apps/processing/yc-k8s-test/postgresql.yaml | 1 + apps/resources/yc-k8s-test/postgresql.yaml | 1 + apps/rfi/yc-k8s-test/postgresql.yaml | 4 ++++ apps/subscriptions/yc-k8s-test/postgresql.yaml | 1 + apps/system-log/yc-k8s-test/postgresql.yaml | 1 + apps/transmittal/yc-k8s-test/postgresql.yaml | 1 + apps/workspaces/yc-k8s-test/postgresql.yaml | 1 + 21 files changed, 33 insertions(+) diff --git a/apps/attachments/yc-k8s-test/postgresql.yaml b/apps/attachments/yc-k8s-test/postgresql.yaml index bfca739..4dcce15 100644 --- a/apps/attachments/yc-k8s-test/postgresql.yaml +++ b/apps/attachments/yc-k8s-test/postgresql.yaml @@ -89,6 +89,10 @@ spec: timeoutSeconds: 5 successThreshold: 1 failureThreshold: 6 + resources: + requests: + cpu: 50m + memory: 128Mi nodeSelector: dedicated: db tolerations: diff --git a/apps/bim/yc-k8s-test/postgresql.yaml b/apps/bim/yc-k8s-test/postgresql.yaml index a0565ed..a430e7f 100644 --- a/apps/bim/yc-k8s-test/postgresql.yaml +++ b/apps/bim/yc-k8s-test/postgresql.yaml @@ -92,6 +92,7 @@ spec: failureThreshold: 6 resources: requests: + cpu: 50m memory: 128Mi nodeSelector: dedicated: db diff --git a/apps/checklists/yc-k8s-test/postgresql.yaml b/apps/checklists/yc-k8s-test/postgresql.yaml index 4fa5e36..f83c97f 100644 --- a/apps/checklists/yc-k8s-test/postgresql.yaml +++ b/apps/checklists/yc-k8s-test/postgresql.yaml @@ -89,6 +89,10 @@ spec: timeoutSeconds: 5 successThreshold: 1 failureThreshold: 6 + resources: + requests: + cpu: 50m + memory: 128Mi nodeSelector: dedicated: db tolerations: diff --git a/apps/comparisons/yc-k8s-test/postgresql.yaml b/apps/comparisons/yc-k8s-test/postgresql.yaml index 86d4bbb..d6109e0 100644 --- a/apps/comparisons/yc-k8s-test/postgresql.yaml +++ b/apps/comparisons/yc-k8s-test/postgresql.yaml @@ -91,6 +91,7 @@ spec: failureThreshold: 6 resources: requests: + cpu: 50m memory: 128Mi nodeSelector: dedicated: db diff --git a/apps/contracts/yc-k8s-test/postgresql.yaml b/apps/contracts/yc-k8s-test/postgresql.yaml index 8655796..d24e0c5 100644 --- a/apps/contracts/yc-k8s-test/postgresql.yaml +++ b/apps/contracts/yc-k8s-test/postgresql.yaml @@ -58,6 +58,7 @@ spec: size: 20Gi resources: requests: + cpu: 50m memory: 128Mi customLivenessProbe: exec: diff --git a/apps/django/yc-k8s-test/postgresql.yaml b/apps/django/yc-k8s-test/postgresql.yaml index 0b93aa0..8832a40 100644 --- a/apps/django/yc-k8s-test/postgresql.yaml +++ b/apps/django/yc-k8s-test/postgresql.yaml @@ -91,6 +91,7 @@ spec: failureThreshold: 6 resources: requests: + cpu: 50m memory: 128Mi nodeSelector: dedicated: db diff --git a/apps/documentations/yc-k8s-test/postgresql.yaml b/apps/documentations/yc-k8s-test/postgresql.yaml index 3469775..793c167 100644 --- a/apps/documentations/yc-k8s-test/postgresql.yaml +++ b/apps/documentations/yc-k8s-test/postgresql.yaml @@ -91,6 +91,7 @@ spec: failureThreshold: 6 resources: requests: + cpu: 50m memory: 128Mi nodeSelector: dedicated: db diff --git a/apps/drawings/yc-k8s-test/postgresql.yaml b/apps/drawings/yc-k8s-test/postgresql.yaml index 279966f..9c11856 100644 --- a/apps/drawings/yc-k8s-test/postgresql.yaml +++ b/apps/drawings/yc-k8s-test/postgresql.yaml @@ -91,6 +91,7 @@ spec: failureThreshold: 6 resources: requests: + cpu: 50m memory: 128Mi nodeSelector: dedicated: db diff --git a/apps/eav/yc-k8s-test/postgresql.yaml b/apps/eav/yc-k8s-test/postgresql.yaml index 801d6fd..8cbf0d4 100644 --- a/apps/eav/yc-k8s-test/postgresql.yaml +++ b/apps/eav/yc-k8s-test/postgresql.yaml @@ -91,6 +91,7 @@ spec: failureThreshold: 6 resources: requests: + cpu: 50m memory: 128Mi nodeSelector: dedicated: db diff --git a/apps/flows/yc-k8s-test/postgresql.yaml b/apps/flows/yc-k8s-test/postgresql.yaml index b25f96b..40edb7e 100644 --- a/apps/flows/yc-k8s-test/postgresql.yaml +++ b/apps/flows/yc-k8s-test/postgresql.yaml @@ -91,6 +91,7 @@ spec: failureThreshold: 6 resources: requests: + cpu: 50m memory: 128Mi nodeSelector: dedicated: db diff --git a/apps/inspections/yc-k8s-test/postgresql.yaml b/apps/inspections/yc-k8s-test/postgresql.yaml index 6688d5f..0dfb390 100644 --- a/apps/inspections/yc-k8s-test/postgresql.yaml +++ b/apps/inspections/yc-k8s-test/postgresql.yaml @@ -89,6 +89,10 @@ spec: timeoutSeconds: 5 successThreshold: 1 failureThreshold: 6 + resources: + requests: + cpu: 50m + memory: 128Mi nodeSelector: dedicated: db tolerations: diff --git a/apps/issues/yc-k8s-test/postgresql.yaml b/apps/issues/yc-k8s-test/postgresql.yaml index 7c4d127..ae33156 100644 --- a/apps/issues/yc-k8s-test/postgresql.yaml +++ b/apps/issues/yc-k8s-test/postgresql.yaml @@ -91,6 +91,7 @@ spec: failureThreshold: 6 resources: requests: + cpu: 50m memory: 128Mi nodeSelector: dedicated: db diff --git a/apps/notes/yc-k8s-test/postgresql.yaml b/apps/notes/yc-k8s-test/postgresql.yaml index 19b392d..9a4e8cc 100644 --- a/apps/notes/yc-k8s-test/postgresql.yaml +++ b/apps/notes/yc-k8s-test/postgresql.yaml @@ -58,6 +58,7 @@ spec: size: 20Gi resources: requests: + cpu: 50m memory: 128Mi customLivenessProbe: exec: diff --git a/apps/pm/yc-k8s-test/postgresql.yaml b/apps/pm/yc-k8s-test/postgresql.yaml index 0c4cd6d..6750b30 100644 --- a/apps/pm/yc-k8s-test/postgresql.yaml +++ b/apps/pm/yc-k8s-test/postgresql.yaml @@ -91,6 +91,7 @@ spec: failureThreshold: 6 resources: requests: + cpu: 50m memory: 128Mi nodeSelector: dedicated: db diff --git a/apps/processing/yc-k8s-test/postgresql.yaml b/apps/processing/yc-k8s-test/postgresql.yaml index 666f685..bbbcb7e 100644 --- a/apps/processing/yc-k8s-test/postgresql.yaml +++ b/apps/processing/yc-k8s-test/postgresql.yaml @@ -91,6 +91,7 @@ spec: failureThreshold: 6 resources: requests: + cpu: 50m memory: 128Mi nodeSelector: dedicated: db diff --git a/apps/resources/yc-k8s-test/postgresql.yaml b/apps/resources/yc-k8s-test/postgresql.yaml index 13dbf8d..e7d0405 100644 --- a/apps/resources/yc-k8s-test/postgresql.yaml +++ b/apps/resources/yc-k8s-test/postgresql.yaml @@ -91,6 +91,7 @@ spec: failureThreshold: 6 resources: requests: + cpu: 50m memory: 128Mi nodeSelector: dedicated: db diff --git a/apps/rfi/yc-k8s-test/postgresql.yaml b/apps/rfi/yc-k8s-test/postgresql.yaml index 19a555d..abb06f8 100644 --- a/apps/rfi/yc-k8s-test/postgresql.yaml +++ b/apps/rfi/yc-k8s-test/postgresql.yaml @@ -89,6 +89,10 @@ spec: timeoutSeconds: 5 successThreshold: 1 failureThreshold: 6 + resources: + requests: + cpu: 50m + memory: 128Mi nodeSelector: dedicated: db tolerations: diff --git a/apps/subscriptions/yc-k8s-test/postgresql.yaml b/apps/subscriptions/yc-k8s-test/postgresql.yaml index a3ed23f..4b0d54c 100644 --- a/apps/subscriptions/yc-k8s-test/postgresql.yaml +++ b/apps/subscriptions/yc-k8s-test/postgresql.yaml @@ -91,6 +91,7 @@ spec: failureThreshold: 6 resources: requests: + cpu: 50m memory: 128Mi nodeSelector: dedicated: db diff --git a/apps/system-log/yc-k8s-test/postgresql.yaml b/apps/system-log/yc-k8s-test/postgresql.yaml index c98356a..b3cfb20 100644 --- a/apps/system-log/yc-k8s-test/postgresql.yaml +++ b/apps/system-log/yc-k8s-test/postgresql.yaml @@ -91,6 +91,7 @@ spec: failureThreshold: 6 resources: requests: + cpu: 50m memory: 128Mi nodeSelector: dedicated: db diff --git a/apps/transmittal/yc-k8s-test/postgresql.yaml b/apps/transmittal/yc-k8s-test/postgresql.yaml index 38dc688..bf410a3 100644 --- a/apps/transmittal/yc-k8s-test/postgresql.yaml +++ b/apps/transmittal/yc-k8s-test/postgresql.yaml @@ -91,6 +91,7 @@ spec: failureThreshold: 6 resources: requests: + cpu: 50m memory: 128Mi nodeSelector: dedicated: db diff --git a/apps/workspaces/yc-k8s-test/postgresql.yaml b/apps/workspaces/yc-k8s-test/postgresql.yaml index dc87378..c765e04 100644 --- a/apps/workspaces/yc-k8s-test/postgresql.yaml +++ b/apps/workspaces/yc-k8s-test/postgresql.yaml @@ -91,6 +91,7 @@ spec: failureThreshold: 6 resources: requests: + cpu: 50m memory: 128Mi nodeSelector: dedicated: db