Skip to content

Commit

Permalink
Fix stale advice on changing the Container Runtime on a Node (#42739)
Browse files Browse the repository at this point in the history
* Stale advice on changing the Container Runtime on a Node from Docker Engine to containerd

* Update content/en/docs/tasks/administer-cluster/migrating-from-dockershim/migrate-dockershim-dockerd.md

Co-authored-by: Tim Bannister <[email protected]>

* Update migrate-dockershim-dockerd.md

---------

Co-authored-by: Tim Bannister <[email protected]>
  • Loading branch information
pegasas and sftim authored Oct 15, 2023
1 parent f8161f8 commit cc3ba5b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ instructions for that tool.
1. Open `/var/lib/kubelet/kubeadm-flags.env` on each affected node.
1. Modify the `--container-runtime-endpoint` flag to
`unix:///var/run/cri-dockerd.sock`.
1. Modify the `--container-runtime` flag to `remote`
(unavailable in Kubernetes v1.27 and later).

The kubeadm tool stores the node's socket as an annotation on the `Node` object
in the control plane. To modify this socket for each affected node:
Expand Down Expand Up @@ -118,4 +120,4 @@ kubectl uncordon <NODE_NAME>
## {{% heading "whatsnext" %}}
* Read the [dockershim removal FAQ](/dockershim/).
* [Learn how to migrate from Docker Engine with dockershim to containerd](/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/).
* [Learn how to migrate from Docker Engine with dockershim to containerd](/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/).

0 comments on commit cc3ba5b

Please sign in to comment.