You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to Kubernetes' documentation, DaemonSets have two update strategy types:
DaemonSet has two update strategy types:
OnDelete: This is the default update strategy for backward-compatibility. With OnDelete update strategy, after you update a DaemonSet template, new DaemonSet pods will only be created when you manually delete old DaemonSet pods. This is the same behavior of DaemonSet in Kubernetes version 1.5 or before.
RollingUpdate: With RollingUpdate update strategy, after you update a DaemonSet template, old DaemonSet pods will be killed, and new DaemonSet pods will be created automatically, in a controlled fashion.
Because the Calico self-hosted manifests do not specify a strategy, they are all using the default one: OnDelete, meaning that after kubectl apply -f calico.yaml is executed, nothing will happen until the nodes reboot (or similar).
Expected Behavior
It'd be awesome to have Kubernetes execute Rolling Upgrades of Calico pods instead - if that's technically possible on the Calico side of things.
Hi there,
Current Behavior
According to Kubernetes' documentation, DaemonSets have two update strategy types:
Because the Calico self-hosted manifests do not specify a strategy, they are all using the default one:
OnDelete
, meaning that afterkubectl apply -f calico.yaml
is executed, nothing will happen until the nodes reboot (or similar).Expected Behavior
It'd be awesome to have Kubernetes execute Rolling Upgrades of Calico pods instead - if that's technically possible on the Calico side of things.
Possible Solution
Adding the following to the manifests:
The text was updated successfully, but these errors were encountered: