mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-02-22 07:03:28 +00:00
The PatchNodeOnce function has historically exited early in scanarious when we Get a Node object, but the next Patch API call on the same Node object fails. This can happen in setups that are under a lot of resource pressure or different network timeout scenarious. Instead of exiting early and allow listing certain errors, always retry on any Patch error. This aligns with the general idea that kubeadm retries *all* API calls.