From 08c30b10110ee471dded8cffaaf7db8c33ef09d9 Mon Sep 17 00:00:00 2001 From: Manuel de Brito Fontes Date: Wed, 25 Oct 2017 01:06:11 -0300 Subject: [PATCH] Add missing probes in deployments --- deploy/with-rbac.yaml | 19 +++++++++++++++++++ deploy/without-rbac.yaml | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/deploy/with-rbac.yaml b/deploy/with-rbac.yaml index 8ad5dad54..01dc43cd4 100644 --- a/deploy/with-rbac.yaml +++ b/deploy/with-rbac.yaml @@ -40,3 +40,22 @@ spec: containerPort: 80 - name: https containerPort: 443 + livenessProbe: + failureThreshold: 3 + httpGet: + path: /healthz + port: 10254 + scheme: HTTP + initialDelaySeconds: 10 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + readinessProbe: + failureThreshold: 3 + httpGet: + path: /healthz + port: 10254 + scheme: HTTP + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 diff --git a/deploy/without-rbac.yaml b/deploy/without-rbac.yaml index 8f03c2f0c..21261d618 100644 --- a/deploy/without-rbac.yaml +++ b/deploy/without-rbac.yaml @@ -39,3 +39,22 @@ spec: containerPort: 80 - name: https containerPort: 443 + livenessProbe: + failureThreshold: 3 + httpGet: + path: /healthz + port: 10254 + scheme: HTTP + initialDelaySeconds: 10 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + readinessProbe: + failureThreshold: 3 + httpGet: + path: /healthz + port: 10254 + scheme: HTTP + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1