Install the Multiarch Tuning Operator by using the CLI
You can install the Multiarch Tuning Operator by using the OpenShift CLI (oc).
-
You have installed the OpenShift CLI (
oc). -
You have logged in to
ocas a user withcluster-adminprivileges.
-
Create a new project named
openshift-multiarch-tuning-operatorby running the following command:$ oc create ns openshift-multiarch-tuning-operator -
Create an
OperatorGroupobject:-
Create a YAML file with the configuration for creating an
OperatorGroupobject.Example YAML configuration for creating anOperatorGroupobjectapiVersion: operators.coreos.com/v1 kind: OperatorGroup metadata: name: openshift-multiarch-tuning-operator namespace: openshift-multiarch-tuning-operator spec: {} -
Create the
OperatorGroupobject by running the following command:$ oc create -f <file_name>Replace
<file_name>with the name of the YAML file that contains theOperatorGroupobject configuration.
-
-
Create a
Subscriptionobject:-
Create a YAML file with the configuration for creating a
Subscriptionobject.Example YAML configuration for creating aSubscriptionobjectapiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: openshift-multiarch-tuning-operator namespace: openshift-multiarch-tuning-operator spec: channel: stable name: multiarch-tuning-operator source: redhat-operators sourceNamespace: openshift-marketplace installPlanApproval: Automatic startingCSV: multiarch-tuning-operator.<version> -
Create the
Subscriptionobject by running the following command:$ oc create -f <file_name>Replace
<file_name>with the name of the YAML file that contains theSubscriptionobject configuration.For more details about configuring the
Subscriptionobject andOperatorGroupobject, see "Installing from the software catalog by using the CLI".
-
-
To verify that the Multiarch Tuning Operator is installed, run the following command:
$ oc get csv -n openshift-multiarch-tuning-operatorExample outputNAME DISPLAY VERSION REPLACES PHASE multiarch-tuning-operator.<version> Multiarch Tuning Operator <version> multiarch-tuning-operator.1.0.0 SucceededThe installation is successful if the Operator is in the
Succeededphase. -
Optional: To verify that the
OperatorGroupobject is created, run the following command:$ oc get operatorgroup -n openshift-multiarch-tuning-operatorExample outputNAME AGE openshift-multiarch-tuning-operator-q8zbb 133m -
Optional: To verify that the
Subscriptionobject is created, run the following command:$ oc get subscription -n openshift-multiarch-tuning-operatorExample outputNAME PACKAGE SOURCE CHANNEL multiarch-tuning-operator multiarch-tuning-operator redhat-operators stable