Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-2060

Cruise Control default hard.goals still include unsupported goals

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.6.0.GA
    • 1.5.0.GA
    • cluster-operator
    • None
    • Documentation (Ref Guide, User Guide, etc.), Release Notes, User Experience
    • Workaround Exists
    • Hide

      To avoid this a user should add their own hard.goals configuration in the cruiseControl.spec.config field that does not include the CPUcapacity goal:

       
      {{
      cruiseControl:
      config:
        hard.goals: >
          com.linkedin.kafka.cruisecontrol.analyzer.goals.RackAwareGoal,
          com.linkedin.kafka.cruisecontrol.analyzer.goals.ReplicaCapacityGoal,
          com.linkedin.kafka.cruisecontrol.analyzer.goals.DiskCapacityGoal,
          com.linkedin.kafka.cruisecontrol.analyzer.goals.NetworkInboundCapacityGoal,
          com.linkedin.kafka.cruisecontrol.analyzer.goals.NetworkOutboundCapacityGoal
      }}

      Show
      To avoid this a user should add their own hard.goals configuration in the cruiseControl.spec.config field that does not include the CPUcapacity goal:   {{ cruiseControl: config:   hard.goals: >     com.linkedin.kafka.cruisecontrol.analyzer.goals.RackAwareGoal,     com.linkedin.kafka.cruisecontrol.analyzer.goals.ReplicaCapacityGoal,     com.linkedin.kafka.cruisecontrol.analyzer.goals.DiskCapacityGoal,     com.linkedin.kafka.cruisecontrol.analyzer.goals.NetworkInboundCapacityGoal,     com.linkedin.kafka.cruisecontrol.analyzer.goals.NetworkOutboundCapacityGoal }}
    • Hide

      Run the rebalance with custom goals example in the documentation.

      Show
      Run the rebalance with custom goals example in the documentation.

      The CPUCapacity goal is not supported as it does not work correctly on K8s. It is excluded in the docs but is still included in the actual default goals list and hard.goals list. This means that users following the docs may hit error if they follow the docs and have a custom goals list that does not include the unsupported CPUCapacity goal.

              rh-ee-tcooper Thomas Cooper
              rh-ee-tcooper Thomas Cooper
              Lukas Kral Lukas Kral
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: