akhq

by QuenchWorks

Helm chartv0.0.17App 0.29.1Apache-2.0Verified publisher

AKHQ, the web UI for Apache Kafka: topics, messages, consumer groups, schema registry, Kafka Connect and ACLs, for one or more clusters configured from values. Hardened by QuenchWorks, nonroot, CVE-gated, cosign-signed and pinned by digest.

About this chart

AKHQ

AKHQ is a web UI for Apache Kafka: browse and produce messages, and manage topics, consumer groups, the schema registry, Kafka Connect and ACLs, across one or more clusters. This chart runs it on the QuenchWorks akhq image. The image is nonroot, 0 fixable CVEs, cosign-signed and pinned by digest.

Install

helm install akhq oci://ghcr.io/quenchworks/charts/akhq \
  --set 'connections.local.properties.bootstrap\.servers=kafka.data.svc:9092'
kubectl port-forward svc/akhq 8080:8080
# open http://127.0.0.1:8080/ui

Clusters

connections is AKHQ's akhq.connections map: per cluster, the Kafka client properties and optionally a schema-registry and connect list (see values.yaml). The chart renders the whole application.yml into a Secret, since those properties often hold SASL passwords. Bring your own with existingSecret (key application.yml).

Other AKHQ settings (security, ui-options, topic defaults) go in akhqConfig, merged under akhq:.

Security

AKHQ has no login by default: anyone who reaches the UI can read and write topics. Keep the Service internal, or configure akhqConfig.security (basic auth, LDAP or OIDC).

Values

KeyDefaultMeaning
connections{}Kafka clusters; with none, the pod stays unready
akhqConfig{}other akhq: settings
existingSecret""a Secret with a full application.yml
javaOpts-XX:MaxRAMPercentage=75JVM flags
service.port8080UI port
service.httpsPort443HTTPS Service port (to 8443), only with tls.enabled
tls.enabledfalseMicronaut also serves HTTPS on 8443 beside HTTP (an openssl init container builds the PKCS12 keystore)
tls.existingSecret""a kubernetes.io/tls Secret to use (1st choice)
tls.certManager.enabledfalserequest a cert-manager Certificate from tls.certManager.issuerRef (2nd choice)
tls.selfSigned.validityDays365otherwise Helm generates a CA + certificate, kept across upgrades
openssl.digest(pinned)init container that builds the PKCS12 keystore

Pods run with a read-only root filesystem and all capabilities dropped. Health is on 28081 (/health), which readiness uses.

The release gate installs the QuenchWorks kafka chart as a one-broker cluster, creates a topic, installs this chart against it, and requires AKHQ to report healthy, serve the UI and list the topic through its API.

The chart depends on the quench-common chart from oci://ghcr.io/quenchworks/charts.

Deploy akhq with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has akhq on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartakhq is pinned at v0.0.17 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply