mirror of
https://github.com/cna-bootcamp/phonebill.git
synced 2025-12-06 08:06:24 +00:00
쿠버네티스 매니페스트 파일 업데이트 및 개발환경 설정 완료
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
bb1bb85b74
commit
7f14319b65
@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: cm-api-gateway
|
name: cm-api-gateway
|
||||||
namespace: phonebill-dev
|
|
||||||
data:
|
data:
|
||||||
SERVER_PORT: "8080"
|
SERVER_PORT: "8080"
|
||||||
BILL_SERVICE_URL: "http://bill-service"
|
BILL_SERVICE_URL: "http://bill-service"
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: apps/v1
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: api-gateway
|
name: api-gateway
|
||||||
namespace: phonebill-dev
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: api-gateway
|
name: api-gateway
|
||||||
namespace: phonebill-dev
|
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: api-gateway
|
app: api-gateway
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: cm-bill-service
|
name: cm-bill-service
|
||||||
namespace: phonebill-dev
|
|
||||||
data:
|
data:
|
||||||
SERVER_PORT: "8082"
|
SERVER_PORT: "8082"
|
||||||
DB_KIND: "postgresql"
|
DB_KIND: "postgresql"
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: apps/v1
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: bill-service
|
name: bill-service
|
||||||
namespace: phonebill-dev
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: secret-bill-service
|
name: secret-bill-service
|
||||||
namespace: phonebill-dev
|
|
||||||
type: Opaque
|
type: Opaque
|
||||||
stringData:
|
stringData:
|
||||||
DB_HOST: "bill-inquiry-postgres-dev-postgresql"
|
DB_HOST: "bill-inquiry-postgres-dev-postgresql"
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: bill-service
|
name: bill-service
|
||||||
namespace: phonebill-dev
|
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: bill-service
|
app: bill-service
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: cm-common
|
name: cm-common
|
||||||
namespace: phonebill-dev
|
|
||||||
data:
|
data:
|
||||||
CORS_ALLOWED_ORIGINS: "http://localhost:8081,http://localhost:8082,http://localhost:8083,http://localhost:8084,http://phonebill.20.214.196.128.nip.io"
|
CORS_ALLOWED_ORIGINS: "http://localhost:8081,http://localhost:8082,http://localhost:8083,http://localhost:8084,http://phonebill.20.214.196.128.nip.io"
|
||||||
JWT_ACCESS_TOKEN_VALIDITY: "18000000"
|
JWT_ACCESS_TOKEN_VALIDITY: "18000000"
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: networking.k8s.io/v1
|
|||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: phonebill
|
name: phonebill
|
||||||
namespace: phonebill-dev
|
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: nginx
|
kubernetes.io/ingress.class: nginx
|
||||||
nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: secret-common
|
name: secret-common
|
||||||
namespace: phonebill-dev
|
|
||||||
type: Opaque
|
type: Opaque
|
||||||
stringData:
|
stringData:
|
||||||
JWT_SECRET: "nwe5Yo9qaJ6FBD/Thl2/j6/SFAfNwUorAY1ZcWO2KI7uA4bmVLOCPxE9hYuUpRCOkgV2UF2DdHXtqHi3+BU/ecbz2zpHyf/720h48UbA3XOMYOX1sdM+dQ=="
|
JWT_SECRET: "nwe5Yo9qaJ6FBD/Thl2/j6/SFAfNwUorAY1ZcWO2KI7uA4bmVLOCPxE9hYuUpRCOkgV2UF2DdHXtqHi3+BU/ecbz2zpHyf/720h48UbA3XOMYOX1sdM+dQ=="
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: phonebill
|
name: phonebill
|
||||||
namespace: phonebill-dev
|
|
||||||
type: kubernetes.io/dockerconfigjson
|
type: kubernetes.io/dockerconfigjson
|
||||||
stringData:
|
stringData:
|
||||||
.dockerconfigjson: |
|
.dockerconfigjson: |
|
||||||
|
|||||||
@ -2,6 +2,5 @@ apiVersion: v1
|
|||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: cm-kos-mock
|
name: cm-kos-mock
|
||||||
namespace: phonebill-dev
|
|
||||||
data:
|
data:
|
||||||
SERVER_PORT: "8084"
|
SERVER_PORT: "8084"
|
||||||
@ -2,7 +2,6 @@ apiVersion: apps/v1
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: kos-mock
|
name: kos-mock
|
||||||
namespace: phonebill-dev
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: kos-mock
|
name: kos-mock
|
||||||
namespace: phonebill-dev
|
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: kos-mock
|
app: kos-mock
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: cm-product-service
|
name: cm-product-service
|
||||||
namespace: phonebill-dev
|
|
||||||
data:
|
data:
|
||||||
SERVER_PORT: "8083"
|
SERVER_PORT: "8083"
|
||||||
DB_KIND: "postgresql"
|
DB_KIND: "postgresql"
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: apps/v1
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: product-service
|
name: product-service
|
||||||
namespace: phonebill-dev
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: secret-product-service
|
name: secret-product-service
|
||||||
namespace: phonebill-dev
|
|
||||||
type: Opaque
|
type: Opaque
|
||||||
stringData:
|
stringData:
|
||||||
DB_HOST: "product-change-postgres-dev-postgresql"
|
DB_HOST: "product-change-postgres-dev-postgresql"
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: product-service
|
name: product-service
|
||||||
namespace: phonebill-dev
|
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: product-service
|
app: product-service
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: cm-user-service
|
name: cm-user-service
|
||||||
namespace: phonebill-dev
|
|
||||||
data:
|
data:
|
||||||
SERVER_PORT: "8081"
|
SERVER_PORT: "8081"
|
||||||
DB_KIND: "postgresql"
|
DB_KIND: "postgresql"
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: apps/v1
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: user-service
|
name: user-service
|
||||||
namespace: phonebill-dev
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: secret-user-service
|
name: secret-user-service
|
||||||
namespace: phonebill-dev
|
|
||||||
type: Opaque
|
type: Opaque
|
||||||
stringData:
|
stringData:
|
||||||
DB_HOST: "auth-postgres-dev-postgresql"
|
DB_HOST: "auth-postgres-dev-postgresql"
|
||||||
|
|||||||
@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: user-service
|
name: user-service
|
||||||
namespace: phonebill-dev
|
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: user-service
|
app: user-service
|
||||||
|
|||||||
@ -18,6 +18,13 @@
|
|||||||
- **관리자**: `postgres` / `Auth2025Dev!`
|
- **관리자**: `postgres` / `Auth2025Dev!`
|
||||||
- **스키마**: 7개 테이블 + 20개 인덱스 ✅
|
- **스키마**: 7개 테이블 + 20개 인덱스 ✅
|
||||||
|
|
||||||
|
```commandline
|
||||||
|
helm install auth-postgres-dev \
|
||||||
|
-f deployment/database/exec/auth-postgres-values.yaml \
|
||||||
|
bitnami/postgresql \
|
||||||
|
--version 12.12.10
|
||||||
|
```
|
||||||
|
|
||||||
### 2. Bill-Inquiry 서비스 PostgreSQL
|
### 2. Bill-Inquiry 서비스 PostgreSQL
|
||||||
- **Helm Release**: `bill-inquiry-postgres-dev`
|
- **Helm Release**: `bill-inquiry-postgres-dev`
|
||||||
- **Pod 상태**: Running (2/2)
|
- **Pod 상태**: Running (2/2)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user