Skip to content

Commit cc3ba5b

Browse files
pegasasTim Bannister
andauthored
Fix stale advice on changing the Container Runtime on a Node (#42739)
* 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]>
1 parent f8161f8 commit cc3ba5b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ instructions for that tool.
7676
1. Open `/var/lib/kubelet/kubeadm-flags.env` on each affected node.
7777
1. Modify the `--container-runtime-endpoint` flag to
7878
`unix:///var/run/cri-dockerd.sock`.
79+
1. Modify the `--container-runtime` flag to `remote`
80+
(unavailable in Kubernetes v1.27 and later).
7981

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

0 commit comments

Comments
 (0)