From a4e4f9c6ee6573c712965b1c9592003f9886fe68 Mon Sep 17 00:00:00 2001 From: Suraj Deshmukh Date: Wed, 12 Feb 2020 14:27:11 +0530 Subject: [PATCH] kubelet-ds: Add liveness and readiness probes Signed-off-by: Suraj Deshmukh --- .../resources/charts/kubelet/templates/kubelet-ds.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bootkube/resources/charts/kubelet/templates/kubelet-ds.yaml b/bootkube/resources/charts/kubelet/templates/kubelet-ds.yaml index 12406631..559428fd 100644 --- a/bootkube/resources/charts/kubelet/templates/kubelet-ds.yaml +++ b/bootkube/resources/charts/kubelet/templates/kubelet-ds.yaml @@ -56,6 +56,14 @@ spec: fieldPath: status.hostIP securityContext: privileged: true + livenessProbe: + httpGet: + path: /healthz + port: 10248 + readinessProbe: + httpGet: + path: /healthz + port: 10248 volumeMounts: - mountPath: /var/lib/cni name: coreos-var-lib-cni