[lxc-users] Attach a lxc container to an existing cgroup ?

Sébastien Kurtzemann fai.ml at kurtzemann.fr
Wed Mar 19 20:43:42 UTC 2014


Hi all,

My idea is to create a "parent" cgroup which defined customer's
ressources like cpu, mem, ...
For example I've a cgroup called "customer1" on the subsystem "cpuset"
on which I pin the first cpu (cpuset.cpus = 1)

In this "parent" cgroup I wanted 3 containers which represent customer
environments (dev, preprod, prod)
Each environements has specific ressources (dev 20% cpu, preprod 20%, prod 60%)

Can we attach these new containers to the existing "parent" cgroup ?

Thanks
Sébastien Kurtzemann


More information about the lxc-users mailing list