Hello, since LXD uses LXC under the hood, the resource limits applied to a LXD container via the limits.x keys must be mapped somehow to the cgroups configuration that LXC requires in order to limit resource. Is there a way to see the translation of a the high-level LXD limit settings to the cgroups?
I’m asking because, for example, to give a container, lets say any 2 CPUs of the host and a portion of those CPUs, I would, in LXD, issue:
lxc config set container limits.cpu 2 lxc config set container limits.cpu.allowance 50%
On LXC how could I achieve the same, if possible, using the raw cgroups configuration, or something else?