Uploaded image for project: 'OpenShift Workloads'
  1. OpenShift Workloads
  2. WRKLDS-1367

Bump DeschedulerPolicy to v1alpha2/profiles

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Upstream
    • 5
    • False
    • None
    • False
    • OCPSTRAT-46 - Strategic Upstream Work - OCP Control Plane and Node Lifecycle Group
    • Workloads Sprint 257, Workloads Sprint 258

      As part of removing v1alpha1 from the descheduler code base (https://github.com/kubernetes-sigs/descheduler/issues/1375) it's time to upgrade the current descheduling policy from v1alpha1 to v1alpha2. Example of v1alpha2 policy is at https://github.com/kubernetes-sigs/descheduler?tab=readme-ov-file#example-policy.

      The descheduler operator is an operator responsible for rendering descheduler operand and associated manifests. E.g. a descheduler deployment, cluster role, configmap with the descheduler policy. The code responsible for rendering the manifests is located under target config reconciler. The reconciler reads the kubedescheduler configuration and renders the corresponding manifests.

      The operator is built on top of the library-go controllers. To complete this task knowledge of the library-go code is not required. A good starting point for any refactoring and testing are the unit tests under target_config_reconciler_test.go.

      DoD

            jchaloup@redhat.com Jan Chaloupka
            jchaloup@redhat.com Jan Chaloupka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: