This chart bootstraps a single node or multiconnect WhatsApp Business API deployment on a Kubernetes cluster using the Helm package manager.
- Ingress resource
- Provides preconfigured database deployment (mysql/postgres)
- Database upgrades runs on any helm release upgrade (post-upgrade hook)
- Might be configured to use shared storages (EFS/NFS/Ceph) for media files
- Cronjob which delete media files by schedule from volume
- Changes admin password after installation (post-install hook)
- Web deployment has liveness Probe using WA_API_KEY
- Kubernetes 1.9+
- PV provisioner support in the underlying infrastructure
Add repo first:
helm repo add whatsapp https://goodsmileduck.github.io/kubernetes-whatsapp/
To install the chart with the release name whatsapp
:
$ helm install whatsapp whatsapp/kubernetes-whatsapp
The command deploys WhatsApp Business API on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
By default helm deploys multiconnect node deployment.
To deploy single node deployment use file values-single.yaml
Tip: List all releases using
helm list
To uninstall/delete the whatsapp
deployment:
$ helm delete --purge whatsapp
The command removes all the Kubernetes components associated with the chart and deletes the release.
The following table lists the configurable parameters of the WhatsApp chart and their default values.
Parameter | Description | Default |
---|---|---|
multiconnect |
Multiconnect mode. Could be MYSQL or PGSQL | False |
db.engine |
Database engine | MYSQL |
db.host |
Hostname to access database | [] |
- Update docs for configuration
- Add Healthcheck for core/web containers
- Update volume configuration
- Add affinitiy support
- Add tests