Skip to content

Commit 5b2cc02

Browse files
authored
Merge pull request #20503 from jfcgaspar/patch-1
Update install-kubeadm.md (SELinux note)
2 parents a2ff385 + c7971b5 commit 5b2cc02

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
@@ -210,12 +210,14 @@ yum install -y kubelet kubeadm kubectl --disableexcludes=kubernetes
210210
systemctl enable --now kubelet
211211
```
212212

213-
**Note:**
213+
**Notes:**
214214

215215
- Setting SELinux in permissive mode by running `setenforce 0` and `sed ...` effectively disables it.
216216
This is required to allow containers to access the host filesystem, which is needed by pod networks for example.
217217
You have to do this until SELinux support is improved in the kubelet.
218218

219+
- You can leave SELinux enabled if you know how to configure it but it may require settings that are not supported by kubeadm.
220+
219221
{{% /tab %}}
220222
{{% tab name="Container Linux" %}}
221223
Install CNI plugins (required for most pod network):

0 commit comments

Comments
 (0)