Tune the host OS for container workloads: kernel params, I/O, and cgroups.
Node-level tuning improves container density and latency. Focus on kernel, I/O, and cgroups.
# /etc/sysctl.d/99-kubernetes.conf
net.ipv4.ip_forward = 1
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
vm.max_map_count = 262144
fs.inotify.max_user_watches = 524288
Adjust per workload; document any custom values.
Tuning pays off most when combined with good app design and resource requests.
Get the latest tutorials, guides, and insights on AI, DevOps, Cloud, and Infrastructure delivered directly to your inbox.
Incident Response for Platform Teams. Practical guidance for reliable, scalable platform operations.
Concrete systemd unit patterns that reduced flakiness: restart policies, resource limits, and structured logs.
Explore more articles in this category
We migrated 47 cron jobs to systemd timers across our fleet. The mechanical conversion was easy. The interesting parts were the bugs we found that cron had been hiding.
Step-by-step debugging of a production Linux server hitting 100% CPU. From top to perf to the actual fix.
A practical systemd drop-in guide built from a real operations problem: vendor unit files kept changing, but the team still needed consistent restart, environment, and logging behavior.