1 minute read

To install Kafka on OpenShift, you can use the AMQ Streams operator for Apache Kafka. The operator is a Kubernetes-native way to deploy and manage Kafka clusters on OpenShift. It provides a simple and automated way to manage the lifecycle of Kafka resources, such as topics, partitions, brokers, and users. The operator can be used to install and manage Kafka on any Kubernetes cluster, including OpenShift.

The Kafka operator is a specific operator created by the Red Hat AMQ Streams project, which provides a way to deploy, manage, and configure Kafka clusters in a Kubernetes or OpenShift environment. The Kafka operator is not a part of OpenShift itself, but it can be installed on OpenShift as an additional resource.

The Kafka operator is available for OpenShift 3.x and OpenShift 4.x, and can be installed using the operator Hub in the OpenShift console or using the oc command-line tool.

You can find more information about the OpenShift operator for Apache Kafka on the Red Hat website.

The easiest way to install the operator is directly in the console.

To install the AMQ Streams operator from the OpenShift console, you can follow these steps:

  1. Log in to the OpenShift console with administrative privileges.
  2. Navigate to the operators section in the left-hand menu.
  3. Click the operatorHub option.
  4. Search for “AMQ Streams” in the search bar.
  5. Select the AMQ Streams operator from the search results.
  6. Click the Install button.
  7. Follow the on-screen instructions to complete the installation.

When the installation is complete, you should be able to use the AMQ Streams operator to deploy and manage Kafka clusters in your OpenShift environment.

Red Hat