adding exporter to postgres

This commit is contained in:
2021-08-21 10:21:24 +02:00
parent 8e3e8c0e45
commit 666db73722
3 changed files with 5 additions and 4 deletions

3
.gitmodules vendored
View File

@@ -40,9 +40,6 @@
[submodule "csi-s3/node-driver-registrar"] [submodule "csi-s3/node-driver-registrar"]
path = csi-s3/node-driver-registrar path = csi-s3/node-driver-registrar
url = https://github.com/kubernetes-csi/node-driver-registrar.git url = https://github.com/kubernetes-csi/node-driver-registrar.git
[submodule "apps/postgresql/postgres_exporter"]
path = apps/postgresql/postgres_exporter
url = https://github.com/wrouesnel/postgres_exporter.git
[submodule "apps/tekton/dashboard"] [submodule "apps/tekton/dashboard"]
path = apps/tekton/dashboard path = apps/tekton/dashboard
url = https://github.com/tektoncd/dashboard.git url = https://github.com/tektoncd/dashboard.git

View File

@@ -19,6 +19,11 @@ spec:
env: live env: live
spec: spec:
containers: containers:
- name: postgres-exporter
image: quay.io/prometheuscommunity/postgres-exporter
ports:
- containerPort: 9187
protocol: TCP
- name: postgres - name: postgres
image: postgres image: postgres
ports: ports: