From 5d8fa8ed4c42b2a951ffb1e57489e84d3562d2f7 Mon Sep 17 00:00:00 2001 From: soohyunme Date: Fri, 18 Sep 2026 18:06:00 +0900 Subject: [PATCH] =?UTF-8?q?chore(event-bingo):=20PR=20252=20=EC=9A=B4?= =?UTF-8?q?=EC=98=81=20pool=20=EB=B0=8F=20Realtime=20OFF=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95=20=EC=A4=80=EB=B9=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../overlays/prod/backend-pool-env-patch.yaml | 16 ++++++++++++++++ .../overlays/prod/frontend-runtime-config.yaml | 7 +++++++ .../prod/frontend-runtime-mount-patch.yaml | 17 +++++++++++++++++ .../overlays/prod/kustomization.yaml | 3 +++ 4 files changed, 43 insertions(+) create mode 100644 services/event-bingo/overlays/prod/backend-pool-env-patch.yaml create mode 100644 services/event-bingo/overlays/prod/frontend-runtime-config.yaml create mode 100644 services/event-bingo/overlays/prod/frontend-runtime-mount-patch.yaml diff --git a/services/event-bingo/overlays/prod/backend-pool-env-patch.yaml b/services/event-bingo/overlays/prod/backend-pool-env-patch.yaml new file mode 100644 index 0000000..3215d79 --- /dev/null +++ b/services/event-bingo/overlays/prod/backend-pool-env-patch.yaml @@ -0,0 +1,16 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: event-bingo-backend +spec: + template: + spec: + containers: + - name: event-bingo-backend + env: + - name: DB_POOL_SIZE + value: "3" + - name: DB_MAX_OVERFLOW + value: "1" + - name: DB_POOL_TIMEOUT_SECONDS + value: "5" diff --git a/services/event-bingo/overlays/prod/frontend-runtime-config.yaml b/services/event-bingo/overlays/prod/frontend-runtime-config.yaml new file mode 100644 index 0000000..ba66a09 --- /dev/null +++ b/services/event-bingo/overlays/prod/frontend-runtime-config.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: event-bingo-frontend-runtime +data: + runtime-config.json: | + {"bingoRealtimeEnabled":false} diff --git a/services/event-bingo/overlays/prod/frontend-runtime-mount-patch.yaml b/services/event-bingo/overlays/prod/frontend-runtime-mount-patch.yaml new file mode 100644 index 0000000..6766de4 --- /dev/null +++ b/services/event-bingo/overlays/prod/frontend-runtime-mount-patch.yaml @@ -0,0 +1,17 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: event-bingo-frontend +spec: + template: + spec: + containers: + - name: event-bingo-frontend + volumeMounts: + - name: runtime-config + mountPath: /usr/share/nginx/html/runtime + readOnly: true + volumes: + - name: runtime-config + configMap: + name: event-bingo-frontend-runtime diff --git a/services/event-bingo/overlays/prod/kustomization.yaml b/services/event-bingo/overlays/prod/kustomization.yaml index beaa4bb..1f77407 100644 --- a/services/event-bingo/overlays/prod/kustomization.yaml +++ b/services/event-bingo/overlays/prod/kustomization.yaml @@ -8,9 +8,12 @@ resources: - ingress.yaml - ghcr-pull-secret.yaml - sealed-secret.yaml +- frontend-runtime-config.yaml patches: - path: backend-seo-env-patch.yaml +- path: backend-pool-env-patch.yaml +- path: frontend-runtime-mount-patch.yaml commonLabels: environment: production