Setting Up HiveMQ License for Your HiveMQ Cluster using HiveMQ Platform Operator
This guide provides step-by-step instructions on how to set up a HiveMQ license for your HiveMQ cluster.
Instructions
Here are the steps to follow:
Install the HiveMQ Platform Operator:
helm install platform-op hivemq/hivemq-platform-operator
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>
You can add multiple licenses with the option --from-file, for example: Adding license Enterprise bridge extension, Enterprise Security extension or any other enterprise extension.
Please refer following command.kubectl create secret generic hivemq-license --from-file <path/to/your/lic/file> --from-file <path/to/your/ese.lic>
Set the license in the HiveMQ Platform values.yaml:
Generate thevalues.yaml
file for the HiveMQ Platform: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:
Deploy the HiveMQ broker: