Validating installation
You can validate the WebSphere® Liberty operator installation with Red Hat® OpenShift® CLI
(oc
) commands.
Before you begin
WLO_NAMESPACE=openshift-operators
- Log in to the Red Hat OpenShift cluster as a cluster administrator.
- Validate the WebSphere Liberty operator installation.
Validating the WebSphere Liberty operator installation
To validate the WebSphere Liberty operator operator
installation, run oc
commands that list information about the WebSphere Liberty operator operator. Be sure that the
WLO_NAMESPACE
environment variable is set.
- Verify whether the operator subscription exists.
oc -n $WLO_NAMESPACE get subscription | grep websphere-liberty
When the operator subscription exists, the command output lists the operator subscription information.
ibm-websphere-liberty ibm-websphere-liberty ibm-operator-catalog
- Verify the installation status of the
operator.
oc -n $WLO_NAMESPACE get csv | grep websphere-liberty
The command output has
Succeeded
for a successful installation.ibm-websphere-liberty.v1.3.1 IBM WebSphere Liberty 1.3.1 Succeeded