Apache Kafka - K8s
- Canonical
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 5 | 09 Mar 2022 | |
latest/edge | 27 | 25 Apr 2023 | |
latest/edge | 13 | 21 Oct 2022 | |
3/stable | 56 | 27 Feb 2024 | |
3/candidate | 56 | 27 Feb 2024 | |
3/beta | 56 | 27 Feb 2024 | |
3/edge | 73 | 11 Nov 2024 |
juju deploy kafka-k8s --channel 3/stable
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
Revision 56/51
Wednesday, February 28, 2024
Dear community,
We are extremely thrilled and excited to share that Charmed Kafka K8s and Charmed ZooKeeper K8s have now been released as GA. You can find them in charmhub.io under the 3/stable
track.
More information are available in the Canonical website, alongside its documentation. Also find the full announcement of the release here and here. And more importantly, make sure you don’t miss out the webinar that Raúl Zamora and Rob Gibbon will be holding later today.
Please reach out should you have any question, comment, feedback or information. You can find us here in Matrix or also on Discourse.
Features
- Deploying on Kubernetes (tested with MicroK8s)
- ZooKeeper using SASL authentication
- Scaling up/down in one simple Juju command
- Multi-broker support and Highly-Available setups
- Inter-broker authenticated communication
- TLS/SSL support using
tls-certificates
Provider charms (see more here) - SASL/SCRAM and mTLS authentication for clients
- DB access outside of Juju using
data-integrator
- Persistent storage support with Juju Storage
- Super-user creation
- Documentation featuring Diàtaxis framework
Canonical Data issues are now public on both Jira and GitHub platforms.
GitHub Releases provide a detailed list of bugfixes, PRs, and commits for each revision.
Inside the charms
- Charmed ZooKeeper K8s charm ships the ZooKeeper 3.8.2-ubuntu0, built and supported by Canonical
- Charmed Kafka K8s charm ships the Kafka 3.6.0-ubuntu0, built and supported by Canonical
- Charmed ZooKeeper K8s charm is provided with the charmed-zookeeper rock on the
3-22.04_stable
tag (based on top of a Ubuntu LTS “22.04” base) - Charmed Kafka K8s charm is provided with the charmed-kafka rock on the
3-22.04_stable
tag (based on top of a Ubuntu LTS “22.04” base)
More information about the artifacts are provided by the following table:
Artifact | Track/Series/Tag | Version/Revision/Hash | Code |
---|---|---|---|
ZooKeeper distribution | 3.x | 3.8.2-ubuntu0 | 5bb82d |
Kafka distribution | 3.x | 3.6.0-ubuntu0 | 424389 |
Charmed ZooKeeper rock | 3-22.04_stable | sha256:a7a004 | b56171 |
Zookeeper K8s operator | 3/stable | 51 | 48fa4f |
Charmed Kafka rock | 3-22.04_stable | sha256:4b3495 | 66518b |
Kafka K8s operator | 3/stable | 56 | fe1f1c |
Technical notes
- A Charmed Kafka K8s cluster is secure by default, meaning that when deployed if there are no client charms related to it, external listeners will not be enabled.
- We recommend to deploy one
data-integrator
withextra-user-roles=admin
alongside the Kafka deployment, in order to enable listeners and also create one user with elevated permission to perform administrative tasks. For more information, see the How-to manage application guide. - The current version of Kafka does not yet support direct integration with Ingress, NodePort or LoadBalancer services. We recommend to use it for usage within the K8s network.
- The current release has been tested with Juju 2.9.45+ and Juju 3.1+
- Inplace upgrade for charms tracking
latest
is not supported, both for ZooKeeper and Kafka charms. Perform data migration to upgrade to a Charmed Kafka cluster managed via a3/stable
charm. For more information on how to perform the migration, see How-to migrate a cluster guide.