hivemq-operator

by HiveMQ

Helm chartv0.11.62App 4.47.1Verified publisher

HiveMQ Operator (legacy)

About this chart

HiveMQ operator (legacy)

See the documentation for detailed getting started and configuration guidance.

WARNING: The legacy HiveMQ Operator and its Helm chart have been retired since April 2025 and no longer receive updates or support. To migrate to the current HiveMQ Platform Operator for Kubernetes, see HiveMQ Legacy Operator to Platform Operator Migration Guide.

This chart provisions the

  • HiveMQCluster CustomResourceDefinition
  • HiveMQ operator as Deployment
  • a configurable HiveMQCluster custom resource representing a cluster
  • (optionally) Prometheus-operator integration
    • prometheus-operator sub-chart if you want to deploy a dedicated Prometheus instance
    • Grafana dashboard deployed along with the sub-chart

Installing on Kubernetes clusters <1.16

Since chart version 0.9.0, we are shipping a v1 CustomResourceDefinition by default in order to be compatible with future Kubernetes versions.

If you are deploying the HiveMQ operator on a Kubernetes cluster that does not support the v1 CustomResourceDefinition API, you can use the following steps to deploy the chart:

The v1beta1 CRD still supports all the same fields as the v1 CRD.

# 1. Deploy the v1beta1 CRD manually
kubectl apply -f https://raw.githubusercontent.com/hivemq/helm-charts/master/manifests/hivemq-operator/legacy/v1beta1-hivemq-cluster.yaml
# 2. Deploy the Helm chart, skip CRD deployment
helm install hivemq-operator hivemq/hivemq-operator --skip-crds

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

Deploy hivemq-operator with OpenTenant

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