Kubernetes inside Proxmox LXC. So you want to run Kubernetes on… | by Kevin Goos | Feb, 2021 | Medium medium.com
So you want to run Kubernetes on Proxmox, but you don’t want to use all the resources a VM is using. Then LXC containers is an option. But for setting up Kubernetes inside an LXC container you need to setup some special sauce. Because LXC containers share the host’s kernel, we have to prepare the host by loading a couple of modules. Load these modules: cat /proc/sys/net/bridge/bridge-nf-call-iptables Disable swap: sysctl vm.swappiness=0 Enable IP Forwarding: echo ‘net.ipv4.ip_forward=1’ >> /etc/sysctl.confsysctl — system Now it is time to setup the LXC container, I used ubuntu as base OS.
Report Story