Getting Solace PubSub Broker to work on Multi-node Minikube Cluster

hamlyn
hamlyn Member, Employee Posts: 1 Solace Employee
edited February 17 in Tips and Tricks #1

Sharing my journey of getting the broker to run locally on my windows laptop:

To run the Solace PubSub+ Software Bbroker on MiniKube, there are additional steps required (other than the more straight-forward ones e.g. download install Docker / MiniKube etc.):

  1. Enable CSI: minikube addons enable volumesnapshots and minikube addons enable csi-hostpath-driver
  2. After deployment, you would also require minikube tunnel as there isn't an integrated LoadBalancer. Refer to SolaceProducts/pubsubplus-kubernetes-quickstart: Quickstart to launch a Solace PubSub+ Software Event Broker in Kubernetes using Operator and Accessing apps | minikube for more information.

#1 is required if you create a multi-node cluster. I noticed it's not required if you only have a single node.

Additional, you can enable metrics server to monitor your MiniKube resource utilization minikube addons enable metrics-server.

I followed the rest of the steps mentioned in SolaceProducts/pubsubplus-kubernetes-quickstart: Quickstart to launch a Solace PubSub+ Software Event Broker in Kubernetes using Operator to get it working with operator - I did create a batch script to automate installation of the operator but you can simply copy and paste the commands manually to install it too.

Hope this helps.

Tagged: