File tree Expand file tree Collapse file tree 2 files changed +4
-30
lines changed
Expand file tree Collapse file tree 2 files changed +4
-30
lines changed Original file line number Diff line number Diff line change 6464$ oc create -f nfd-operatorgroup.yaml
6565----
6666
67- .. Run the following command to get the `channel` value required for the next step.
68- +
69- [source,terminal]
70- ----
71- $ oc get packagemanifest nfd -n openshift-marketplace -o jsonpath='{.status.defaultChannel}'
72- ----
73- +
74- .Example output
75- [source,terminal]
76- ----
77- 4.10
78- ----
79-
8067.. Create the following `Subscription` CR and save the YAML in the `nfd-sub.yaml` file:
8168+
8269.Example Subscription
@@ -88,7 +75,7 @@ metadata:
8875 name: nfd
8976 namespace: openshift-nfd
9077spec:
91- channel: "4.10 "
78+ channel: "stable "
9279 installPlanApproval: Automatic
9380 name: nfd
9481 source: redhat-operators
Original file line number Diff line number Diff line change 6060$ oc create -f sro-operatorgroup.yaml
6161----
6262
63- .. Run the following `oc get` command to get the `channel` value required for the next step:
64- +
65- [source,terminal]
66- ----
67- $ oc get packagemanifest openshift-special-resource-operator -n openshift-marketplace -o jsonpath='{.status.defaultChannel}'
68- ----
69- +
70- .Example output
71- [source,terminal]
72- ----
73- 4.9
74- ----
75-
7663.. Create the following `Subscription` CR and save the YAML in the `sro-sub.yaml` file:
7764+
7865.Example Subscription CR
@@ -84,13 +71,12 @@ metadata:
8471 name: openshift-special-resource-operator
8572 namespace: openshift-special-resource-operator
8673spec:
87- channel: "4.9" <1>
74+ channel: "stable"
8875 installPlanApproval: Automatic
8976 name: openshift-special-resource-operator
9077 source: redhat-operators
9178 sourceNamespace: openshift-marketplace
9279----
93- <1> Replace the channel value with the output from the previous command.
9480
9581.. Create the subscription object by running the following command:
9682+
@@ -119,7 +105,8 @@ $ oc get pods
119105[source,terminal]
120106----
121107NAME READY STATUS RESTARTS AGE
122- special-resource-controller-manager-7bfb544d45-xx62r 2/2 Running 0 2m28s
108+ nfd-controller-manager-7f4c5f5778-4lvvk 2/2 Running 0 89s
109+ special-resource-controller-manager-6dbf7d4f6f-9kl8h 2/2 Running 0 81s
123110----
124111+
125112A successful deployment shows a `Running` status.
You can’t perform that action at this time.
0 commit comments