hivemq-platform

by HiveMQ

Helm chartv0.3.4App 4.57.0Verified publisher

HiveMQ Platform Helm Chart

About this chart

HiveMQ Platform

This Helm chart bootstraps the HiveMQ Platform deployment on a Kubernetes cluster using the Helm package manager. With the default settings, the HiveMQ Platform Operator then installs a 2 node HiveMQ Platform cluster that is suitable for testing.

This chart can be used multiple times to deploy several HiveMQ Platform clusters. One HiveMQ Platform Operator can manage many HiveMQ deployments.

See the HiveMQ documentation for more details.

Prerequisites

  • Kubernetes 1.24+
  • Helm 3.10.x or later (including Helm 4.x)

Repository Info

helm repo add hivemq https://hivemq.github.io/helm-charts
helm repo update

See the Helm documentation for more details.

Install the Chart

helm install [RELEASE_NAME] hivemq/hivemq-platform -n <namespace>

See the HiveMQ documentation for more details.

Uninstall the Chart

helm uninstall [RELEASE_NAME] -n <namespace>

This removes all Kubernetes components associated with the chart and deletes the release.

Test the Chart

After installing the chart, you can run Helm tests to verify the release:

helm test [RELEASE_NAME] -n <namespace>

This runs a test pod for each exposed MQTT service to verify connectivity to the HiveMQ Platform. Each test pod connects to its respective MQTT service and validates that the connection is working.

To disable test pod creation, set testing.enabled=false:

helm install [RELEASE_NAME] hivemq/hivemq-platform -n <namespace> --set testing.enabled=false

Verify the chart

curl -L -o public.pgp https://www.hivemq.com/public.pgp
gpg --import public.pgp
gpg --export >~/.gnupg/pubring.gpg
curl -L -o hivemq-platform-x.y.z.prov https://github.com/hivemq/helm-charts/releases/download/hivemq-platform-x.y.z/hivemq-platform-x.y.z.tgz.prov
curl -L -o hivemq-platform-x.y.z.tgz https://github.com/hivemq/helm-charts/releases/download/hivemq-platform-x.y.z/hivemq-platform-x.y.z.tgz
helm verify hivemq-platform-x.y.z.tgz

NOTE Helm does not support GPG version 2 or higher so you have to convert your GPG keyring to the legacy GPG format:

gpg --export >~/.gnupg/pubring.gpg

See the HiveMQ documentation for more details.

Configuration

See the HiveMQ documentation on configuration options. To view all configurable options with detailed comments, visit the chart's values.yaml, or run this command:

helm show values hivemq/hivemq-platform

Deploy hivemq-platform with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has hivemq-platform 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 charthivemq-platform is pinned at v0.3.4 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