Skip to content

Instantly share code, notes, and snippets.

@wintersolutions
Last active April 21, 2022 06:16
Show Gist options
  • Save wintersolutions/855c6294f78c7bd9009f1ed5285d99fe to your computer and use it in GitHub Desktop.
Save wintersolutions/855c6294f78c7bd9009f1ed5285d99fe to your computer and use it in GitHub Desktop.
lxc container for k8s
config:
limits.cpu: "2"
limits.memory: 4GB
limits.memory.swap: "false"
linux.kernel_modules: ip_tables,ip6_tables,nf_nat,overlay,br_netfilter
raw.lxc: "lxc.apparmor.profile=unconfined\nlxc.cap.drop= \nlxc.cgroup.devices.allow=a\nlxc.mount.auto=proc:rw
sys:rw"
security.privileged: "true"
security.nesting: "true"
description: LXD profile for Kubernetes
devices:
eth0:
name: eth0
nictype: bridged
parent: lxdbr0
type: nic
root:
path: /
pool: default
type: disk
name: k8s
used_by: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment