Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

This guide provides step-by-step instructions on how to set up a HiveMQ license for your HiveMQ cluster.

\uD83D\uDCD8 Instructions

Here are the steps to follow:

  1. Install the HiveMQ Platform Operator:

    helm install platform-op hivemq/hivemq-platform-operator
  2. Create a secret for the HiveMQ license:
    Use the following command to create a Kubernetes secret for the HiveMQ license, replacing <path/to/your/lic/file> with the actual path to your license file:

    kubectl create secret generic hivemq-license --from-file <path/to/your/lic/file>
  3. Set the license in the HiveMQ Platform values.yaml:
    Generate the values.yaml file for the HiveMQ Platform:

    helm show values hivemq/hivemq-platform > hivemq_values.yaml

    Edit the hivemq_values.yaml file, locate the "license" block and configure the name of the secret to be the same as the one created in the previous step. Refer to the following example:

    ...
    # Configures the HiveMQ License information.
    license:
      # The name of a secret with the License information. Add all required licenses into the secret.
      name: "hivemq-license"
      # Inlines the License information as an encoded 64-bytes string.
      data: ""
      # Overrides the License information via file using --set-file license.lic.
      overrideLicense: ""
    ...
  4. Deploy the HiveMQ broker:

    helm upgrade --install -f hivemq_values.yaml hivemq hivemq/hivemq-platform

  • No labels