mirror of https://github.com/k3s-io/k3s
Disable the grace termination period for the calico/node pod
The grace period is unneccessary for calico/node and it delays restart of a new calico/node pod to take over routing and policy updates. Setting the grace period to 0 has the special meaning of doing a force deletion, which avoids a slow round-trip through the kubelet and API server. Fixes #55013pull/6/head
parent
40212c17cd
commit
0cddb6b097
|
@ -24,6 +24,9 @@ spec:
|
|||
projectcalico.org/ds-ready: "true"
|
||||
hostNetwork: true
|
||||
serviceAccountName: calico
|
||||
# Minimize downtime during a rolling upgrade or deletion; tell Kubernetes to do a "force
|
||||
# deletion": https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods.
|
||||
terminationGracePeriodSeconds: 0
|
||||
containers:
|
||||
# Runs calico/node container on each Kubernetes node. This
|
||||
# container programs network policy and routes on each
|
||||
|
|
Loading…
Reference in New Issue