mirror of
https://github.com/wahyd4/home-argocd.git
synced 2026-08-09 05:06:20 +10:00
update postgres
This commit is contained in:
+16
-16
@@ -21,11 +21,10 @@ spec:
|
||||
postgresqlDatabase: home
|
||||
|
||||
global:
|
||||
storageClass: nfs-client
|
||||
# storageClass: local-storage
|
||||
postgresql:
|
||||
auth:
|
||||
database: junv-db
|
||||
|
||||
# TODO: need to UPDATE DATA before update this image tag
|
||||
# error: DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 14.1.
|
||||
image:
|
||||
@@ -96,22 +95,23 @@ spec:
|
||||
cpu: 250m
|
||||
persistence:
|
||||
mountPath: /bitnami/postgresql
|
||||
storageClass: nfs-client
|
||||
size: 20Gi
|
||||
# nodeSelector:
|
||||
# kubernetes.io/hostname: server-1
|
||||
# tolerations:
|
||||
# - key: "node"
|
||||
# operator: "Equal"
|
||||
# value: "special"
|
||||
# effect: "NoSchedule"
|
||||
# - key: node-role.kubernetes.io/master
|
||||
# operator: Equal
|
||||
# value: ""
|
||||
# effect: NoSchedule
|
||||
storageClass: local-storage
|
||||
matchLabels:
|
||||
name: postgres
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: server-3
|
||||
tolerations:
|
||||
- key: "node"
|
||||
operator: "Equal"
|
||||
value: "special"
|
||||
effect: "NoSchedule"
|
||||
- key: node-role.kubernetes.io/master
|
||||
operator: Equal
|
||||
value: ""
|
||||
effect: NoSchedule
|
||||
|
||||
readReplicas:
|
||||
replicaCount: 0
|
||||
replicaCount: 1
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: nfs-client
|
||||
|
||||
Reference in New Issue
Block a user