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