File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
content/en/docs/tasks/administer-cluster/kubeadm Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -231,21 +231,21 @@ without compromising the minimum required capacity for running your workloads.
231
231
{{% /tab %}}
232
232
{{< /tabs >}}
233
233
234
- ### Drain the node
234
+ ### Call "kubeadm upgrade"
235
235
236
- - Prepare the node for maintenance by marking it unschedulable and evicting the workloads :
236
+ - For worker nodes this upgrades the local kubelet configuration :
237
237
238
238
```shell
239
- # replace <node-to-drain> with the name of your node you are draining
240
- kubectl drain <node-to-drain> --ignore-daemonsets
239
+ sudo kubeadm upgrade node
241
240
```
242
241
243
- ### Call "kubeadm upgrade"
242
+ ### Drain the node
244
243
245
- - For worker nodes this upgrades the local kubelet configuration :
244
+ - Prepare the node for maintenance by marking it unschedulable and evicting the workloads :
246
245
247
246
```shell
248
- sudo kubeadm upgrade node
247
+ # replace <node-to-drain> with the name of your node you are draining
248
+ kubectl drain <node-to-drain> --ignore-daemonsets
249
249
```
250
250
251
251
### Upgrade kubelet and kubectl
You can’t perform that action at this time.
0 commit comments