Merge pull request #20503 from jfcgaspar/patch-1
Update install-kubeadm.md (SELinux note)
This commit is contained in:
commit
5b2cc0234a
|
@ -210,12 +210,14 @@ yum install -y kubelet kubeadm kubectl --disableexcludes=kubernetes
|
||||||
systemctl enable --now kubelet
|
systemctl enable --now kubelet
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note:**
|
**Notes:**
|
||||||
|
|
||||||
- Setting SELinux in permissive mode by running `setenforce 0` and `sed ...` effectively disables it.
|
- Setting SELinux in permissive mode by running `setenforce 0` and `sed ...` effectively disables it.
|
||||||
This is required to allow containers to access the host filesystem, which is needed by pod networks for example.
|
This is required to allow containers to access the host filesystem, which is needed by pod networks for example.
|
||||||
You have to do this until SELinux support is improved in the kubelet.
|
You have to do this until SELinux support is improved in the kubelet.
|
||||||
|
|
||||||
|
- You can leave SELinux enabled if you know how to configure it but it may require settings that are not supported by kubeadm.
|
||||||
|
|
||||||
{{% /tab %}}
|
{{% /tab %}}
|
||||||
{{% tab name="Container Linux" %}}
|
{{% tab name="Container Linux" %}}
|
||||||
Install CNI plugins (required for most pod network):
|
Install CNI plugins (required for most pod network):
|
||||||
|
|
Loading…
Reference in New Issue