Skip to content

Commit ab4604a

Browse files
committed
remove
1 parent 903aca3 commit ab4604a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

content/en/docs/concepts/architecture/cri.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ each Node in your cluster, so that the
2626
The kubelet acts as a client when connecting to the container runtime via gRPC.
2727
The runtime and image service endpoints have to be available in the container
2828
runtime, which can be configured separately within the kubelet by using the
29-
`--image-service-endpoint` and `--container-runtime-endpoint` [command line
30-
flags](/docs/reference/command-line-tools-reference/kubelet)
29+
`--image-service-endpoint` [command line flags](/docs/reference/command-line-tools-reference/kubelet)
3130

3231
For Kubernetes v{{< skew currentVersion >}}, the kubelet prefers to use CRI `v1`.
3332
If a container runtime does not support `v1` of the CRI, then the kubelet tries to

content/en/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ on Kubernetes dual-stack support see [Dual-stack support with kubeadm](/docs/set
6868
ExecStart=
6969
# Replace "systemd" with the cgroup driver of your container runtime. The default value in the kubelet is "cgroupfs".
7070
# Replace the value of "--container-runtime-endpoint" for a different container runtime if needed.
71-
ExecStart=/usr/bin/kubelet --address=127.0.0.1 --pod-manifest-path=/etc/kubernetes/manifests --cgroup-driver=systemd --container-runtime=remote --container-runtime-endpoint=unix:///var/run/containerd/containerd.sock
71+
ExecStart=/usr/bin/kubelet --address=127.0.0.1 --pod-manifest-path=/etc/kubernetes/manifests --cgroup-driver=systemd
72+
--container-runtime-endpoint=unix:///var/run/containerd/containerd.sock
7273
Restart=always
7374
EOF
7475

content/en/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ then run the following commands:
9999
## Configure the kubelet to use containerd as its container runtime
100100

101101
Edit the file `/var/lib/kubelet/kubeadm-flags.env` and add the containerd runtime to the flags.
102-
`--container-runtime=remote` and
103102
`--container-runtime-endpoint=unix:///run/containerd/containerd.sock`.
104103

105104
Users using kubeadm should be aware that the `kubeadm` tool stores the CRI socket for each host as

content/en/docs/tasks/administer-cluster/migrating-from-dockershim/find-out-runtime-you-use.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ nodes.
8888
8989
* If your nodes use Kubernetes v1.23 and earlier and these flags aren't
9090
present or if the `--container-runtime` flag is not `remote`,
91-
you use the dockershim socket with Docker Engine.
91+
you use the dockershim socket with Docker Engine. `--container-runtime`
92+
is removed since v1.27.
9293
* If the `--container-runtime-endpoint` flag is present, check the socket
9394
name to find out which runtime you use. For example,
9495
`unix:///run/containerd/containerd.sock` is the containerd endpoint.

0 commit comments

Comments
 (0)