Skip to content

Commit 243e799

Browse files
authored
Merge pull request #22919 from inductor/update_kubeadm_installation
Update kubeadm installation
2 parents ad41df1 + bae154e commit 243e799

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,14 +274,16 @@ kubeadm to tell it what to do.
274274
When using Docker, kubeadm will automatically detect the cgroup driver for the kubelet
275275
and set it in the `/var/lib/kubelet/config.yaml` file during runtime.
276276

277-
If you are using a different CRI, you have to modify the file with your `cgroupDriver` value, like so:
277+
If you are using a different CRI, you must pass your `cgroupDriver` value to `kubeadm init`, like so:
278278

279279
```yaml
280280
apiVersion: kubelet.config.k8s.io/v1beta1
281281
kind: KubeletConfiguration
282282
cgroupDriver: <value>
283283
```
284284
285+
For further details, please read [Using kubeadm init with a configuration file](/docs/reference/setup-tools/kubeadm/kubeadm-init/#config-file).
286+
285287
Please mind, that you **only** have to do that if the cgroup driver of your CRI
286288
is not `cgroupfs`, because that is the default value in the kubelet already.
287289

0 commit comments

Comments
 (0)