Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean-up the KafkaClusterCreator class after ZooKeeper removal #10997

Conversation

scholzj
Copy link
Member

@scholzj scholzj commented Dec 28, 2024

Type of change

  • Refactoring

Description

While ZooKeeper support was cleaned from most of our code, the KafkaClusterCreator still had the parts where it expected replicas to be configured in the Kafka CR directly instead of in the node pools. This cannot happen anymore after ZooKeeper removal, so this PR cleans up the KafkaClusterCreator class to cover reverting scale-down only in the KafkaNodePool resources. The related tests were already deleted with ZooKeeper, so there are no tests to delete.

Checklist

  • Make sure all tests pass
  • Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally

Signed-off-by: Jakub Scholz <www@scholzj.com>
@scholzj scholzj added this to the 0.46.0 milestone Dec 28, 2024
@scholzj scholzj requested a review from ppatierno December 28, 2024 15:17
@scholzj
Copy link
Member Author

scholzj commented Dec 28, 2024

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj scholzj merged commit abed0e5 into strimzi:main Dec 29, 2024
21 checks passed
@scholzj scholzj deleted the clean-KafkaClusterCreator-after-zookeeper-removal branch December 29, 2024 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants