Connect-RPC base URL of the crabka-rebalancer service, for example http://my-cluster-rebalancer.kafka.svc:9300. When this field is absent, the operator derives http://<cluster>-rebalancer.<namespace>.svc.cluster.local:9300 from the crabka.io/cluster label.
goals
array
no
Optimization goals to apply, by name, for example RackAware and ReplicaDistribution. When this field is absent or empty, the rebalancer uses its full default goal registry in priority order.
throttleBytesPerSec
integer
no
Replication throttle in bytes per second while the proposal executes. This is KIP-73. When this field is absent, the rebalancer uses its own --default-throttle-bytes-per-sec.
Status
Field
Type
Required
Default
Description
conditions
array
no
[]
Kubernetes-style condition list. The type of the active condition holds the rebalance state. It is one of PendingProposal, ProposalReady, Rebalancing, Ready, NotReady, and Stopped.
observedGeneration
integer
no
metadata.generation of the last spec that gave the current proposal. The operator advances it when it computes a new proposal.
optimizationResult
object
no
Summary of the proposal that the operator computed last.
optimizationResult.goals
array
no
The goals that the rebalancer applied after the selection.
optimizationResult.leaderMovements
integer
no
0
Number of leadership changes in the proposal.
optimizationResult.maxLeadersAfter
integer
no
0
Max partitions led by any one broker after the proposal applies.
optimizationResult.maxLeadersBefore
integer
no
0
Max partitions led by any one broker before the proposal applies.
optimizationResult.maxReplicasAfter
integer
no
0
Max replicas on any one broker after the proposal applies.
optimizationResult.maxReplicasBefore
integer
no
0
Max replicas on any one broker before the proposal applies.
optimizationResult.replicaMovements
integer
no
0
Number of partition replica reassignments in the proposal.
sessionId
string
no
Proposal id that the rebalancer assigned. The operator stores it, so that the approve, stop, and poll operations reach the same proposal in every reconcile.