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

OptionDescriptionRecommended for
postgresql.enabledBitnami PostgreSQL subchartDevelopment
postgresqlStandalone.enabledOfficial PostgreSQL imageTesting
postgresqlOperator.enabledCloudNative-PG (requires operator)Production
externalPostgresql.*External PostgreSQLExisting infrastructure

Message Queue Options

OptionDescriptionRecommended for
rabbitmqCluster.enabledBitnami RabbitMQ subchartDevelopment
rabbitmqStandalone.enabledOfficial RabbitMQ imageTesting
rabbitmqOperator.enabledRabbitMQ Cluster Operator (3 nodes, quorum queues)Production
externalRabbitmq.*External RabbitMQExisting infrastructure

Event Streaming Options

OptionDescriptionRecommended for
kafkaCluster.enabledBitnami Kafka subchartDevelopment
kafkaStandalone.enabledApache Kafka (KRaft mode)Testing/Production
externalKafka.*External KafkaExisting infrastructure

Ingress Options

OptionDescription
ingress.enabledStandard Kubernetes Ingress
ingress.classNameIngress class (nginx, traefik)
ingressRoute.enabledTraefik 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 configuration
  • manager.* - Evolution Manager (frontend) configuration
  • ingress.* / ingressRoute.* - Ingress configuration
  • postgresql.* / postgresqlOperator.* - PostgreSQL configuration
  • redis.* - Redis configuration
  • rabbitmqOperator.* / rabbitmqStandalone.* - RabbitMQ configuration
  • kafkaStandalone.* - 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartevolution-api is pinned at v1.0.0 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