Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Fixing prometheus.io port annotations.
Browse files Browse the repository at this point in the history
  • Loading branch information
adusumillipraveen authored and squaremo committed Jul 25, 2019
1 parent 0cbcbe5 commit 90bc383
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cluster/kubernetes/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ spec:
labels:
name: authfe
annotations:
prometheus.io.port: "8080"
prometheus.io/port: "8080"
spec:
# blank comment spacers in the following
containers:
Expand Down Expand Up @@ -522,7 +522,7 @@ spec:
labels:
name: authfe
annotations:
prometheus.io.port: "8080"
prometheus.io/port: "8080"
spec:
# blank comment spacers in the following
containers:
Expand Down
2 changes: 1 addition & 1 deletion deploy/flux-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
template:
metadata:
annotations:
prometheus.io.port: "3031" # tell prometheus to scrape /metrics endpoint's port.
prometheus.io/port: "3031" # tell prometheus to scrape /metrics endpoint's port.
labels:
name: flux
spec:
Expand Down

0 comments on commit 90bc383

Please sign in to comment.