fix
This commit is contained in:
@@ -33,8 +33,8 @@ metadata:
|
||||
spec:
|
||||
teamId: "rm"
|
||||
# dockerImage: ghcr.io/zalando/spilo-16:3.2-p2
|
||||
enableLogicalBackup: true
|
||||
logicalBackupSchedule: "30 */6 * * *"
|
||||
# enableLogicalBackup: true
|
||||
# logicalBackupSchedule: "30 */6 * * *"
|
||||
numberOfInstances: 2
|
||||
spiloRunAsUser: 101
|
||||
spiloRunAsGroup: 103
|
||||
@@ -72,31 +72,5 @@ spec:
|
||||
limits:
|
||||
cpu: "0.8"
|
||||
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
|
||||
|
||||
---
|
||||
|
Reference in New Issue
Block a user