The ::OpenShift::Runtime::Utils::Cgroups::LibCgroup class provides the low level Cgroups interface via libcgroups.
The LibCgroup class is used to call commands and edit configuration files to drive cgroups through the libcgroup interface.
This class is used as an implementation for the Cgroups class and is intended to be driven through that class.
The libcgroup interface assumes that the name of a cgroup is derived from the Unix username of the gear user. This symmetry is true of the selinux application container type but may not be true of other container types.
Libcgroup settings other than the default are ephemeral. Gear cgroups will revert back to the default on a reboot of the node.