Skip to content

Commit d900187

Browse files
authored
Merge pull request #13024 from sbueringer/pr-fix-kube-state-metrics
🐛 Fix kube-state-metrics deployment
2 parents 4fe9364 + 5bd8fcc commit d900187

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hack/observability/kube-state-metrics/crd-sidecar-patch.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ spec:
1717
value: observability
1818
- name: SCRIPT
1919
value: /script/compile.sh
20+
- name: HEALTH_PORT
21+
value: "18080" # Should not conflict with kube-state-metrics port
2022
# This image continuously collects config maps with the specified label and
2123
# updates the configuration for kube-state-metrics using a script.
2224
image: kiwigrid/k8s-sidecar:latest
@@ -47,4 +49,4 @@ spec:
4749
- configMap:
4850
defaultMode: 511
4951
name: kube-state-metrics-crd-sidecar-script
50-
name: compile-script
52+
name: compile-script

0 commit comments

Comments
 (0)