Kubemark: don't recreate hollow node on VM reboot.

pull/8/head
Maciej Borsz 2018-08-16 10:45:32 +02:00
parent 59fdc02b13
commit 30fb87daf8
1 changed files with 9 additions and 0 deletions

View File

@ -121,3 +121,12 @@ spec:
memory: 20Mi
securityContext:
privileged: true
# Keep the pod running on unreachable node for 15 minutes.
# This time should be sufficient for a VM reboot and should
# avoid recreating a new hollow node.
# See https://github.com/kubernetes/kubernetes/issues/67120 for context.
tolerations:
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 900