Skip to content

Commit

Permalink
recommend draining the node before updating kubelet
Browse files Browse the repository at this point in the history
This change clarifies that the node should be drained even when
performing patch upgrades of kubelet.
  • Loading branch information
tzneal committed Sep 20, 2023
1 parent 2229800 commit 20cfb80
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions content/en/docs/tasks/administer-cluster/cluster-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ For each node in your cluster, [drain](/docs/tasks/administer-cluster/safely-dra
that node and then either replace it with a new node that uses the {{< skew currentVersion >}}
kubelet, or upgrade the kubelet on that node and bring the node back into service.

{{< caution >}}
Draining nodes before upgrading kubelet ensures that pods are re-admitted and containers are
re-created, which may be necessary to resolve some security issues or other important bugs.
{{</ caution >}}

### Other deployments {#upgrade-other}

Refer to the documentation for your cluster deployment tool to learn the recommended set
Expand Down

0 comments on commit 20cfb80

Please sign in to comment.