@@ -69,9 +69,9 @@ node-3 Ready v1.16.15 docker://19.3.1
69
69
```
70
70
<!--
71
71
If your runtime shows as Docker Engine, you still might not be affected by the
72
- removal of dockershim in Kubernetes v1.24. [Check the runtime
73
- endpoint](#which-endpoint) to see if you use dockershim. If you don't use
74
- dockershim, you aren't affected.
72
+ removal of dockershim in Kubernetes v1.24.
73
+ [Check the runtime endpoint](#which-endpoint) to see if you use dockershim.
74
+ If you don't use dockershim, you aren't affected.
75
75
76
76
For containerd, the output is similar to this:
77
77
-->
@@ -154,17 +154,18 @@ nodes.
154
154
155
155
* If your nodes use Kubernetes v1.23 and earlier and these flags aren't
156
156
present or if the `--container-runtime` flag is not `remote`,
157
- you use the dockershim socket with Docker Engine.
157
+ you use the dockershim socket with Docker Engine. The `--container-runtime` command line
158
+ argument is not available in Kubernetes v1.27 and later.
158
159
* If the `--container-runtime-endpoint` flag is present, check the socket
159
160
name to find out which runtime you use. For example,
160
161
`unix:///run/containerd/containerd.sock` is the containerd endpoint.
161
162
-->
162
163
2 . 在命令的输出中,查找 ` --container-runtime ` 和 ` --container-runtime-endpoint ` 标志。
163
164
164
- * 如果 Kubernetes 集群版本是 v1.23 或者更早的版本,并且这两个参数不存在 ,
165
- 或者 ` container-runtime ` 标志值不是 ` remote ` ,则你在通过 dockershim 套接字使用
166
- Docker Engine。
167
- 或者如果集群使用的 Docker engine 和 dockershim socket,则输出结果中 ` --container-runtime ` 不是 ` remote ` ,
165
+ * 如果你的节点使用 Kubernetes v1.23 或更早的版本,这两个参数不存在 ,
166
+ 或者 ` -- container-runtime` 标志值不是 ` remote ` ,则你在通过 dockershim 套接字使用
167
+ Docker Engine。
168
+ 在 Kubernetes v1.27 及以后的版本中, ` --container-runtime ` 命令行参数不再可用。
168
169
* 如果设置了 ` --container-runtime-endpoint ` 参数,查看套接字名称即可得知当前使用的运行时。
169
170
如若套接字 ` unix:///run/containerd/containerd.sock ` 是 containerd 的端点。
170
171
0 commit comments