K3s in LXC on Proxmox: Pre-Flight Checklist (nesting, cgroup, networking)

k3s in lxc - custom-k3lxc-featured.png

Searches for k3s in lxc and k3s proxmox need a checklist before the long K3s on Proxmox LXC guide. VM alternative: VM vs LXC.

Choose privileged LXC

K3s needs nesting and often keyctl; unprivileged mode fights you.

bashpct example
# pct create ... --features nesting=1,keyctl=1
nesting
features

Networking

Give a stable IP or DHCP reservation; open 6443/tcp for API if remote kubectl.

baship
ip -br a
ss -lntp | grep 6443 || true
IP
net

Install k3s

Single-node server first; save node-token for agents.

bashserver
curl -sfL https://get.k3s.io | sh -
sudo k3s kubectl get nodes
curl
install

Verify and backup CT

Snapshot container before upgrades.

TipQuick homelab path: K3s proxmox quick start.
snapshot
verify

Quick Reference

Related tutorials

Diagrams are original illustrations by Gnome IT Solutions. Tutorial text © Gnome IT Solutions.