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
Describe the
replicaSets
:you see
hivemq-operator
andhivemq-cluster
'sreplicaSets
:Get detained information from the
hivemq-cluster
'sreplicaSet
:Search for any errors in the
conditions:
section. The error message will indicate why the creation of thehivemq-cluster
pod has failed:
*This is an example error:Now you can fix the error and retry the
helm upgrade
.