manifests/minimal-master-replica-svcmonitor.yaml: Update postgres-exporter image (#2777)
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com> Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
This commit is contained in:
parent
265f2a0f1c
commit
df3f68bcfb
|
|
@ -31,11 +31,21 @@ spec:
|
||||||
version: "13"
|
version: "13"
|
||||||
sidecars:
|
sidecars:
|
||||||
- name: "exporter"
|
- name: "exporter"
|
||||||
image: "wrouesnel/postgres_exporter"
|
image: "quay.io/prometheuscommunity/postgres-exporter:v0.15.0"
|
||||||
ports:
|
ports:
|
||||||
- name: exporter
|
- name: exporter
|
||||||
containerPort: 9187
|
containerPort: 9187
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
env:
|
||||||
|
- name: DATA_SOURCE_URI
|
||||||
|
value: ":5432/?sslmode=disable"
|
||||||
|
- name: DATA_SOURCE_USER
|
||||||
|
value: "postgres"
|
||||||
|
- name: DATA_SOURCE_PASS
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: postgres.test-pg.credentials.postgresql.acid.zalan.do
|
||||||
|
key: password
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 500m
|
cpu: 500m
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue