mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-09 04:15:52 +10:00
57 lines
1023 B
YAML
57 lines
1023 B
YAML
# image:
|
|
# repository: postgres
|
|
# tag: 11
|
|
# postgresqlDataDir: /bitnami/postgresql
|
|
postgresqlDatabase: home
|
|
persistence:
|
|
mountPath: /bitnami/postgresql
|
|
storageClass: local
|
|
existingClaim: local-postgres-pvc
|
|
volumePermissions:
|
|
enabled: true
|
|
securityContext:
|
|
fsGroup: 1000
|
|
runAsUser: 1000
|
|
service:
|
|
type: NodePort
|
|
nodePort: 32222
|
|
metrics:
|
|
enabled: true
|
|
serviceMonitor:
|
|
enabled: true
|
|
additionalLabels:
|
|
release: prometheus
|
|
|
|
customLivenessProbe:
|
|
exec:
|
|
command:
|
|
- telnet
|
|
- localhost
|
|
- 5432
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 5
|
|
timeoutSeconds: 5
|
|
successThreshold: 2
|
|
failureThreshold: 6
|
|
|
|
customRreadinessProbe:
|
|
exec:
|
|
command:
|
|
- telnet
|
|
- localhost
|
|
- 5432
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 5
|
|
timeoutSeconds: 5
|
|
successThreshold: 2
|
|
failureThreshold: 6
|
|
|
|
primary:
|
|
nodeSelector:
|
|
kubernetes.io/hostname: server-1
|
|
tolerations:
|
|
- key: "node"
|
|
operator: "Equal"
|
|
value: "special"
|
|
effect: "NoSchedule"
|