From 407fa3824e6a1b923fcb54b883df23b9a201f8f5 Mon Sep 17 00:00:00 2001 From: ondal Date: Thu, 23 Oct 2025 11:03:02 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=B1=ED=82=B9=EC=84=9C=EB=B9=84=EC=8A=A4?= =?UTF-8?q?=20=EC=84=A4=EC=B9=98=20=EA=B3=84=ED=9A=8D=EC=84=9C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 데이터베이스 설치 계획서 (개발/운영) - 캐시 설치 계획서 (개발/운영) - MQ 설치 계획서 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- backing-service/value-ai.yaml | 61 +++++++++++++++++++++++++ backing-service/value-meeting.yaml | 61 +++++++++++++++++++++++++ backing-service/value-notification.yaml | 61 +++++++++++++++++++++++++ backing-service/value-stt.yaml | 61 +++++++++++++++++++++++++ backing-service/value-user.yaml | 61 +++++++++++++++++++++++++ 5 files changed, 305 insertions(+) create mode 100644 backing-service/value-ai.yaml create mode 100644 backing-service/value-meeting.yaml create mode 100644 backing-service/value-notification.yaml create mode 100644 backing-service/value-stt.yaml create mode 100644 backing-service/value-user.yaml diff --git a/backing-service/value-ai.yaml b/backing-service/value-ai.yaml new file mode 100644 index 0000000..1d8bd5e --- /dev/null +++ b/backing-service/value-ai.yaml @@ -0,0 +1,61 @@ +# PostgreSQL 아키텍처 설정 +architecture: standalone + +# 글로벌 설정 +global: + postgresql: + auth: + postgresPassword: "Hi5Jessica!" + replicationPassword: "Hi5Jessica!" + database: "aidb" + username: "hgzerouser" + password: "Hi5Jessica!" + storageClass: "managed-premium" + +# Primary 설정 +primary: + persistence: + enabled: true + storageClass: "managed-premium" + size: 10Gi + + resources: + limits: + memory: "4Gi" + cpu: "2" + requests: + memory: "2Gi" + cpu: "1" + + # 성능 최적화 설정 + extraEnvVars: + - name: POSTGRESQL_SHARED_BUFFERS + value: "1GB" + - name: POSTGRESQL_EFFECTIVE_CACHE_SIZE + value: "3GB" + - name: POSTGRESQL_MAX_CONNECTIONS + value: "200" + - name: POSTGRESQL_WORK_MEM + value: "16MB" + - name: POSTGRESQL_MAINTENANCE_WORK_MEM + value: "256MB" + + # 고가용성 설정 + podAntiAffinityPreset: soft + +# 네트워크 설정 +service: + type: ClusterIP + ports: + postgresql: 5432 + +# 보안 설정 +securityContext: + enabled: true + fsGroup: 1001 + runAsUser: 1001 + +# image: organization이 bitnami -> bitnamilegacy로 변경 +image: + registry: docker.io + repository: bitnamilegacy/postgresql diff --git a/backing-service/value-meeting.yaml b/backing-service/value-meeting.yaml new file mode 100644 index 0000000..a0a55f1 --- /dev/null +++ b/backing-service/value-meeting.yaml @@ -0,0 +1,61 @@ +# PostgreSQL 아키텍처 설정 +architecture: standalone + +# 글로벌 설정 +global: + postgresql: + auth: + postgresPassword: "Hi5Jessica!" + replicationPassword: "Hi5Jessica!" + database: "meetingdb" + username: "hgzerouser" + password: "Hi5Jessica!" + storageClass: "managed-premium" + +# Primary 설정 +primary: + persistence: + enabled: true + storageClass: "managed-premium" + size: 10Gi + + resources: + limits: + memory: "4Gi" + cpu: "2" + requests: + memory: "2Gi" + cpu: "1" + + # 성능 최적화 설정 + extraEnvVars: + - name: POSTGRESQL_SHARED_BUFFERS + value: "1GB" + - name: POSTGRESQL_EFFECTIVE_CACHE_SIZE + value: "3GB" + - name: POSTGRESQL_MAX_CONNECTIONS + value: "200" + - name: POSTGRESQL_WORK_MEM + value: "16MB" + - name: POSTGRESQL_MAINTENANCE_WORK_MEM + value: "256MB" + + # 고가용성 설정 + podAntiAffinityPreset: soft + +# 네트워크 설정 +service: + type: ClusterIP + ports: + postgresql: 5432 + +# 보안 설정 +securityContext: + enabled: true + fsGroup: 1001 + runAsUser: 1001 + +# image: organization이 bitnami -> bitnamilegacy로 변경 +image: + registry: docker.io + repository: bitnamilegacy/postgresql diff --git a/backing-service/value-notification.yaml b/backing-service/value-notification.yaml new file mode 100644 index 0000000..8ce46dd --- /dev/null +++ b/backing-service/value-notification.yaml @@ -0,0 +1,61 @@ +# PostgreSQL 아키텍처 설정 +architecture: standalone + +# 글로벌 설정 +global: + postgresql: + auth: + postgresPassword: "Hi5Jessica!" + replicationPassword: "Hi5Jessica!" + database: "notificationdb" + username: "hgzerouser" + password: "Hi5Jessica!" + storageClass: "managed-premium" + +# Primary 설정 +primary: + persistence: + enabled: true + storageClass: "managed-premium" + size: 10Gi + + resources: + limits: + memory: "4Gi" + cpu: "2" + requests: + memory: "2Gi" + cpu: "1" + + # 성능 최적화 설정 + extraEnvVars: + - name: POSTGRESQL_SHARED_BUFFERS + value: "1GB" + - name: POSTGRESQL_EFFECTIVE_CACHE_SIZE + value: "3GB" + - name: POSTGRESQL_MAX_CONNECTIONS + value: "200" + - name: POSTGRESQL_WORK_MEM + value: "16MB" + - name: POSTGRESQL_MAINTENANCE_WORK_MEM + value: "256MB" + + # 고가용성 설정 + podAntiAffinityPreset: soft + +# 네트워크 설정 +service: + type: ClusterIP + ports: + postgresql: 5432 + +# 보안 설정 +securityContext: + enabled: true + fsGroup: 1001 + runAsUser: 1001 + +# image: organization이 bitnami -> bitnamilegacy로 변경 +image: + registry: docker.io + repository: bitnamilegacy/postgresql diff --git a/backing-service/value-stt.yaml b/backing-service/value-stt.yaml new file mode 100644 index 0000000..7c68b2d --- /dev/null +++ b/backing-service/value-stt.yaml @@ -0,0 +1,61 @@ +# PostgreSQL 아키텍처 설정 +architecture: standalone + +# 글로벌 설정 +global: + postgresql: + auth: + postgresPassword: "Hi5Jessica!" + replicationPassword: "Hi5Jessica!" + database: "sttdb" + username: "hgzerouser" + password: "Hi5Jessica!" + storageClass: "managed-premium" + +# Primary 설정 +primary: + persistence: + enabled: true + storageClass: "managed-premium" + size: 10Gi + + resources: + limits: + memory: "4Gi" + cpu: "2" + requests: + memory: "2Gi" + cpu: "1" + + # 성능 최적화 설정 + extraEnvVars: + - name: POSTGRESQL_SHARED_BUFFERS + value: "1GB" + - name: POSTGRESQL_EFFECTIVE_CACHE_SIZE + value: "3GB" + - name: POSTGRESQL_MAX_CONNECTIONS + value: "200" + - name: POSTGRESQL_WORK_MEM + value: "16MB" + - name: POSTGRESQL_MAINTENANCE_WORK_MEM + value: "256MB" + + # 고가용성 설정 + podAntiAffinityPreset: soft + +# 네트워크 설정 +service: + type: ClusterIP + ports: + postgresql: 5432 + +# 보안 설정 +securityContext: + enabled: true + fsGroup: 1001 + runAsUser: 1001 + +# image: organization이 bitnami -> bitnamilegacy로 변경 +image: + registry: docker.io + repository: bitnamilegacy/postgresql diff --git a/backing-service/value-user.yaml b/backing-service/value-user.yaml new file mode 100644 index 0000000..e6e510c --- /dev/null +++ b/backing-service/value-user.yaml @@ -0,0 +1,61 @@ +# PostgreSQL 아키텍처 설정 +architecture: standalone + +# 글로벌 설정 +global: + postgresql: + auth: + postgresPassword: "Hi5Jessica!" + replicationPassword: "Hi5Jessica!" + database: "userdb" + username: "hgzerouser" + password: "Hi5Jessica!" + storageClass: "managed-premium" + +# Primary 설정 +primary: + persistence: + enabled: true + storageClass: "managed-premium" + size: 10Gi + + resources: + limits: + memory: "4Gi" + cpu: "2" + requests: + memory: "2Gi" + cpu: "1" + + # 성능 최적화 설정 + extraEnvVars: + - name: POSTGRESQL_SHARED_BUFFERS + value: "1GB" + - name: POSTGRESQL_EFFECTIVE_CACHE_SIZE + value: "3GB" + - name: POSTGRESQL_MAX_CONNECTIONS + value: "200" + - name: POSTGRESQL_WORK_MEM + value: "16MB" + - name: POSTGRESQL_MAINTENANCE_WORK_MEM + value: "256MB" + + # 고가용성 설정 + podAntiAffinityPreset: soft + +# 네트워크 설정 +service: + type: ClusterIP + ports: + postgresql: 5432 + +# 보안 설정 +securityContext: + enabled: true + fsGroup: 1001 + runAsUser: 1001 + +# image: organization이 bitnami -> bitnamilegacy로 변경 +image: + registry: docker.io + repository: bitnamilegacy/postgresql