kafka-k8s

Apache Kafka - K8s

Channel Revision Published Runs on
latest/stable 5 09 Mar 2022
Ubuntu 20.04
latest/edge 27 25 Apr 2023
Ubuntu 22.04 Ubuntu 20.04
latest/edge 13 21 Oct 2022
Ubuntu 22.04 Ubuntu 20.04
3/stable 82 02 Jun 2025
Ubuntu 22.04
3/candidate 82 11 Apr 2025
Ubuntu 22.04
3/beta 82 03 Apr 2025
Ubuntu 22.04
3/edge 83 09 Apr 2025
Ubuntu 22.04
4/edge 102 18 Feb 2026
Ubuntu 24.04 Ubuntu 22.04
4/edge 84 20 Jun 2025
Ubuntu 24.04 Ubuntu 22.04
juju deploy kafka-k8s --channel 4/edge
Show information

Platform:

Charmed Apache Kafka K8s

This is an open-source software operator (charm) that simplifies the deployment and management of Apache Kafka on Kubernetes environments in a platform-agnostic way. Whether you’re on public cloud (AKS, EKS) or private infrastructure (Canonical Kubernetes, microK8s), this charm provides a consistent and reliable way to deploy and run an Apache Kafka cluster.

This is a K8s operator. To deploy on traditional machine environments (IAAS/VM), see Charmed Apache Kafka operator.

Apache Kafka is a free, open-source software project by the Apache Software Foundation.

The charm helps ops teams and administrators automate Apache Kafka operations from Day 0 to Day 2 with additional capabilities, such as: replication, TLS encryption, password rotation, easy-to-use application integration, and monitoring.

Getting started

Charmed Apache Kafka K8s can run both with roles=broker and/or roles=controller. With this configuration option, the charm can be deployed either as a single application running both Apache Kafka brokers and KRaft controllers, or as multiple applications with a separate controller cluster and broker cluster.

For testing purposes, deploy a cluster of three nodes combining both roles:

juju deploy kafka-k8s --trust -n 3 --channel 4/edge --config roles=broker,controller

To deploy a cluster of three Kafka brokers and a separate cluster of three KRaft controllers working together:

juju deploy kafka-k8s --trust -n 3 --channel 4/edge --config roles=broker
juju deploy kafka-k8s --trust -n 3 --channel 4/edge --config roles=controller
juju integrate kafka-k8s:peer-cluster-orchestrator kraft-k8s:peer-cluster

For more information, see our tutorial and how-to guides:

Full documentation

For additional guidance, see our full Charmed Apache Kafka K8s documentation at https://documentation.ubuntu.com/charmed-kafka-k8s/4/.

Project and community

Charmed Apache Kafka K8s is a distribution of Apache Kafka. It’s an open-source project that welcomes community contributions, suggestions, fixes and constructive feedback.

Apache®, Apache Kafka, Kafka®, and the Apache Kafka logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.

License

The Charmed Apache Kafka K8s Operator is free software, distributed under the Apache Software License, version 2.0. See LICENSE for more information.


Help improve this document in the forum (guidelines). Last updated 3 months ago.