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

KAFKA-6416: Helm chart for deploying Kafka to Kubernetes #19249

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

askew
Copy link

@askew askew commented Mar 19, 2025

This PR adds a Helm chart for deploying Kafka to Kubernetes.

It is designed to run brokers and controllers in separate pods.

All the configuration is templated from Helm values and stored in ConfigMaps. These are mounted in the running containers.

The new k8s_launch script is used to copy the config files into the right place, format the storage and start Kafka. Specific storage classes can be set in the Helm values and will depend on the Kubernetes distribution/Cloud provider being used. The brokers and controllers are run as stateful sets so each one get its own persistent storage. I'm not sure I have the initialization quite right as the KRaft version shows as 0, as per the docs at Provisioning Nodes. I may need some assistance with this.

@github-actions github-actions bot added triage PRs from the community docker Official Docker image labels Mar 19, 2025
@askew askew marked this pull request as draft March 19, 2025 19:57
@askew askew marked this pull request as ready for review March 20, 2025 18:30
@mimaison
Copy link
Member

Thanks for the PR.

Adding Helm charts to the project is a significant change and would require a KIP. You can find the KIP process in the wiki: https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Improvement+Proposals

@mimaison mimaison added kip Requires or implements a KIP and removed triage PRs from the community labels Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker Official Docker image kip Requires or implements a KIP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants