mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Kubemark: don't recreate hollow node on VM reboot.
This commit is contained in:
parent
59fdc02b13
commit
30fb87daf8
@ -121,3 +121,12 @@ spec:
|
|||||||
memory: 20Mi
|
memory: 20Mi
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user