Merge pull request #2930 from catherineluse/rancherd-selinux

Document iptables and container-selinux config for RancherD install on SELinux
This commit is contained in:
Catherine Luse
2020-12-21 12:46:24 -07:00
committed by GitHub
2 changed files with 12 additions and 0 deletions
@@ -38,6 +38,7 @@ RancherD must be launched on a Linux OS. At this time, only OSes that leverage s
The Linux node needs to fulfill the [installation requirements]({{<baseurl>}}/rancher/v2.x/en/installation/requirements) for hardware and networking.
To install RancherD on SELinux Enforcing CentOS 8 nodes or RHEL 8 nodes, some [additional steps]({{<baseurl>}}/rancher/v2.x/en/installation/requirements/#rancherd-on-selinux-enforcing-centos-8-nodes) are required.
### Root Access
Before running the installation commands, you will need to log in as root:
@@ -31,6 +31,8 @@ Rancher should work with any modern Linux distribution.
At this time, only Linux OSes that leverage systemd are supported.
To install RancherD on SELinux Enforcing CentOS 8 or RHEL 8 nodes, some [additional steps](#rancherd-on-selinux-enforcing-centos-8-or-rhel-8-nodes) are required.
### Requirements for Installing Rancher on an RKE Kubernetes Cluster
For the container runtime, RKE should work with any modern Docker version, while K3s should work with any modern version of Docker or containerd.
@@ -148,3 +150,12 @@ Each node used should have a static IP configured, regardless of whether you are
### Port Requirements
To operate properly, Rancher requires a number of ports to be open on Rancher nodes and on downstream Kubernetes cluster nodes. [Port Requirements]({{<baseurl>}}/rancher/v2.x/en/installation/requirements/ports) lists all the necessary ports for Rancher and Downstream Clusters for the different cluster types.
# RancherD on SELinux Enforcing CentOS 8 or RHEL 8 Nodes
Before installing Rancher on SELinux Enforcing CentOS 8 nodes or RHEL 8 nodes, you must install `container-selinux` and `iptables`:
```
sudo yum install iptables
sudo yum install container-selinux
```