aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-04-09 21:53:40 +0100
committerGravatar Chris Lovering <[email protected]>2024-04-09 21:53:40 +0100
commit55a3a8e9a3647e0ba9b09144b66cbbe733ae943e (patch)
tree179a4f0c5413081f36a0accfdbcc72ee3eb8c730
parentEnable sticky session cookie for AlertManager (diff)
Remove custom postgres-exporter queries
These feature has been deprecated by postgres-exporter, and the only query currently defined in our file didn't work anyway.
-rw-r--r--kubernetes/namespaces/monitoring/exporters/postgres/postgres_exporter.yaml11
1 files changed, 0 insertions, 11 deletions
diff --git a/kubernetes/namespaces/monitoring/exporters/postgres/postgres_exporter.yaml b/kubernetes/namespaces/monitoring/exporters/postgres/postgres_exporter.yaml
index 5542d74..882eca9 100644
--- a/kubernetes/namespaces/monitoring/exporters/postgres/postgres_exporter.yaml
+++ b/kubernetes/namespaces/monitoring/exporters/postgres/postgres_exporter.yaml
@@ -27,26 +27,15 @@ spec:
memory: 50Mi
ports:
- containerPort: 9187
- env:
- - name: PG_EXPORTER_EXTEND_QUERY_PATH
- value: /opt/python-discord/queries/queries.yaml
envFrom:
- secretRef:
name: postgres-exporter-env
securityContext:
readOnlyRootFilesystem: true
- volumeMounts:
- - mountPath: /opt/python-discord/queries
- name: queries
securityContext:
fsGroup: 2000
runAsUser: 1000
runAsNonRoot: true
- volumes:
- - configMap:
- defaultMode: 420
- name: postgres-exporter-queries
- name: queries
---
apiVersion: v1
kind: Service