Changing from cgroup2 to cgroup1 of Openshift 4.14

Posted on

There is an application requirement that I need to change the worker node to cgroup1. I adopt the Openshift version 4.14 which the default is cgroup2. From the documentation, I need to modify as below in the node.config. (Quote:https://docs.openshift.com/container-platform/4.14/nodes/clusters/nodes-cluster-cgroups-2.html)
spec:
cgroupMode: "v1"

I note that this will change all the control panel node and worker node to cgroup 1.

My question: Is it a must to keep the Control Panel (Master node) and worker node all in the same cgroup ( either cgroup v1 or cgroup v2?)

Can I have the Control Panel as cgroup2 while the Worker node is cgroup1? (Just curious as it is supported)

Responses