Skip to content

Commit 20cfb80

Browse files
committed
recommend draining the node before updating kubelet
This change clarifies that the node should be drained even when performing patch upgrades of kubelet.
1 parent 2229800 commit 20cfb80

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

content/en/docs/tasks/administer-cluster/cluster-upgrade.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ For each node in your cluster, [drain](/docs/tasks/administer-cluster/safely-dra
5959
that node and then either replace it with a new node that uses the {{< skew currentVersion >}}
6060
kubelet, or upgrade the kubelet on that node and bring the node back into service.
6161

62+
{{< caution >}}
63+
Draining nodes before upgrading kubelet ensures that pods are re-admitted and containers are
64+
re-created, which may be necessary to resolve some security issues or other important bugs.
65+
{{</ caution >}}
66+
6267
### Other deployments {#upgrade-other}
6368

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

0 commit comments

Comments
 (0)