From b3bc7273b2b3968b0d4dc5d154e0ee66584a2aaa Mon Sep 17 00:00:00 2001 From: Andrey Volkov Date: Mon, 1 Oct 2018 15:07:33 -0700 Subject: [PATCH] Make haproxy-anchor pod critical Continuation of Ia1449d188c15b71dd756e96b1ea2d4a672011a17. This patch adds an annotation for haproxy-anchor pod to make it critical as the presence of HAProxy config is dependent on it. Change-Id: I5026f330cb92d57eec0f285fef98b0de3fa680bd --- charts/haproxy/templates/daemonset.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/haproxy/templates/daemonset.yaml b/charts/haproxy/templates/daemonset.yaml index 32f55723..5c631b61 100644 --- a/charts/haproxy/templates/daemonset.yaml +++ b/charts/haproxy/templates/daemonset.yaml @@ -26,6 +26,8 @@ spec: metadata: labels: {{ tuple $envAll "kubernetes" "haproxy-anchor" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }} + annotations: + scheduler.alpha.kubernetes.io/critical-pod: '' spec: tolerations: - key: node-role.kubernetes.io/master