Uploaded image for project: 'OpenShift Container Platform (OCP) Strategy'
  1. OpenShift Container Platform (OCP) Strategy
  2. OCPSTRAT-1337

Support Priority based expander for cluster-autoscaler in ROSA HCP

XMLWordPrintable

    • Product / Portfolio Work
    • None
    • 0% To Do, 0% In Progress, 100% Done
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None
    • None
    • Backlog Refinement
    • None
    • None
    • None
    • None
    • None
    • None

      Market Problem

      • As a Managed OpenShift cluster administrator, I want to use the Priority based expander for cluster-autoscaler to select instance types based on priorities assigned by a user to scaling groups.
        The Configuration is based on the values stored in a ConfigMap
      • flags need to be set on the cluster-auto-scaler --expander=priority .
        The user can give a list of expanders in order to have the autoscaler make better choices. for example, we used this in our cost analysis testing --expander=priorty,least-waste
        this would first try to use the priority configmap, and if it finds multiple groups it then tries to find the group with the least waste.
      apiVersion: v1
      kind: ConfigMap
      metadata:
        name: cluster-autoscaler-priority-expander
        namespace: kube-system
      data:
        priorities: |-
          10: 
            - .*t2\.large.*
            - .*t3\.large.*
          50: 
            - .*m4\.4xlarge.*
      • OCM will need to expose the option to do that.
      • Hypershift just sets --expander=priorty flag on the autosacler, and OCM will be responsible of creating the cluster-autoscaler-priority-expander configMap , based on customer configuration.
      • This feature should be available in CAPA.

      Expected Outcomes

       

      Acceptance Criteria

      • Add code in HCP to support priority expander
      • Add code in OCM to support optional configmap field for priority expander - XCMSTRAT-769 
      • Add code upstream CAPA to support optional configmap field for priority expander - HOSTEDCP-1728 

       

       

      Documentation Considerations

      Documentation will need to be updated to point out the new maximum for ROSA HCP clusters, and any expectations to set with customers.

              rh-ee-smodeel Subin M
              rh-ee-smodeel Subin M
              None
              Antoni Segura Puimedon, Joel Speed, Michael McCune, Mulham Raee
              Joel Speed Joel Speed
              Michael McCune Michael McCune
              He Liu He Liu
              Shashank Karanth Shashank Karanth
              Eric Rich Eric Rich
              Joel Speed Joel Speed
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: