Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 3. Installing the proxy operator


This section provides instructions for installing the Streams for Apache Kafka Proxy Operator. Install the proxy operator using one of the following methods:

  • By applying the proxy installation files
  • From the OperatorHub in the OpenShift web console (Openshift Clusters only)

Installation options and procedures are demonstrated using the example files included with Streams for Apache Kafka Proxy.

3.1. Install prerequisites

To install Streams for Apache Kafka Proxy, you will need the following:

  • An OpenShift 4.18 or later cluster.
  • The oc command-line tool is installed and configured to connect to the running cluster.

3.2. Streams for Apache Kafka Proxy release artifacts

To deploy Streams for Apache Kafka Proxy using YAML files, download the latest release archive (streams-3.0-ocp-install-examples.zip - Streams for Apache Kafka 3.0 Installation and Example files) from the Streams for Apache Kafka software downloads page.

The release archive contains sample YAML files for deploying Streams for Apache Kafka components to OpenShift using oc.

The proxy artifacts include installation and example files:

Installation files
The install directory contains the YAML manifests to install the proxy operator.
Example files
The examples directory contains example custom resources, which can be used to deploy a proxy once the operator has been installed.

3.3. Installing the operator using installation files

This procedure shows how to install the Streams for Apache Kafka Proxy Operator in your OpenShift cluster.

Prerequisites

  • You need an account with permission to create and manage CustomResourceDefinition and RBAC (ClusterRole) resources.
  • You have downloaded the release artifacts and extracted the contents into the current directory.

Procedure

  1. Edit the Streams for Apache Kafka Proxy installation files to use the namespace the operator is going to be installed into.

    For example, in this procedure the operator is installed into the namespace my-kroxylicious-operator-namespace.

    On Linux, use:

    sed -i 's/namespace: .*/namespace: my-kroxylicious-operator-namespace/' install/*.yaml

    On MacOS, use:

    sed -i '' 's/namespace: .*/namespace: my-kroxylicious-operator-namespace/' install/*.yaml
  2. Deploy the Streams for Apache Kafka Proxy operator:

    oc create -f install
  3. Check the status of the deployment:

    oc get deployments -n my-kroxylicious-operator-namespace

    Output shows the deployment name and readiness

    NAME                      READY  UP-TO-DATE  AVAILABLE
    kroxylicious-operator     1/1    1           1

    READY shows the number of replicas that are ready/expected. The deployment is successful when the AVAILABLE output shows 1.

3.4. Installing the operator from the OperatorHub

This procedure describes how to install and subscribe to the Streams for Apache Kafka Proxy operator using the OperatorHub in the OpenShift Container Platform web console.

The procedure describes how to create a project and install the operator to that project. A project is a representation of a namespace. For manageability, it is a good practice to use namespaces to separate functions.

Warning

Make sure you use the appropriate update channel. If you are on a supported version of OpenShift, installing the operator from the default alpha channel is generally safe. However, we do not recommend enabling automatic updates on the alpha channel. An automatic upgrade will skip any necessary steps prior to upgrade. Use automatic upgrades only on version-specific channels.

Prerequisites

Procedure

  1. Navigate in the OpenShift web console to the Home > Projects page and create a project (namespace) for the installation.

    We use a project named streams-kafka-proxy in this example.

  2. Navigate to the Operators > OperatorHub page.
  3. Scroll or type a keyword into the Filter by keyword box to find the Streams for Apache Kafka Proxy operator.

    The operator is located in the Other category.

  4. Click Streams for Apache Kafka Proxy to display the operator information.
  5. Read the information about the operator and click Install.
  6. On the Install Operator page, choose from the following installation and update options:

    • Update Channel: Choose the update channel for the operator.

      • The (default) alpha channel contains all the latest updates and releases, including major, minor, and micro releases, which are assumed to be well tested and stable.
      • An amq-streams-X.x channel contains the minor and micro release updates for a major release, where X is the major release version number.
      • An amq-streams-X.Y.x channel contains the micro release updates for a minor release, where X is the major release version number and Y is the minor release version number.
    • Installation Mode: Install the operator to all namespaces in the OpenShift cluster.

      A single instance of the operator will watch and manage proxies created throughout the OpenShift cluster.

    • Update approval: By default, the Streams for Apache Kafka Proxy operator is automatically upgraded to the latest proxy version by the Operator Lifecycle Manager (OLM). Optionally, select Manual if you want to manually approve future upgrades. For more information on operators, see the OpenShift documentation.
  7. Click Install to install the operator to your selected namespace.
  8. After the operator is ready for use, navigate to Operators > Installed Operators to verify that the operator has installed to the selected namespace.

    The status will show as Succeeded.

  9. Use the proxy operator to deploy a proxy.
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2026 Red Hat
Retour au début