Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CentOS 7やOracle Linux 7でkubeadmでクラスターを作るときのファイアウォールの設定
# firewall-cmd --permanent --add-port=6443/tcp
# firewall-cmd --permanent --add-port=2379-2380/tcp
# firewall-cmd --permanent --add-port=10248-10252/tcp
# firewall-cmd --permanent --add-port=10255/tcp
# firewall-cmd --permanent --add-port=8472/udp
# firewall-cmd --add-masquerade --permanent
# firewall-cmd --permanent --add-port=30000-32767/tcp
# systemctl restart firewalld
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.