/
No HiveMQ pods are spawned

No HiveMQ pods are spawned

 Problem

Deploying a HiveMQ cluster from the hivemq-operator Helm chart to a Kubernetes cluster:

helm upgrade hivemq --install hivemq/hivemq-operator \ --values my-values.yaml --namespace my-namespace

Checking if all expected pods are spawned:

kubectl get pods --namespace my-namespace

shows only the hivemq-operator pod:

NAME READY STATUS RESTARTS AGE hivemq-hivemq-operator-operator-5c788c6c4-5krrz 1/1 Running 0 19s

Problem is how to troubleshoot this.

 Solution

  1. Describe the replicaSets:

    you see hivemq-operator and hivemq-cluster's replicaSets:

  2. Get detained information from the hivemq-cluster's replicaSet:

  3. Search for any errors in the conditions: section. The error message will indicate why the creation of the hivemq-cluster pod has failed:
    *This is an example error:

  4. Now you can fix the error and retry the helm upgrade.

 Related articles

Related content

HiveMQ Kubernetes Operator UPGRADE FAILED: post-upgrade hooks failed: job failed
HiveMQ Kubernetes Operator UPGRADE FAILED: post-upgrade hooks failed: job failed
Read with this
Starting from Kubernetes API version 1.25, PodSecurityPolicy will no longer be served.
Starting from Kubernetes API version 1.25, PodSecurityPolicy will no longer be served.
More like this
Configuring the HiveMQ Platform for One Pod per Kubernetes Node
Configuring the HiveMQ Platform for One Pod per Kubernetes Node
More like this
Upgrading both HiveMQ version 4.6.4 and the k8s operator version 0.9.0
Upgrading both HiveMQ version 4.6.4 and the k8s operator version 0.9.0
More like this