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

Check and apply configurations for controllers via Admin API #10913

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tinaselenge
Copy link
Contributor

Type of change

Select the type of your PR

  • Enhancement / new feature

Description

Currently, we restart controller-only nodes if there is any controller relevant configuration changes detected via Pod annotation. The reason for this was previously controller-only nodes did not provide API access. After Kafka 3.9.0 release and #10016, the operator can now talk to controller-only nodes directly via Admin API.

With this PR, KafkaRoller checks configurations and applies dynamic configurations for controllers via Admin API, which is how it's currently done for brokers. It removes the logic in KafkaReconciler for detecting controller relevant configurations via Pod annotation.

It also removes the Kafka version checks done before talking to controllers because this PR is targeted for an operator release that only supports Kafka version 3.9.0 or later.

Closes #10900

Checklist

Please go through this checklist and make sure all applicable tasks have been done

  • Write tests
  • Make sure all tests pass
  • Update documentation
  • Check RBAC rights for Kubernetes / OpenShift roles
  • Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
  • Reference relevant issue(s) and close them after merging
  • Update CHANGELOG.md
  • Supply screenshots for visual changes, such as Grafana dashboards

Signed-off-by: Gantigmaa Selenge <tina.selenge@gmail.com>
@tinaselenge tinaselenge changed the title Apply configurations to controllers via KafkaRoller Check and apply configurations for controllers via Admin API Dec 5, 2024
This change is targeted for a release that supports 3.9.0 or later

Signed-off-by: Gantigmaa Selenge <tina.selenge@gmail.com>
@tinaselenge tinaselenge force-pushed the configure-controllers branch from f41e6ed to 36dc1a8 Compare December 5, 2024 11:06
@scholzj scholzj added this to the 0.46.0 milestone Dec 6, 2024
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.

[Enhancement]: Dynamically configure controller-only nodes
2 participants