Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit cd886ed

Browse files
author
Luke Addison
committed
Add prometheus annotations
1 parent 0a1d596 commit cd886ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

puppet/modules/kubernetes_addons/templates/cluster-autoscaler-deployment.yaml.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ spec:
1818
labels:
1919
app: cluster-autoscaler
2020
annotations:
21+
prometheus.io/port: "8085"
22+
prometheus.io/scrape: "true"
2123
scheduler.alpha.kubernetes.io/critical-pod: ''
2224
<%- if @version_before_1_6 -%>
2325
scheduler.alpha.kubernetes.io/tolerations: '[{"key":"CriticalAddonsOnly", "operator":"Exists"}]'

0 commit comments

Comments
 (0)