Welcome to the Linux Foundation Forum!

Lab 3.1. Install Kubernetes: error ... overlay, br_netfilter after a reboot

it is important to create a file ( /etc/modules-load.d/crio.conf ) to allow modules to be loaded even after a reboot. If you don't do this, you may get the following error (as the br_netfilter module is not loaded) when launching kubeadm init:

       [ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables does not exist

The following operation must then be done:

cat <<EOF | sudo tee /etc/modules-load.d/crio.conf
overlay
br_netfilter
EOF

I think it is important to update the guide

rif: https://kubernetes.io/docs/setup/production-environment/container-runtimes/#cri-o

Categories

Upcoming Training