moved drain the node step to after call kubeadm upgrade step for worker nodes

pull/25788/head
Sam Culley 2020-12-23 20:40:32 +00:00
parent df1f8c7d2d
commit 8fcb55007b
1 changed files with 8 additions and 8 deletions

View File

@ -231,6 +231,14 @@ without compromising the minimum required capacity for running your workloads.
{{% /tab %}} {{% /tab %}}
{{< /tabs >}} {{< /tabs >}}
### Call "kubeadm upgrade"
- For worker nodes this upgrades the local kubelet configuration:
```shell
sudo kubeadm upgrade node
```
### Drain the node ### Drain the node
- Prepare the node for maintenance by marking it unschedulable and evicting the workloads: - 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 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 kubelet and kubectl
- Upgrade the kubelet and kubectl: - Upgrade the kubelet and kubectl: