Forum archive › Kubernetes & Helm Charts
Archiveerror execution phase preflight: [preflight] Some fatal errors occurred
Problem
Kubeadm init reports the following error
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables contents are not set to 1
Solution
Install Kernel modules
sudo modprobe overlay
sudo modprobe br_netfilter
configure system parameters properly
cat <<EOF | sudo tee /etc/sysctl.d/99-kubernetes-cri.conf
net.bridge.bridge-nf-call-iptables = 1
net.ipv4.ip_forward = 1
net.bridge.bridge-nf-call-ip6tables = 1
EOF
Apply settings
sudo sysctl --system
We do this for a living.
Kubernetes, DevOps and platform engineering, delivered in days — not another weekend lost to a stack trace.
Start a project →