2.3.3 Setting SELinux to Permissive

The Platform CLI checks whether SELinux is set to enforcing mode on the Kubernetes master and worker nodes. If enforcing mode is enabled, the Platform CLI exits with an error requesting that you set SELinux to permissive mode. Setting SELinux to permissive mode allows containers to access the host file system, which is required by pod networks.

To disable SELinux enforcing mode, enter:

$ sudo sed -i 's/^SELINUX=enforcing/SELINUX=permissive/' /etc/selinux/config
$ sudo /usr/sbin/setenforce 0