From 4e50baf4659be68b8783b8775ec3ed93d83e7c8a Mon Sep 17 00:00:00 2001 From: emelinda Date: Fri, 17 Apr 2026 14:50:41 +0300 Subject: [PATCH] Enable PostgreSQL configuration in `yc-k8s-test` kustomization and reorder memory resource requests --- apps/pm/yc-k8s-test/kustomization.yaml | 2 +- apps/pm/yc-k8s-test/postgresql.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/pm/yc-k8s-test/kustomization.yaml b/apps/pm/yc-k8s-test/kustomization.yaml index 5ee3750..e601931 100644 --- a/apps/pm/yc-k8s-test/kustomization.yaml +++ b/apps/pm/yc-k8s-test/kustomization.yaml @@ -3,5 +3,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ../base -# - postgresql.yaml + - postgresql.yaml patches: [] diff --git a/apps/pm/yc-k8s-test/postgresql.yaml b/apps/pm/yc-k8s-test/postgresql.yaml index 4d670e3..c7ec8be 100644 --- a/apps/pm/yc-k8s-test/postgresql.yaml +++ b/apps/pm/yc-k8s-test/postgresql.yaml @@ -56,9 +56,6 @@ spec: persistence: storageClass: local-path size: 20Gi - resources: - requests: - memory: 512Mi customLivenessProbe: exec: command: @@ -92,6 +89,9 @@ spec: timeoutSeconds: 5 successThreshold: 1 failureThreshold: 6 + resources: + requests: + memory: 512Mi nodeSelector: dedicated: db tolerations: