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

Cruise Control default hard.goals still include unsupported goals

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • 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.

    Description

      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.

      Attachments

        Activity

          People

            tom.n.cooper Thomas Cooper (Inactive)
            tom.n.cooper Thomas Cooper (Inactive)
            Lukas Kral Lukas Kral
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: