Scaling the Broker Cluster
Scale the MQTT broker cluster up, down, or to zero.
Last updated
Was this helpful?
Was this helpful?
kubectl scale sts broker -n ${NAMESPACE} --replicas 2kubectl get pod -lapp=broker -n ${NAMESPACE} -o name | xargs -I % kubectl exec % -- vmq-admin cluster showkubectl get sts broker -n ${NAMESPACE}NAME READY AGE
broker 3/3 6m52skubectl scale sts broker -n ${NAMESPACE} --replicas 0kubectl get pods -n ${NAMESPACE} -l app=broker