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/en/docs/setup/production-environment/container-runtimes.md
+26-17Lines changed: 26 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,15 +44,16 @@ If you are running a version of Kubernetes other than v{{< skew currentVersion >
44
44
check the documentation for that version.
45
45
{{< /note >}}
46
46
47
-
48
47
<!-- body -->
49
48
## Install and configure prerequisites
50
49
51
-
The following steps apply common settings for Kubernetes nodes on Linux.
50
+
The following steps apply common settings for Kubernetes nodes on Linux.
52
51
53
52
You can skip a particular setting if you're certain you don't need it.
54
53
55
-
For more information, see [Network Plugin Requirements](/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/#network-plugin-requirements) or the documentation for your specific container runtime.
or the documentation for your specific container runtime.
56
57
57
58
### Forwarding IPv4 and letting iptables see bridged traffic
58
59
@@ -78,29 +79,31 @@ EOF
78
79
sudo sysctl --system
79
80
```
80
81
81
-
Verify that the `br_netfilter`, `overlay` modules are loaded by running below instructions:
82
+
Verify that the `br_netfilter`, `overlay` modules are loaded by running the following commands:
82
83
83
84
```bash
84
85
lsmod | grep br_netfilter
85
86
lsmod | grep overlay
86
87
```
87
88
88
-
Verify that the `net.bridge.bridge-nf-call-iptables`, `net.bridge.bridge-nf-call-ip6tables`, `net.ipv4.ip_forward` system variables are set to 1 in your `sysctl` config by running below instruction:
89
+
Verify that the `net.bridge.bridge-nf-call-iptables`, `net.bridge.bridge-nf-call-ip6tables`, and
90
+
`net.ipv4.ip_forward` system variables are set to `1` in your `sysctl` config by running the following command:
Starting with v1.22 and later, when creating a cluster with kubeadm, if the user does not set
157
+
the `cgroupDriver` field under `KubeletConfiguration`, kubeadm defaults it to `systemd`.
158
+
{{< /note >}}
159
+
153
160
If you configure `systemd` as the cgroup driver for the kubelet, you must also
154
161
configure `systemd` as the cgroup driver for the container runtime. Refer to
155
162
the documentation for your container runtime for instructions. For example:
@@ -190,7 +197,9 @@ using the (deprecated) v1alpha2 API instead.
190
197
191
198
This section outlines the necessary steps to use containerd as CRI runtime.
192
199
193
-
To install containerd on your system, follow the instructions on [getting started with containerd](https://github.com/containerd/containerd/blob/main/docs/getting-started.md).Return to this step once you've created a valid `config.toml` configuration file.
200
+
To install containerd on your system, follow the instructions on
201
+
[getting started with containerd](https://github.com/containerd/containerd/blob/main/docs/getting-started.md).
202
+
Return to this step once you've created a valid `config.toml` configuration file.
0 commit comments