Merge pull request #25788 from sculley/fix-kubeadm-upgrade-docs-1.20

moved drain the node step to after call kubeadm upgrade step for worker nodes
This commit is contained in:
Kubernetes Prow Robot
2020-12-24 02:06:26 -08:00
committed by GitHub
@@ -231,6 +231,14 @@ without compromising the minimum required capacity for running your workloads.
{{% /tab %}}
{{< /tabs >}}
### Call "kubeadm upgrade"
- For worker nodes this upgrades the local kubelet configuration:
```shell
sudo kubeadm upgrade node
```
### Drain the node
- Prepare the node for maintenance by marking it unschedulable and evicting the workloads:
@@ -240,14 +248,6 @@ without compromising the minimum required capacity for running your workloads.
kubectl drain <node-to-drain> --ignore-daemonsets
```
### Call "kubeadm upgrade"
- For worker nodes this upgrades the local kubelet configuration:
```shell
sudo kubeadm upgrade node
```
### Upgrade kubelet and kubectl
- Upgrade the kubelet and kubectl: