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 0:

Obtain KubeMQ Registration Token

  1. Please visit: https://account.kubemq.io/login/register and register for a license token.

  2. Wait for an email confirmation with your license token

Step 1:

Deploy KubeMQ package

First, install KubeMQ CRD components:

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

Then, install KubeMQ operator and cluster:

kubectl apply -f https://deploy.kubemq.io/key/<kubemq-registration-token>

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

Build & Deploy KubeMQ Components

Learn KubeMQ Basics

Learn KubeMQ Message Patterns

Get started with KubeMQ message patterns