Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-2652

UI: support autoscaler CRUD for ROSA HCP clustsers

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None
    • UI: ROSA HCP Cluster Autoscaler Support
    • False
    • Hide

      None

      Show
      None
    • False
    • To Do
    • XCMSTRAT-937 - ROSA HCP: Default Cluster Autoscaler Max Nodes
    • 100% To Do, 0% In Progress, 0% Done

      1. User Story 1: Ability for cluster administrators to describe ROSA HCP cluster and view cluster autoscaler properties.
      2. Including both existing clusters and new clusters created after this feature is GA'ed. 
      3. ROSA DESCRIBE AUTOSCALER command supports HCP clusters
      4. Default values for configurations are displayed
      5. A message is displayed when no Autoscaler is defined
      1. User Story 2: Ability for cluster administrators to define a CAS on an existing cluster when the cluster-autoscaler is disabled. (i.e., all the machine pools use manual scaling).
      2. Supported fields include 
      3. MaxNodesTotal
      4. maxPodGracePeriod: With default of 600 seconds 
      5. maxNodeProvisionTime: With default of 15 minutes
      6. podPriorityThreshold: default is -10
      1. Range for maxNodesTotal must be easily configurable/modifiable by the service as we increase scaling limits.
      1. User Story 3: Ability for a cluster administrator to delete a CAS on an existing cluster when the cluster-autoscaler is enabled.
      2. Allowed only when all the existing machine pools use manual scaling.
      1. User Story 4: Ability to own a cluster without cluster auto-scaler or define an auto-scaler that uses the defaults and configure auto-scaler with only valid values:
      2. maxNodesTotal: 
      3. Default: must be same as that on existing clusters’ CAS
      4. Should be greater than 2 (current minimum no. of nodes required). 
      5. Should not exceed the tested maximum (currently 500).
      6. Help message: MaxNodesTotal is the maximum allowable number of nodes across all MachinePools.
      1. maxPodGracePeriod:
      2. Default: 600 seconds or 10 minutes
      3. Minimum value supported 600 seconds 
      4. Maximum value supported 0 (indefinite)
      1. maxNodeProvisionTime: 
      2. Default: 15 minutes
      3. Permissible values: [15m - 60m]  
      1. podPriorityThreshold: 
      2. Default : -10
      3. Permissible values: [-2147483648 to 1000000000]
      1. User Story 5: Ability to create a new machine pool or edit an existing machine pool with Cluster Autoscaler configured. 
      2. Issue an informational message that ‘Scaling out to maximum replicas is subjected to cluster autoscaler configuration’.
      3. When the sum of replicas (if autoscaling is disabled) and max-replicas (if autoscaling is enabled) exceeds the MaxNodesTotal, issue a warning message that ‘Actual maximum replicas can be lower since the maximum replicas defined exceeds Cluster Autoscaler limit (MaxNodes).’
      4. When the sum of replicas (if autoscaling is disabled) and min-replicas (if autoscaling is enabled) exceeds the MaxNodesTotal, issue a warning message that ‘Actual total nodes in the cluster will be more than the maximum nodes configured in the cluster autoscaler’. 
      5. When the sum of replicas (if autoscaling is disabled) and min-replicas (if autoscaling is enabled) exceeds the tested maximum (i.e. 90 or 500), issue an error message that ‘The total number of nodes in the cluster exceeds the supported maximum’. 
      6. Issue an error message that ‘Minimum replicas configured exceeds the maximum nodes defined in Cluster Autoscaler’ when min-replicas makes total cluster nodes > maxNodes. 

              Unassigned Unassigned
              llan@redhat.com Ling Lan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: