In this guide, we’ll walk you through how to install KubeMQ into your Kubernetes cluster.
Before we can do anything, we need to ensure you have access to a Kubernetes cluster running 1.12 or later, and a functioning kubectl command on your local machine. (One easy option is to run Kubernetes on your local machine. We suggest Docker Desktop or Minikube, but there are many options.)
Please visit: https://account.kubemq.io/login/register and register for a license token.
Wait for an email confirmation with your license token
kubectl apply -f https://get.kubemq.io/deploy?token=<kubemq-registration-token>
If you get any errors such as "kind not found", run the command again
kubectl get kubemqclusters -n kubemq
sudo curl -sL https://get.kubemq.io/install | sudo sh
Place the file under e.g. C:\Program Files\kubemqctl\kubemqctl.exe
Add that directory to your system path to access it from any command prompt
Run in PowerShell as administrator:
New-Item -ItemType Directory 'C:\Program Files\kubemqctl'Invoke-WebRequest https://github.com/kubemq-io/kubemqctl/releases/download/latest/kubemqctl.exe -OutFile 'C:\Program Files\kubemqctl\kubemqctl.exe'$env:Path += ';C:\Program Files\kubemqctl'
kubemqctl queue send my-queue hello-world
kubemqctl queue receive my-queue