Quick Start

Welcome to KubeMQ!

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.)

Step 1:

Deploy KubeMQ package

kubectl apply -f https://get.kubemq.io/deploy

Check Your KubeMQ Cluster Installation:

kubectl get kubemqclusters -n kubemq

Step 2:

Install kubemqctl cli tool

sudo curl -sL https://get.kubemq.io/install | sudo sh

Option 1:

  • 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

Option 2:

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'

Step 3:

Send 'Hello World'

kubemqctl queue send my-queue hello-world

Get 'Hello World'

kubemqctl queue receive my-queue

What's Next

Learn KubeMQ Basics

Learn KubeMQ Message Patterns

Get started with KubeMQ message patterns