Preparing for installation of WebSphere Liberty operator
A cluster administrator prepares the environment before they WebSphere® Liberty operator.
Before you begin
Determine your deployment needs.
By default, the WebSphere Liberty operator uses the AllNamespaces installation mode. This installation mode supports single and multiple instances of WebSphere Liberty operator. For other installation modes, choose the namespace in which to install the operator. WebSphere Liberty operator supports installing multiple instances in the same cluster, but each instance must be in its own namespace.
Follow the instructions that apply to your installation configuration.
Completing prerequisites for an OpenShift cluster
- Ensure that your OpenShift cluster meets the system requirements. In particular, ensure that sufficient worker node capacity is available and that compatible persistent storage is installed.
- Create the catalog sources.
- Create the IBM® Operator catalog source.
Follow instructions in Adding the IBM operator catalog in the IBM Cloud Pak documentation to create a catalog source. A catalog entry is created in your Operator Hub.
- Verify the
CatalogSourcesinstallation.- Check the
CatalogSourcesoperators.oc get catalogsource -n openshift-marketplaceThe command output lists the installed operators for
CatalogSources. Ensure theibm-operator-catalogis listed.ibm-operator-catalog IBM Operator Catalog grpc IBM 1s - Check that the pods for
CatalogSourcesare running.oc get pods -n openshift-marketplaceYou want the command output to show a
Runningstatus for the pods. Ensure theibm-operator-catalogpod is listed and reachesRunningstatus.NAME READY STATUS RESTARTS AGE ibm-operator-catalog-r96r2 1/1 Running 0 1s
- Check the
- Create the IBM® Operator catalog source.
Completing prerequisites for a non-OCP Kubernetes cluster with Operator Lifecycle Manager (OLM)
- Ensure that your Kubernetes cluster meets the system requirements. In particular, ensure that sufficient worker node capacity is available and that compatible persistent storage is installed.
- Create the catalog sources.
- Create the IBM Operator catalog source.Follow instructions in Adding the IBM operator catalog in the IBM Cloud Pak documentation to create a catalog source. A catalog entry is created in your Operator Hub.Note: Use
olmas the value for the namespace parameter instead ofopenshift-marketplace. - Verify the
CatalogSourcesinstallation.- Check the
CatalogSourcesoperators.kubectl get catalogsource -n olmThe command output lists the installed operators for
CatalogSources. Ensure theibm-operator-catalogis listed.ibm-operator-catalog IBM Operator Catalog grpc IBM 1s - Check that the pods for
CatalogSourcesare running.kubectl get pods -n olmYou want the command output to show a
Runningstatus for the pods. Ensure theibm-operator-catalogpod is listed and reachesRunningstatus.NAME READY STATUS RESTARTS AGE ibm-operator-catalog-r96r2 1/1 Running 0 1s
- Check the
- Create the IBM Operator catalog source.
Completing prerequisites for a non-OCP Kubernetes cluster without OLM
- Ensure that your Kubernetes cluster meets the system requirements. In particular, ensure that sufficient worker node capacity is available and that compatible persistent storage is installed.
- Ensure that the
curlandsedprograms are installed.
What to do next
Install the WebSphere Liberty operator with the OpenShift console, the OpenShift command-line interface (CLI), or the Kubernetes command-line interface.