[stable/kube-state-metrics] add readiness probe (#2718)

This commit is contained in:
Khris Richardson
2017-11-25 16:01:50 +01:00
committed by Reinhard Nägele
parent 0a1eb6bfc4
commit ad3dc49889
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ keywords:
- metric
- monitoring
- prometheus
version: 0.3.1
version: 0.3.2
appVersion: 1.0.1
home: https://github.com/kubernetes/kube-state-metrics/
sources:
@@ -62,5 +62,11 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
ports:
- containerPort: 8080
readinessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 5
timeoutSeconds: 5
resources:
{{ toYaml .Values.resources | indent 12 }}