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 | 74 | Yesterday |
juju deploy kafka-k8s --channel 3/edge
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:
File system path
In the following table, we summarize some of the most relevant file paths used in the Kafka and ZooKeeper charms.
Kafka
Path | Description | Permission |
---|---|---|
/opt/kafka |
Binary files for the Charmed Kafka distribution. Note that this is a read-only Squashfs file system. | (owned by kafka ) |
/opt/kafka/bin/*.sh |
General bash scripts to provide helpers and utilities for managing and interacting with Kafka. | (owned by kafka ) |
/etc/kafka/ |
Configuration files used by Kafka daemon process. These files are generally written and managed by the charm. | (owned by kafka , managed by root ) |
/var/log/kafka/ |
Application Logging files generated by the Kafka daemon process. These files are written by the workload, but they may be read by other components to provide monitoring (e.g. Grafana and/or charm). | (owned and managed by kafka ) |
/var/lib/kafka/ |
Raw data is stored persistently by Kafka during its operations. The files are written and managed by Kafka only. | (owned and managed by kafka ) |
ZooKeeper
Path | Description | Permission |
---|---|---|
/opt/zookeeper |
Binary files for the Charmed ZooKeeper distribution. Note that this is a read-only Squashfs file system. | (owned by zookeeper ) |
/opt/zookeeper/bin/*.sh |
General bash scripts to provide helpers and utilities for managing and interacting with ZooKeeper. | (owned by zookeeper ) |
/etc/zookeeper/ |
Configuration files used by ZooKeeper daemon process. These files are generally written and managed by the charm. | (owned by zookeeper , managed by root ) |
/var/log/zookeeper/ |
Application Logging files generated by the ZooKeeper daemon process. These files are written by the workload, but they may be read by other components to provide monitoring (e.g. Grafana and/or charm). | (owned and managed by zookeeper ) |
/var/lib/zookeeper/ |
Raw data is stored persistently by ZooKeeper during its operations. The files are written and managed by ZooKeeper only. | (owned and managed by zookeeper ) |
External storage is used for storing persistent raw data, and it is
mounted at /var/lib/zookeeper
.