Skip to content

Installation

First you need a configuration files in order to configure AKHQ connections to Kafka Brokers.

Configuration file default path is /app/application.yml (for YML file), so expected to be at the same folder as AKHQ application files. Configuration file path can target any path through MICRONAUT_CONFIG_FILES environment variable, for example: MICRONAUT_CONFIG_FILES=/somepath/application.yml.

Terminal window
docker run -d \
-p 8080:8080 \
-v /tmp/application.yml:/app/application.yml \
tchiotludo/akhq
  • With -v /tmp/application.yml must be an absolute path to configuration file
  • Go to http://localhost:8080

Running in Kubernetes (using a Helm Chart)

Section titled “Running in Kubernetes (using a Helm Chart)”
  • Add the AKHQ helm charts repository:
Terminal window
helm repo add akhq https://akhq.io/
  • Install or upgrade
Terminal window
helm upgrade --install akhq akhq/akhq
  • Chart version >=0.1.1 requires Kubernetes version >=1.14
  • Chart version 0.1.0 works on previous Kubernetes versions
Terminal window
helm install akhq akhq/akhq --version 0.1.0
  • Clone the repository:
Terminal window
git clone https://github.com/tchiotludo/akhq && cd akhq/helm/akhq
  • Update helm values located in values.yaml
    • configuration values will contains all related configuration that you can find in application.example.yml and will be store in a ConfigMap
    • secrets values will contains all sensitive configurations (with credentials) that you can find in application.example.yml and will be store in Secret
    • Both values will be merged at startup
  • Apply the chart:
Terminal window
helm install --name=akhq-release-name .