OpenShift nodes migrate automatically to cgroups v2 from cgroups v1

Solution Verified - Updated -

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: v1 set under the nodes.config.openshift.io/cluster resource. 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content