BLOG08: What is the Linux Module
BLOG17: Linux Modules and Runtime Tunables Required by Kubernetes
1. overlay Kernel Module
overlay Kernel ModuleWhy it is needed?
Check
lsmod | grep overlayEnable permanently
cat <<EOF | sudo tee /etc/modules-load.d/containerd.conf
overlay
EOF
sudo modprobe overlay2. br_netfilter Kernel Module
br_netfilter Kernel ModuleWhy it is needed?
Check
Enable permanently
3. Sysctl Parameters (net.bridge.*, net.ipv4.ip_forward)
net.bridge.*, net.ipv4.ip_forward)Config 1: Allow iptables to inspect bridged traffic
Why?
Config 2: Enable IP forwarding
Why?
Apply sysctl settings permanently
Summary: Why We Enable These
Component
Reason
Required For
What is the difference between modprobe and sysctl parameters in Linux (especially for Kubernetes)?
modprobe and sysctl parameters in Linux (especially for Kubernetes)?modprobe vs sysctl — Key Difference
1. What is modprobe?
Example modules:
Load module
Check module loaded
Persist it
2. What is sysctl?
Example sysctl values:
Apply immediately
Persist it
How Kubernetes Uses Each
modprobe (Kernel Modules):
Module
Why Kubernetes needs it
sysctl (Kernel Parameters):
Parameter
Why Kubernetes needs it
Simple Analogy
Final Summary
modprobe
sysctl
1. Kubeadm — Manual & Full Control (Most Requirements)
Required Kernel Modules
Module
Why
Required Sysctl Parameters
Additional (Optional for DNS, big clusters)
Who sets them?
2. RKE2 — Mostly Automatic (Best for Production)
Kernel Modules (Auto-loaded by RKE2)
Module
Auto?
Reason
Sysctl Parameters (Auto-set by RKE2)
Parameter
Auto?
Reason
Notes
3. K3s — Lightweight & Automatic (Most Settings Auto)
Kernel Modules
Module
Auto?
Sysctl
Sysctl
Auto?
Additional
4. MicroK8s — Everything Auto + Snap Sandboxed Config
Kernel Modules
Module
Auto?
Sysctl Parameters
Parameter
Auto?
Special Note
Final Summary Table
TL;DR — If you use kubeadm: you must configure everything manually.
Last updated