Uploaded image for project: 'OpenShift Node'
  1. OpenShift Node
  2. OCPNODE-1146

Refactor MCC to support both WorkerLatancyProfiles and cgroups v2

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • BU Product Work
    • 5
    • False
    • None
    • False
    • OCPSTRAT-141 - GA Cgroups v2 as non-default in OCP 4.13 w/ RHCOS 9
    • OCPNODE Sprint 223 (Blue)

      The current implementation needs to be tweaked to support cgroups v2 and WorkerLatencyProfiles. 

      Apart from that, we need to add following MCs,

       

               cat > ${manifests}/cgroupsv2-master-machine-config.yml << EOF
              apiVersion: machineconfiguration.openshift.io/v1
              kind: MachineConfig
              metadata:
                labels:
                  machineconfiguration.openshift.io/role: master
                name: 99-openshift-cgroupsv2-master-kargs
              spec:
                kernelArguments:
                  - systemd.unified_cgroup_hierarchy=1
                  - cgroup_no_v1="all"
                  - psi=1
              EOF
                cat > ${manifests}/cgroupsv2-worker-machine-config.yml << EOF
              apiVersion: machineconfiguration.openshift.io/v1
              kind: MachineConfig
              metadata:
                labels:
                  machineconfiguration.openshift.io/role: worker
                name: 99-openshift-cgroupsv2-worker-kargs
              spec:
                kernelArguments:
                  - systemd.unified_cgroup_hierarchy=1
                  - cgroup_no_v1="all"
                  - psi=1
              EOF

              svanka@redhat.com Sai Ramesh Vanka
              harpatil@redhat.com Harshal Patil
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: