Skip to content

Commit 2141d88

Browse files
committed
Enable Prometheus scraping of Flagger metrics
1 parent e8a2d4b commit 2141d88

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

charts/flagger/values.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ image:
66
pullPolicy: IfNotPresent
77
pullSecret:
88

9-
podAnnotations: {}
9+
podAnnotations:
10+
prometheus.io/scrape: "true"
11+
prometheus.io/port: "8080"
1012

1113
metricsServer: "http://prometheus:9090"
1214

kustomize/base/flagger/deployment.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ spec:
1515
app: flagger
1616
annotations:
1717
prometheus.io/scrape: "true"
18+
prometheus.io/port: "8080"
1819
spec:
1920
serviceAccountName: flagger
2021
containers:

0 commit comments

Comments
 (0)