쿠버네티스 배포 설정 업데이트

- 데이터베이스 연결 정보 업데이트 (LoadBalancer External IP 적용)
- Redis 캐시 설정 최적화
- API Gateway CORS 설정 개선
- 백엔드 서비스 보안 설정 강화
- 데이터베이스 테스트 연결 스크립트 추가

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
ondal
2025-09-30 00:17:31 +09:00
parent 7f14319b65
commit 10b12880ba
12 changed files with 81 additions and 31 deletions
@@ -3,10 +3,10 @@
global:
postgresql:
auth:
postgresPassword: "Auth2025Dev!"
postgresPassword: "Auth2025Dev@"
database: "phonebill_auth"
username: "auth_user"
password: "AuthUser2025!"
password: "AuthUser2025@"
storageClass: "managed"
# Primary 설정 (개발환경 단독 구성)
@@ -70,10 +70,12 @@ securityContext:
# 메트릭 설정 (개발환경 모니터링)
metrics:
enabled: true
service:
type: ClusterIP
enabled: false
# 백업 설정 (개발환경 기본)
backup:
enabled: false # 개발환경에서는 수동 백업
enabled: false # 개발환경에서는 수동 백업
image:
registry: docker.io
repository: bitnamilegacy/postgresql
@@ -3,10 +3,10 @@
global:
postgresql:
auth:
postgresPassword: "Bill2025Dev!"
postgresPassword: "Bill2025Dev@"
database: "bill_inquiry_db"
username: "bill_inquiry_user"
password: "BillUser2025!"
password: "BillUser2025@"
storageClass: "managed"
# Primary 설정 (개발환경 단독 구성)
@@ -70,10 +70,13 @@ securityContext:
# 메트릭 설정 (개발환경 모니터링)
metrics:
enabled: true
service:
type: ClusterIP
enabled: false
# 백업 설정 (개발환경 기본)
backup:
enabled: false # 개발환경에서는 수동 백업
enabled: false # 개발환경에서는 수동 백업
image:
registry: docker.io
repository: bitnamilegacy/postgresql
+21 -1
View File
@@ -20,7 +20,7 @@
```commandline
helm install auth-postgres-dev \
-f deployment/database/exec/auth-postgres-values.yaml \
-f develop/database/exec/auth-postgres-values.yaml \
bitnami/postgresql \
--version 12.12.10
```
@@ -34,6 +34,13 @@ helm install auth-postgres-dev \
- **관리자**: `postgres` / `Bill2025Dev!`
- **스키마**: 5개 테이블 + 15개 인덱스 ✅
```commandline
helm upgrade -i bill-inquiry-postgres-dev \
-f develop/database/exec/bill-inquiry-postgres-values.yaml \
bitnami/postgresql \
--version 12.12.10
```
### 3. Product-Change 서비스 PostgreSQL
- **Helm Release**: `product-change-postgres-dev`
- **Pod 상태**: Running (2/2)
@@ -43,6 +50,13 @@ helm install auth-postgres-dev \
- **관리자**: `postgres` / `Product2025Dev!`
- **스키마**: 3개 테이블 + 12개 인덱스 ✅
```commandline
helm upgrade -i product-change-postgres-dev \
-f develop/database/exec/product-change-postgres-values.yaml \
bitnami/postgresql \
--version 12.12.10
```
### 4. Redis 캐시
- **Helm Release**: `redis-cache-dev`
- **Pod 상태**: Running (2/2)
@@ -51,6 +65,12 @@ helm install auth-postgres-dev \
- **메모리 설정**: 512MB (allkeys-lru 정책)
- **연결 테스트**: PONG 응답 확인 ✅
```commandline
helm upgrade -i redis-cache-dev \
-f develop/database/exec/redis-cache-values.yaml \
bitnami/redis
```
## 🔧 리소스 할당 현황
| 서비스 | CPU 요청/제한 | 메모리 요청/제한 | 스토리지 |
@@ -3,10 +3,10 @@
global:
postgresql:
auth:
postgresPassword: "Product2025Dev!"
postgresPassword: "Product2025Dev@"
database: "product_change_db"
username: "product_change_user"
password: "ProductUser2025!"
password: "ProductUser2025@"
storageClass: "managed"
# Primary 설정 (개발환경 단독 구성)
@@ -70,10 +70,12 @@ securityContext:
# 메트릭 설정 (개발환경 모니터링)
metrics:
enabled: true
service:
type: ClusterIP
enabled: false
# 백업 설정 (개발환경 기본)
backup:
enabled: false # 개발환경에서는 수동 백업
enabled: false # 개발환경에서는 수동 백업
image:
registry: docker.io
repository: bitnamilegacy/postgresql
@@ -9,7 +9,7 @@ architecture: standalone
# Auth 설정
auth:
enabled: true
password: "Redis2025Dev!"
password: "Redis2025Dev@"
# Master 설정 (개발환경 최적화)
master:
@@ -68,10 +68,7 @@ securityContext:
# 메트릭 설정 (개발환경 모니터링)
metrics:
enabled: true
service:
type: ClusterIP
port: 9121
enabled: false
# 센티넬 비활성화 (개발환경 단일 구성)
sentinel:
@@ -79,4 +76,8 @@ sentinel:
# 복제본 비활성화 (개발환경 단일 구성)
replica:
replicaCount: 0
replicaCount: 0
image:
registry: docker.io
repository: bitnamilegacy/redis