Installing the NUMA Resources Operator using the CLI¶
You can install the Operator using the CLI.
-
Save the following YAML in the
nro-namespace.yaml
file and create theNamespace
CR:apiVersion: v1 kind: Namespace metadata: name: openshift-numaresources
$ oc create -f nro-namespace.yaml
-
Save the following YAML in the
nro-operatorgroup.yaml
file and create theOperatorGroup
CR:apiVersion: operators.coreos.com/v1 kind: OperatorGroup metadata: name: numaresources-operator namespace: openshift-numaresources spec: targetNamespaces: - openshift-numaresources
oc create -f nro-operatorgroup.yaml
-
Save the following YAML in the
nro-sub.yaml
file and create the subscription for the NUMA Resources Operator:apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: numaresources-operator namespace: openshift-numaresources spec: channel: "4.19" name: numaresources-operator source: redhat-operators sourceNamespace: openshift-marketplace
oc create -f nro-sub.yaml
-
Verify that the installation succeeded by inspecting the CSV resource in the
openshift-numaresources
namespace. Run the following command:
oc get csv -n openshift-numaresources
NAME DISPLAY VERSION REPLACES PHASE
numaresources-operator.v4.19.2 numaresources-operator 4.19.2 Succeeded