add /etc/sysconfig/kubelet info for CentOS/RHEL/Fedora Distributions (#16347)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
9680192797
commit
764a485885
@@ -275,7 +275,7 @@ When using Docker, kubeadm will automatically detect the cgroup driver for the k
|
|||||||
and set it in the `/var/lib/kubelet/kubeadm-flags.env` file during runtime.
|
and set it in the `/var/lib/kubelet/kubeadm-flags.env` file during runtime.
|
||||||
|
|
||||||
If you are using a different CRI, you have to modify the file
|
If you are using a different CRI, you have to modify the file
|
||||||
`/etc/default/kubelet` with your `cgroup-driver` value, like so:
|
`/etc/default/kubelet` (`/etc/sysconfig/kubelet` for CentOS, RHEL, Fedora) with your `cgroup-driver` value, like so:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
KUBELET_EXTRA_ARGS=--cgroup-driver=<value>
|
KUBELET_EXTRA_ARGS=--cgroup-driver=<value>
|
||||||
|
|||||||
Reference in New Issue
Block a user