# Openshift

## Install KubeMQ operator

### Find KubeMQ Operator

1. Open Operators/OperatorHub
2. Goto Streaming & Messaging
3. Type KubeMQ in search box
4. Click on KubeMQ Enterprise Operator

![](https://2828835384-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2b9dwAGbMPWty0fPGr%2F-MN7uHD0s-Lxn_jo-TqU%2F-MN7uO4KOISDeStqBVP0%2Fopenshift-1.png?alt=media\&token=fbf66ccf-ef6e-4cdf-bc49-3ca1aa16b75c)

### Install KubeMQ Operator

1. Set Installation mode to a specific namespace on the cluster
2. Set the namespace
3. Click Subscribe

![](https://2828835384-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2b9dwAGbMPWty0fPGr%2F-MN7uV3TKicP5lZ46UI4%2F-MN7ukXZjYXcgzz-xyKZ%2Fopenshift-2.png?alt=media\&token=91817360-6fc8-425b-968f-56205bd9ecad)

## Verify Operator Installation

![](https://2828835384-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2b9dwAGbMPWty0fPGr%2F-MN7unFIuI5hT8YGuwY-%2F-MN7vRR5EAR_vqm8ZWPG%2Fopenshift-3.png?alt=media\&token=1f0fcc7e-148c-4b3e-9395-89a61e0cabd3)

![](https://2828835384-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2b9dwAGbMPWty0fPGr%2F-MN7unFIuI5hT8YGuwY-%2F-MN7vUVuCHKuKuEfQ8zO%2Fopenshift-4.png?alt=media\&token=308a6066-7f45-4d37-a390-462e39c0915c)

## Install KubeMQ Cluster Enterprise Edition

1. Click On KubeMQ Cluster
2. Click on Create KubemqCluster
3. Click on Configure via YAML View
4. A yaml editor will open with default configuration will open

{% hint style="danger" %}
For all installations of Kubemq in Openshift platform, a License key is required.

Obtain free license : [Register](https://account.kubemq.io/login/register)
{% endhint %}

4\. Get the license data from the welcome email

5\. Insert the license data into the spec section

Example:

```yaml
apiVersion: core.k8s.kubemq.io/v1alpha1
kind: KubemqCluster
metadata:
  name: kubemq-cluster
  namespace: kubemq
spec:
  license: |-
    eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJMYWJlbHMiOnsibGljZW5zZS1
    tYXgtaW5zdGFuY2VzIjofsdfsdfsdfSIsImxpY2Vuc2UtdHlwZSI6IkVudGVycHJ
    iYXVkIjoidGhlLWtpdfsstb2YtZ28iLCJleHAiOjE2MTYzNDAzMTEsImp0aSI6In
    oZS1taWdodHktbffflvciIsImlhdCI6MTU4NDgwNDMxMSwiaXNzIjoiS3ViZU1RI
    .BwGlucqbGBsdf3hAaFNXhU-1H7eOLXtkvAM5jSgesMdN5pptjsIIpsvY2DiaF40
    tYa1vQoJwsdBQacgLADBZRrBbnJPKvimAXYNuZ6Nyv9d-V9ez6XoVDq0WhG56r5_
    QikQ5entYqfLdxHqQetwt7Ym_0IwlxzcnqtCKCETkUGijP48UtuOPV3XSUUawXR3
    cLi-NZh0avzp9niXGDxVuCNjRm4iRT6uyUWkxoF25UulkmYHzM69DTBjkN7q2pk1
    6VNKaT7LWQ3knt0ZkPRlhp0WzYrluZQUuXnfRZdL7dPCFtC4E2T6-04bM-OVufUf
    JM272-J-y5eB7_hGnH7bNZQeqweqweqweqe23424wqed
```

Note: the above license is invalid

6\. Click create

![](https://2828835384-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2b9dwAGbMPWty0fPGr%2F-MN7unFIuI5hT8YGuwY-%2F-MN7wF2IV9uCGaT2R8fs%2Fopenshift-5.png?alt=media\&token=9266eed3-e20d-48d7-91d3-e5c428fba4b4)

## Verify KubeMQ Cluster Installation

![](https://2828835384-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2b9dwAGbMPWty0fPGr%2F-MN7unFIuI5hT8YGuwY-%2F-MN7wYu1X-7uAVusfNGZ%2Fopenshift-6.png?alt=media\&token=df018b71-4084-4a36-8ebf-6594b4d761f0)

## Configuration

Check out cluster configuration setting available:

{% content-ref url="../../configuration/cluster" %}
[cluster](https://docs.kubemq.io/configuration/cluster)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kubemq.io/getting-started/create-cluster/openshift.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
