Add a class for accessing cgroups parameters for a gear and reproduce the v1 behavior.