K3s: [Documentation] CentOS7 support and any necessary firewall config

Created on 19 Mar 2020  路  2Comments  路  Source: k3s-io/k3s

We plan to add official support for CentOS7. We need to document this on the install requirements page https://rancher.com/docs/k3s/latest/en/installation/installation-requirements/ and we also need to mention any additional config required for firewalld for CentOS7. Additionally, we should look into explaining how to work with ufw as well (may need its own issue).

Backlog kindocumentation

Most helpful comment

Recently I've tried to set up k3s on CentOS 7 with firewalld enabled. These rules pretty much resolve it for me

firewall-cmd --permanent --add-port=6443/tcp # flannel
firewall-cmd --permanent --zone=trusted --add-source=10.42.0.0/16 # pods
firewall-cmd --permanent --zone=trusted --add-source=10.43.0.0/16 # services
firewall-cmd --reload

All 2 comments

Recently I've tried to set up k3s on CentOS 7 with firewalld enabled. These rules pretty much resolve it for me

firewall-cmd --permanent --add-port=6443/tcp # flannel
firewall-cmd --permanent --zone=trusted --add-source=10.42.0.0/16 # pods
firewall-cmd --permanent --zone=trusted --add-source=10.43.0.0/16 # services
firewall-cmd --reload

2 nights in a row and I've just came across this. I am using CentOS 8 with firewalld. Thank you, @p-hash. These commands worked for me.

Was this page helpful?
0 / 5 - 0 ratings