From 858a5baee9e87626712d784e42ea8369d040ce18 Mon Sep 17 00:00:00 2001 From: Ewout Prangsma Date: Fri, 1 Jun 2018 14:38:15 +0200 Subject: [PATCH] Added no-execute tolerations on operators to failover quicker --- manifests/templates/deployment/deployment.yaml | 9 +++++++++ manifests/templates/storage/deployment.yaml | 10 +++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/manifests/templates/deployment/deployment.yaml b/manifests/templates/deployment/deployment.yaml index c74fb69d0..84de05087 100644 --- a/manifests/templates/deployment/deployment.yaml +++ b/manifests/templates/deployment/deployment.yaml @@ -51,3 +51,12 @@ spec: scheme: HTTPS initialDelaySeconds: 5 periodSeconds: 10 + tolerations: + - key: "node.kubernetes.io/unreachable" + operator: "Exists" + effect: "NoExecute" + tolerationSeconds: 5 + - key: "node.kubernetes.io/not-ready" + operator: "Exists" + effect: "NoExecute" + tolerationSeconds: 5 diff --git a/manifests/templates/storage/deployment.yaml b/manifests/templates/storage/deployment.yaml index 1a1e16715..fba19712a 100644 --- a/manifests/templates/storage/deployment.yaml +++ b/manifests/templates/storage/deployment.yaml @@ -59,4 +59,12 @@ spec: scheme: HTTPS initialDelaySeconds: 5 periodSeconds: 10 - \ No newline at end of file + tolerations: + - key: "node.kubernetes.io/unreachable" + operator: "Exists" + effect: "NoExecute" + tolerationSeconds: 5 + - key: "node.kubernetes.io/not-ready" + operator: "Exists" + effect: "NoExecute" + tolerationSeconds: 5