akvorado
by SVTECH-NMAA
A Helm chart for Kubernetes
About this chart
Akvorado Chart
This Helm chart deploys Akvorado, a flow collector and exporter for network traffic analytics, on Kubernetes. It is designed to integrate with ClickHouse for scalable storage and querying.
Features
- Deploys Akvorado as a Kubernetes Deployment.
- Configurable resource requests and limits.
- Integrates with ClickHouse for data storage.
- Supports custom environment variables and configuration.
Prerequisites
- Kafka cluster
- ClickHouse cluster
Installation
-
Clone the charts repository:
cd /opt git clone https://github.com/svtechnmaa/charts.git -
Edit
/opt/charts/kubernetes/akvorado/values.yamlto configure Akvorado parameters, such as ClickHouse connection details, resource limits, and flow sources.
Key parameters in values.yaml:
| Parameter | Description | Default |
|---|---|---|
global.kafka.topic | Define Kafka topic, must defined in global to reuse in another charts (like kafka,...) | "" |
global.kafka.partition | Define Kafka partition, must defined in global to reuse in another charts (like kafka,...) | 1 |
global.kafka.replicationFactor | Define Kafka replication factor, must defined in global to reuse in another charts (like kafka,...) | 1 |
inlet.config.providers | Define device subnet and community for collecting additional information | ::/0-public |
geoip.env | Define ipinfo db for getting geoip data and update time | {} |
clickhouse | Define clickhouse cluster for connecting database | {} |
- Install the Akvorado chart:
helm install akvorado /opt/charts/kubernetes/akvorado \ --namespace akvorado \ --create-namespace
Uninstallation
To remove Akvorado:
helm uninstall akvorado \
--namespace akvorado
References
Deploy akvorado with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has akvorado 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartakvorado is pinned at v0.2.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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