hivemq-swarm

by HiveMQ

Helm chartv0.2.73App 4.57.0Verified publisher

A Helm chart for HiveMQ Swarm

About this chart

HiveMQ Swarm

This Helm chart bootstraps a HiveMQ Swarm deployment on a Kubernetes cluster using the Helm package manager.

HiveMQ Swarm is an advanced IoT testing and simulation tool that provides load and reliability testing for your IoT architectures.

This chart deploys:

  • a HiveMQ Swarm commander with the REST-API enabled to start scenarios
  • a number of HiveMQ Swarm agents

See the HiveMQ documentation for more details.

Prerequisites

  • Kubernetes 1.23+
  • Helm 3

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-swarm -n <namespace>

See the documentation for more detailed information on getting started with this Helm Chart.

Uninstall the Chart

helm uninstall [RELEASE_NAME] -n <namespace>

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

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-swarm-x.y.z.prov https://github.com/hivemq/helm-charts/releases/download/hivemq-swarm-x.y.z/hivemq-swarm-x.y.z.tgz.prov
curl -L -o hivemq-swarm-x.y.z.tgz https://github.com/hivemq/helm-charts/releases/download/hivemq-swarm-x.y.z/hivemq-swarm-x.y.z.tgz
helm verify hivemq-swarm-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-swarm

Deploy hivemq-swarm with OpenTenant

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