This commit is contained in:
2024-08-01 17:01:55 +07:00
parent 33e0f7aa29
commit 4ce0df2366

View File

@@ -33,8 +33,8 @@ metadata:
spec: spec:
teamId: "rm" teamId: "rm"
# dockerImage: ghcr.io/zalando/spilo-16:3.2-p2 # dockerImage: ghcr.io/zalando/spilo-16:3.2-p2
enableLogicalBackup: true # enableLogicalBackup: true
logicalBackupSchedule: "30 */6 * * *" # logicalBackupSchedule: "30 */6 * * *"
numberOfInstances: 2 numberOfInstances: 2
spiloRunAsUser: 101 spiloRunAsUser: 101
spiloRunAsGroup: 103 spiloRunAsGroup: 103
@@ -72,31 +72,5 @@ spec:
limits: limits:
cpu: "0.8" cpu: "0.8"
memory: "1Gi" memory: "1Gi"
sidecars:
- name: "zalando-exporter"
image: "wrouesnel/postgres_exporter"
ports:
- name: exporter
containerPort: 9187
protocol: TCP
resources:
limits:
cpu: 100m
memory: 256M
requests:
cpu: 50m
memory: 128M
env:
- name: "DATA_SOURCE_URI"
value: "localhost:5432/rm?sslmode=disable"
- name: "DATA_SOURCE_USER"
valueFrom:
secretKeyRef:
name: rmu.rm-psql
key: username
- name: "DATA_SOURCE_PASS"
valueFrom:
secretKeyRef:
name: rmu.rm-psql
key: password
--- ---