Installing WebSphere Liberty operator with the Red Hat OpenShift console

A cluster administrator can install a WebSphere® Liberty operator with the Red Hat OpenShift console. Installing by using the console is usually easier and quicker than installing by using the command-line alternative.

Before you begin

Install prerequisites. See Preparing for installation.

The WebSphere Liberty operator requires an Red Hat OpenShift cluster and the IBM® Operator catalog source. The CatalogSources pods must be running.

Log in to the Red Hat OpenShift cluster as a cluster administrator.

Installing the WebSphere Liberty operator

  1. Go to the Red Hat OpenShift console.
  2. Click Operators and OperatorHub from the navigation menu.
  3. Search for websphere liberty.
    Figure 1. Finding the WebSphere Liberty operator in OperatorHub
    Operator hub user interface showing search terms 'websphere liberty' and resulting operator
  4. Click the IBM WebSphere Liberty tile to open the install side page.
  5. Click Install in the IBM WebSphere Liberty install side page.
    Figure 2. Information side panel for the WebSphere Liberty operator
    Information panel for the WebSphere Liberty operator with details and Install button
  6. Change the Installation mode. The default selection is the All namespaces on the cluster field, which is the ideal choice for most needs. To learn more about this choice, see Preparing for installation of WebSphere Liberty operator.
  7. Change the Update approval setting. By default, the Automatic field is selected. Keeping the default ensures your software remains up to date with the most recent security fixes and capability updates.
  8. Click Install to begin the WebSphere Liberty operator installation.
    Figure 3. Installation panel for the WebSphere Liberty operator
    Install Operator panel for the WebSphere Liberty operator, showing channel information, installation mode options, and update approval options.
    If you choose an installation mode other than the default, select the namespace in which to install the operator.
    Figure 4. Install Operator panel when choosing a single namespace installation mode
    If installing the WebSphere Liberty operator in a single namespace, select the namespace into which the operator is installed

    After a few minutes, the operator deploys under the specified namespace and is available on the Installed Operators page. The following screen captures show the progression through the installation process.

    Figure 5. Installing Operator panel
    The Installing Operator panel displays while the installation of the operator is in progress.
    Figure 6. Installation complete panel
    The Installed operator - ready for use panel displays when the installation process is complete.
    Figure 7. Installed operator listed
    Installed Operators panel in OperatorHub showing the WebSphere Liberty operator as successfully installed

Results

If the installation completes, the WebSphere Liberty operator is successfully installed on your Red Hat OpenShift cluster.

If the installation does not complete, see Troubleshooting WebSphere Liberty operators.

What to do next

Validate the installation. At your discretion, you can deploy the sample application.