Chapter 3. Installing the Operator
The Red Hat Service Interconnect Operator creates and manages sites in OpenShift.
Installing an Operator requires administrator-level privileges for your cluster.
3.1. Installing the Operator for all namespaces using the CLI Copy linkLink copied to clipboard!
The steps in this section show how to use the kubectl
command to install and deploy the latest version of the Red Hat Service Interconnect Operator in a given cluster. Installing the operator for all namespaces allows you create a site in any namespace.
Prerequisites
-
Access to a cluster using a
cluster-admin
account. - Operator Lifecycle Manager is installed.
Procedure
- Log in as a cluster administrator.
- Complete the steps described in Red Hat Container Registry Authentication.
Create a file named
subscription-all.yaml
with the following:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Apply the subscription YAML:
kubectl apply -f subscription-all.yaml
$ kubectl apply -f subscription-all.yaml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Additional information
- See Using Skupper for instructions about using YAML to create sites.
3.2. Installing the Operator using the OpenShift console Copy linkLink copied to clipboard!
The procedures in this section show how to use the OperatorHub from the OpenShift console to install and deploy the latest version of the Red Hat Service Interconnect Operator in a given OpenShift namespace.
Prerequisites
-
Access to an OpenShift cluster using a
cluster-admin
account. See Release Notes for supported OpenShift versions.
Procedure
-
In the OpenShift web console, navigate to
. -
Choose
Red Hat Service Interconnect Operator
from the list of available Operators, and then click . On the Operator Installation page, two Installation mode options are available:
- All namespaces on the cluster
A specific namespace on the cluster
For this example, choose A specific namespace on the cluster.
Choose an Update approval option.
By default, Automatic approval is selected, and sites will upgrade to the latest version of Service Interconnect. If you choose Manual approval, sites will not be automatically upgraded to the latest version of Service Interconnect.
Select the namespace into which you want to install the Operator, and then click
.The Installed Operators page appears displaying the status of the Operator installation.
- Verify that the Red Hat Service Interconnect Operator is displayed and wait until the Status changes to Succeeded.
If the installation is not successful, troubleshoot the error:
-
Click
Red Hat Service Interconnect Operator
on the Installed Operators page. - Select the Subscription tab and view any failures or errors.
-
Click
For more information about installing Operators, see the OpenShift Documentation
Additional information
- See Using Skupper for instructions about using YAML to create sites.