OpenShift nodes migrate automatically to cgroups v2 from cgroups v1
Issue
- Following an RHOCP upgrade from 4.18.46 to 4.18.54, the cluster nodes unexpectedly migrated from cgroups v1 to cgroups v2. This occurred even though the cluster configuration explicitly had
cgroupMode: v1set under thenodes.config.openshift.io/clusterresource. This resulted in applications depending on cgroups v1 failing.
Environment
-
Red Hat OpenShift Container Platform (RHOCP)
- 4.13
- 4.14
- 4.15
- 4.16
- 4.17
- 4.18
-
cgroups
- v1
- v2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.