Este contenido no está disponible en el idioma seleccionado.
Chapter 3. Installing the Operators
The Red Hat Service Interconnect Operator creates and manages sites in OpenShift.
Optionally, you can also install the Red Hat Service Interconnect Network Observer Operator, which provides a user interface to monitor your service network.
Installing an Operator requires administrator-level privileges for your cluster.
3.1. Installing the Red Hat Service Interconnect Operator for all namespaces using the CLI Copiar enlaceEnlace copiado en el portapapeles!
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 NoteIf you want to keep updates confined to 2.1.x releases, set the value of
channel
tostable-2.1
.If you do not specify
startingCSV
, the subscription defaults to the latest operator version.If you specify
installPlanApproval
asManual
, sites are not automatically upgraded to the latest version of Service Interconnect. See Chapter 6, Upgrading the Red Hat Service Interconnect Operator and Kubernetes sites for information on manually upgrading sites.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 Red Hat Service Interconnect Operator using the OpenShift console Copiar enlaceEnlace copiado en el portapapeles!
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
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.
3.3. Installing the Red Hat Service Interconnect Network Observer Operator for all namespaces using the CLI Copiar enlaceEnlace copiado en el portapapeles!
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 Network Observer 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 NoteIf you want to keep updates confined to 2.1.x releases, set the value of
channel
tostable-2.1
.If you do not specify
startingCSV
, the subscription defaults to the latest operator version.If you specify
installPlanApproval
asManual
, sites are not automatically upgraded to the latest version of Service Interconnect. See Chapter 6, Upgrading the Red Hat Service Interconnect Operator and Kubernetes sites for information on manually upgrading sites.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.4. Installing the Red Hat Service Interconnect Network Observer Operator using the OpenShift console Copiar enlaceEnlace copiado en el portapapeles!
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 Network Observer 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 Network Observer 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
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 Network Observer 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 Network Observer 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.