values.yaml を更新
This commit is contained in:
58
values.yaml
58
values.yaml
@@ -4,7 +4,42 @@ image:
|
||||
tag: "18.1-alpine3.22"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
replicaCount: 1
|
||||
# レプリケーション設定
|
||||
replication:
|
||||
enabled: false
|
||||
replicaCount: 2
|
||||
synchronousCommit: "on"
|
||||
numSynchronousReplicas: 1
|
||||
|
||||
# プライマリ設定
|
||||
primary:
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 1Gi
|
||||
requests:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: ""
|
||||
accessMode: ReadWriteOnce
|
||||
size: 8Gi
|
||||
|
||||
# レプリカ設定
|
||||
replica:
|
||||
resources:
|
||||
limits:
|
||||
cpu: 800m
|
||||
memory: 1Gi
|
||||
requests:
|
||||
cpu: 400m
|
||||
memory: 512Mi
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: ""
|
||||
accessMode: ReadWriteOnce
|
||||
size: 8Gi
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
@@ -13,20 +48,23 @@ service:
|
||||
postgres:
|
||||
database: mydb
|
||||
user: postgres
|
||||
# パスワードは必ずSecretで管理してください
|
||||
replicationUser: replicator
|
||||
existingSecret: ""
|
||||
passwordKey: "postgres-password"
|
||||
replicationPasswordKey: "replication-password"
|
||||
|
||||
persistence:
|
||||
enabled: true
|
||||
# バックアップ設定
|
||||
backup:
|
||||
enabled: false
|
||||
schedule: "0 2 * * *" # 毎日午前2時
|
||||
retention: 7 # 保持日数
|
||||
storage:
|
||||
storageClass: ""
|
||||
accessMode: ReadWriteOnce
|
||||
size: 8Gi
|
||||
|
||||
size: 20Gi
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 1Gi
|
||||
requests:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: 256Mi
|
||||
|
||||
Reference in New Issue
Block a user