From adeb3339547f090e145a0c34a7e83baa482045f0 Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Sat, 23 Dec 2023 20:40:34 +0100 Subject: [PATCH] add svc --- apps/monitoring/prometheus.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/apps/monitoring/prometheus.yaml b/apps/monitoring/prometheus.yaml index 8539153..7d1055c 100644 --- a/apps/monitoring/prometheus.yaml +++ b/apps/monitoring/prometheus.yaml @@ -52,4 +52,17 @@ spec: resources: requests: memory: 400Mi - enableAdminAPI: false \ No newline at end of file + enableAdminAPI: false +--- +apiVersion: v1 +kind: Service +metadata: + name: prometheus +spec: + type: ClusterIP + ports: + - port: 9090 + targetPort: 9090 + protocol: TCP + selector: + app: prometheus