You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/zh/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd.md
+42-30Lines changed: 42 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
+
---
1
2
title: 将节点上的容器运行时从 Docker Engine 改为 containerd
2
3
weight: 8
3
4
content_type: task
5
+
---
4
6
5
7
<!--
6
8
title: "Changing the Container Runtime on a Node from Docker Engine to containerd"
@@ -9,7 +11,10 @@ content_type: task
9
11
-->
10
12
11
13
<!--
12
-
This task outlines the steps needed to update your container runtime to containerd from Docker. It is applicable for cluster operators running Kubernetes 1.23 or earlier. Also this covers an example scenario for migrating from dockershim to containerd and alternative container runtimes can be picked from this [page](https://kubernetes.io/docs/setup/production-environment/container-runtimes/).
14
+
This task outlines the steps needed to update your container runtime to containerd from Docker. It
15
+
is applicable for cluster operators running Kubernetes 1.23 or earlier. Also this covers an
16
+
example scenario for migrating from dockershim to containerd and alternative container runtimes
17
+
can be picked from this [page](/docs/setup/production-environment/container-runtimes/).
13
18
-->
14
19
本任务给出将容器运行时从 Docker 改为 containerd 所需的步骤。
15
20
此任务适用于运行 1.23 或更早版本 Kubernetes 的集群操作人员。
@@ -22,27 +27,32 @@ This task outlines the steps needed to update your container runtime to containe
22
27
{{% thirdparty-content %}}
23
28
24
29
<!--
25
-
Install containerd. For more information see, [containerd's installation documentation](https://containerd.io/docs/getting-started/) and for specific prerequisite follow [this](/docs/setup/production-environment/container-runtimes/#containerd).
@@ -148,7 +160,9 @@ Start a Powershell session, set `$Version` to the desired version (ex: `$Version
148
160
<!--
149
161
## Configure the kubelet to use containerd as its container runtime
150
162
151
-
Edit the file `/var/lib/kubelet/kubeadm-flags.env` and add the containerd runtime to the flags. `--container-runtime=remote` and `--container-runtime-endpoint=unix:///run/containerd/containerd.sock"`
163
+
Edit the file `/var/lib/kubelet/kubeadm-flags.env` and add the containerd runtime to the flags.
0 commit comments