cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Etc


Reference














.

middleware:virtualization:lxd:resource-control.html



Table of Contents

LXD

LXD Resource control

List

lxc config set CONTAINER limits.cpus 2
lxc config set CONTAINER limits.memory 512M
lxc config device set CONTAINER root size 20GB Storage Backend must be ZFS or btrfs.
lxc config device set my-container limits.read 30MB
lxc config device set my-container limits.write 10MB
lxc config device set my-container limits.read 20Iops
lxc config device set my-container limits.write 10Iops
lxc profile device set default eth0 limits.ingress 100Mbit
lxc profile device set default eth0 limits.egress 100Mbit


Reference




middleware/virtualization/lxd/resource-control.html.txt · Last modified: 2017/06/18 by admin

Page Tools