Skip to content

Commit

Permalink
Fixed a comment related to scaling up through StrimziPodSet
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Patierno <ppatierno@live.com>
  • Loading branch information
ppatierno committed May 23, 2024
1 parent 054f669 commit 1bb6e68
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -808,8 +808,10 @@ protected Future<Void> migrateFromStatefulSetToPodSet() {
}

/**
* Create or update the StrimziPodSet for the Kafka cluster. If set, it uses the old replica count since scaling-up
* happens only later in a separate step.
* Create or update the StrimziPodSet for the Kafka cluster.
* If the StrimziPodSet is updated with additional pods (Kafka cluster scaled up), it's the StrimziPodSet controller
* taking care of reconciling within this method and starting up the new nodes.
* The opposite (Kafka cluster scaled down) is handled by a dedicated scaleDown() method instead.
*
* @return Future which completes when the PodSet is created, updated or deleted
*/
Expand Down

0 comments on commit 1bb6e68

Please sign in to comment.