run k8s in lxc
arch: amd64
cores: 12
features: fuse=1,mknod=1,mount=nfs;cifs,nesting=1
hostname: k8s
memory: 10240
mp1: /mnt/merger,mp=/mnt/merger
mp2: /mnt/boom,mp=/mnt/boom
mp3: /mnt/volumes,mp=/mnt/volumes
ostype: debian
rootfs: local-lvm:vm-101-disk-0,size=32G
swap: 512
lxc.net.0.type: phys
lxc.net.0.link: enp2s0f1v1
lxc.net.0.flags: up
lxc.net.0.ipv4.address: 192.168.1.30/24
lxc.net.0.ipv4.gateway: 192.168.1.1
lxc.net.0.name: eth0
lxc.mount.auto: "proc:rw sys:rw"
lxc.mount.entry: /dev/nvidia-modeset dev/nvidia-modeset none bind,optional,create=file
lxc.mount.entry: /dev/nvidia-uvm dev/nvidia-uvm none bind,optional,create=file
lxc.mount.entry: /dev/nvidia-uvm-tools dev/nvidia-caps/nvidia-cap1 none bind,optional,create=file
lxc.mount.entry: /dev/nvidia-uvm-tools dev/nvidia-caps/nvidia-cap2 none bind,optional,create=file
lxc.mount.entry: /dev/nvidia-uvm-tools dev/nvidia-uvm-tools none bind,optional,create=file
lxc.mount.entry: /dev/nvidia0 dev/nvidia0 none bind,optional,create=file
lxc.mount.entry: /dev/nvidiactl dev/nvidiactl none bind,optional,create=file
lxc.mount.entry: dev/console dev/kmsg none bind,optional,create=file
lxc.apparmor.profile: unconfined
lxc.cap.drop:
lxc.cgroup2.devices.allow: a
lxc.cgroup2.devices.allow: c 195:* rwm
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 508:* rwm
lxc.cgroup2.devices.allow: c 511:0 rwm```
本文是原创文章,采用CC BY-NC-SA 4.0协议,完整转载请注明来自小竹's blog
评论 ()