evolution-api
by vingrosso
Helm chartv1.0.0App 2.0.0Apache-2.0Verified publisher
A Helm chart for Evolution API - WhatsApp integration platform
About this chart
Evolution API Helm Chart
A Helm chart for deploying Evolution API - a WhatsApp integration platform on Kubernetes.
Prerequisites
- Kubernetes 1.23+
- Helm 3.8+
- PV provisioner support in the underlying infrastructure
Optional: Operators for Production
For production deployments with high availability, install these operators:
# RabbitMQ Cluster Operator (for quorum queues support)
kubectl apply -f "https://github.com/rabbitmq/cluster-operator/releases/latest/download/cluster-operator.yml"
# CloudNative-PG Operator (for PostgreSQL HA)
kubectl apply --server-side -f https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.25/releases/cnpg-1.25.0.yaml
Installation
Add the repository (if published)
helm repo add evolution-api https://your-repo-url
helm repo update
Install the chart
# Create namespace
kubectl create namespace evolutionapi
# Install with default values
helm install evolution-api . -n evolutionapi
# Install with custom values
helm install evolution-api . -n evolutionapi -f my-values.yaml
Configuration
Database Options
| Option | Description | Recommended for |
|---|---|---|
postgresql.enabled | Bitnami PostgreSQL subchart | Development |
postgresqlStandalone.enabled | Official PostgreSQL image | Testing |
postgresqlOperator.enabled | CloudNative-PG (requires operator) | Production |
externalPostgresql.* | External PostgreSQL | Existing infrastructure |
Message Queue Options
| Option | Description | Recommended for |
|---|---|---|
rabbitmqCluster.enabled | Bitnami RabbitMQ subchart | Development |
rabbitmqStandalone.enabled | Official RabbitMQ image | Testing |
rabbitmqOperator.enabled | RabbitMQ Cluster Operator (3 nodes, quorum queues) | Production |
externalRabbitmq.* | External RabbitMQ | Existing infrastructure |
Event Streaming Options
| Option | Description | Recommended for |
|---|---|---|
kafkaCluster.enabled | Bitnami Kafka subchart | Development |
kafkaStandalone.enabled | Apache Kafka (KRaft mode) | Testing/Production |
externalKafka.* | External Kafka | Existing infrastructure |
Ingress Options
| Option | Description |
|---|---|
ingress.enabled | Standard Kubernetes Ingress |
ingress.className | Ingress class (nginx, traefik) |
ingressRoute.enabled | Traefik IngressRoute CRD |
Example Configurations
Minimal Development Setup
api:
enabled: true
server:
url: "https://evolution-api.example.com"
authentication:
apiKey: "your-secure-api-key"
postgresql:
enabled: true
auth:
password: "secure-password"
redis:
enabled: true
Production Setup with Operators
api:
enabled: true
replicaCount: 2
server:
url: "https://evolution-api.example.com"
authentication:
existingSecret: "evolution-api-credentials"
rabbitmq:
enabled: true
globalEnabled: true
events:
messagesUpsert: true
connectionUpdate: true
# ... other events
kafka:
enabled: true
globalEnabled: true
events:
messagesUpsert: true
# ... other events
# Disable Bitnami subcharts
postgresql:
enabled: false
rabbitmqCluster:
enabled: false
# Enable Operators
postgresqlOperator:
enabled: true
replicas: 1
auth:
username: evolution
password: "secure-password"
database: evolution
rabbitmqOperator:
enabled: true
replicas: 3 # Required for quorum queues
kafkaStandalone:
enabled: true
redis:
enabled: true
Values Reference
See the full values.yaml for all configuration options.
Key Configuration Sections
api.*- Evolution API configurationmanager.*- Evolution Manager (frontend) configurationingress.*/ingressRoute.*- Ingress configurationpostgresql.*/postgresqlOperator.*- PostgreSQL configurationredis.*- Redis configurationrabbitmqOperator.*/rabbitmqStandalone.*- RabbitMQ configurationkafkaStandalone.*- Kafka configuration
Upgrading
helm upgrade evolution-api . -n evolutionapi -f my-values.yaml
Uninstalling
helm uninstall evolution-api -n evolutionapi
Note: PVCs are not automatically deleted. To remove all data:
kubectl delete pvc -l app.kubernetes.io/instance=evolution-api -n evolutionapi
License
Apache-2.0
Links
Deploy evolution-api with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has evolution-api 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 chartevolution-api is pinned at v1.0.0 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