mirror of
https://github.com/cna-bootcamp/lifesub.git
synced 2025-12-06 08:06:24 +00:00
39 lines
667 B
YAML
39 lines
667 B
YAML
# PostgreSQL 아키텍처 설정
|
|
architecture: standalone
|
|
# 글로벌 설정
|
|
global:
|
|
postgresql:
|
|
auth:
|
|
postgresPassword: "Passw0rd"
|
|
replicationPassword: "Passw0rd"
|
|
database: "recommend"
|
|
username: "admin"
|
|
password: "Passw0rd"
|
|
storageClass: "managed"
|
|
|
|
# Primary 설정
|
|
primary:
|
|
persistence:
|
|
enabled: true
|
|
storageClass: "managed"
|
|
size: 10Gi
|
|
|
|
resources:
|
|
limits:
|
|
memory: "1Gi"
|
|
cpu: "1"
|
|
requests:
|
|
memory: "0.5Gi"
|
|
cpu: "0.5"
|
|
|
|
# 네트워크 설정
|
|
service:
|
|
type: ClusterIP
|
|
ports:
|
|
postgresql: 5432
|
|
# 보안 설정
|
|
securityContext:
|
|
enabled: true
|
|
fsGroup: 1001
|
|
runAsUser: 1001
|