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

Refactor MCC to support both WorkerLatancyProfiles and cgroups v2

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Undefined
    • None
    • None
    • None
    • OCPNODE Sprint 223 (Blue)

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: