From d8bc4f0c48eace330b452240411df637667d131d Mon Sep 17 00:00:00 2001 From: Goutham Pratapa Date: Wed, 20 Mar 2019 18:58:28 +0530 Subject: [PATCH] Add Liveness probe to Calico-Kubecontrollers This commit is to add liveness probe to the calico kubecontroller containers. Change-Id: I99e5b0c1e04d94605efa8bfe6863f1f50c2692cd --- calico/templates/deployment-calico-kube-controllers.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/calico/templates/deployment-calico-kube-controllers.yaml b/calico/templates/deployment-calico-kube-controllers.yaml index 354915982..d88564474 100644 --- a/calico/templates/deployment-calico-kube-controllers.yaml +++ b/calico/templates/deployment-calico-kube-controllers.yaml @@ -163,6 +163,11 @@ spec: command: - /usr/bin/check-status - -r + livenessProbe: + exec: + command: + - /usr/bin/check-status + - -r volumes: - name: calico-etcd-secrets secret: