Node Preparation - anavarrocloud/kubernetes GitHub Wiki

Turn Off Swap by Commenting out the Swap Line:

vim /etc/fstab

Reload Systemd with new fstab:

systemctl daemon-reload

Turn Off Swap:

sudo swapoff -a

Reload Filesystem Table

sudo mount -a

Set SELINUX to Permissive:

setenforce 0

Place IP Addresses and Hostnames of all Nodes.

vim /etc/hosts

Set Kernel Modules

modprobe overlay; modprobe br_netfilter; modprobe nf_nat; modprobe xt_REDIRECT; modprobe xt_owner; modprobe iptable_nat; modprobe iptable_mangle; modprobe iptable_filter

Set Modules Persistently

cat > /etc/modules-load.d/k8s.conf << EOF
overlay
br_netfilter
EOF
cat > /etc/modules-load.d/istio.conf << EOF
br_netfilter
nf_nat
xt_REDIRECT
xt_owner
iptable_nat
iptable_mangle
iptable_filter
EOF
cat > /etc/sysctl.d/k8s.conf << EOF
net.ipv4.ip_forward = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
EOF
sysctl --system

Update and Reboot Nodes:

dnf update -y; reboot
⚠️ **GitHub.com Fallback** ⚠️