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
This commit is contained in:
Andrey Volkov 2018-10-01 15:07:33 -07:00
parent 44a0c200f2
commit b3bc7273b2
1 changed files with 2 additions and 0 deletions

View File

@ -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