From 55a3a8e9a3647e0ba9b09144b66cbbe733ae943e Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Tue, 9 Apr 2024 21:53:40 +0100 Subject: 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. --- .../monitoring/exporters/postgres/postgres_exporter.yaml | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'kubernetes') 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 -- cgit v1.2.3