From 38b8cfaa0a387ca52c3862bfbbb1da5d0e48a7d5 Mon Sep 17 00:00:00 2001 From: Vishal Date: Wed, 6 Mar 2019 17:34:23 +0530 Subject: [PATCH] Adding annotations for prometheus scraping to fission-core (#1098) --- charts/fission-core/templates/deployment.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/charts/fission-core/templates/deployment.yaml b/charts/fission-core/templates/deployment.yaml index c3daa386..d632ff66 100644 --- a/charts/fission-core/templates/deployment.yaml +++ b/charts/fission-core/templates/deployment.yaml @@ -179,6 +179,10 @@ spec: labels: application: fission-router svc: router + annotations: + prometheus.io/scrape: "true" + prometheus.io/path: "/metrics" + prometheus.io/port: "8080" spec: containers: - name: router @@ -251,6 +255,10 @@ spec: metadata: labels: svc: executor + annotations: + prometheus.io/scrape: "true" + prometheus.io/path: "/metrics" + prometheus.io/port: "8080" spec: containers: - name: executor