1+ // Module included in the following assemblies:
2+ //
3+ // * networking/metallb/metallb-operator-install.adoc
4+
15[id="nw-metallb-installing-operator-cli_{context}"]
26= Installing from OperatorHub using the CLI
37
@@ -22,7 +26,7 @@ $ oc get packagemanifests -n openshift-marketplace metallb-operator
2226[source,terminal]
2327----
2428NAME CATALOG AGE
25- metallb-operator Community Operators 9h
29+ metallb-operator Red Hat Operators 9h
2630----
2731
2832. Create the `metallb-system` namespace:
@@ -67,20 +71,6 @@ NAME AGE
6771metallb-operator 14m
6872----
6973
70- . Confirm the install plan is in the namespace:
71- +
72- [source,terminal]
73- ----
74- $ oc get installplan -n metallb-system
75- ----
76- +
77- .Example output
78- [source,terminal]
79- ----
80- NAME CSV APPROVAL APPROVED
81- install-wzg94 metallb-operator.4.9.0-nnnnnnnnnnnn Automatic true
82- ----
83-
8474. Subscribe to the MetalLB Operator.
8575
8676.. Run the following command to get the {product-title} major and minor version. You use the values to set the `channel` value in the next
@@ -105,11 +95,25 @@ metadata:
10595spec:
10696 channel: "${OC_VERSION}"
10797 name: metallb-operator
108- source: community -operators
98+ source: redhat -operators
10999 sourceNamespace: openshift-marketplace
110100EOF
111101----
112102
103+ . Confirm the install plan is in the namespace:
104+ +
105+ [source,terminal]
106+ ----
107+ $ oc get installplan -n metallb-system
108+ ----
109+ +
110+ .Example output
111+ [source,terminal]
112+ ----
113+ NAME CSV APPROVAL APPROVED
114+ install-wzg94 metallb-operator.4.9.0-nnnnnnnnnnnn Automatic true
115+ ----
116+
113117. To verify that the Operator is installed, enter the following command:
114118+
115119[source,terminal]
@@ -124,3 +128,4 @@ $ oc get clusterserviceversion -n metallb-system \
124128Name Phase
125129metallb-operator.4.9.0-nnnnnnnnnnnn Succeeded
126130----
131+
0 commit comments