Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimmiehansson/9a9e5326c16855687448d9c0a319f024 to your computer and use it in GitHub Desktop.
Save jimmiehansson/9a9e5326c16855687448d9c0a319f024 to your computer and use it in GitHub Desktop.
Run Kubernetes as Proxmox container

Add to your contaier config /etc/pve/lxc/XXX.conf:

lxc.apparmor.profile: unconfined
lxc.cgroup.devices.allow: a
lxc.cap.drop: 
lxc.mount.auto: proc:rw sys:rw

Last verisons of kubernetes requires also shared filesystem, so add

mount --make-rshared /

into your /etc/rc.local inside container

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment