Enable Prometheus scraping of Flagger metrics

This commit is contained in:
stefanprodan
2019-10-05 10:45:35 +03:00
parent e8a2d4be2e
commit 2141d88ce1
2 changed files with 4 additions and 1 deletions

View File

@@ -6,7 +6,9 @@ image:
pullPolicy: IfNotPresent
pullSecret:
podAnnotations: {}
podAnnotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
metricsServer: "http://prometheus:9090"

View File

@@ -15,6 +15,7 @@ spec:
app: flagger
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
spec:
serviceAccountName: flagger
containers: