Skip to content

Commit 1fbfee6

Browse files
committed
BZ#2021461: MetalLB Operator install errors
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2021461
1 parent c25d862 commit 1fbfee6

File tree

2 files changed

+27
-17
lines changed

2 files changed

+27
-17
lines changed

modules/nw-metallb-installing-operator-cli.adoc

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
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
----
2428
NAME 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
6771
metallb-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:
10595
spec:
10696
channel: "${OC_VERSION}"
10797
name: metallb-operator
108-
source: community-operators
98+
source: redhat-operators
10999
sourceNamespace: openshift-marketplace
110100
EOF
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 \
124128
Name Phase
125129
metallb-operator.4.9.0-nnnnnnnnnnnn Succeeded
126130
----
131+

modules/nw-metallb-operator-initial-config.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * networking/metallb/metallb-operator-install.adoc
4+
15
[id="nw-metallb-operator-initial-config_{context}"]
26
= Starting MetalLB on your cluster
37

@@ -18,7 +22,7 @@ After you install the Operator, you need to configure a single instance of a Met
1822
[source,terminal]
1923
----
2024
$ cat << EOF | oc apply -f -
21-
apiVersion: metallb.io/v1alpha1
25+
apiVersion: metallb.io/v1beta1
2226
kind: MetalLB
2327
metadata:
2428
name: metallb
@@ -59,3 +63,4 @@ speaker 6 6 6 6 6 kubernetes.io/os=
5963
----
6064
+
6165
The example output indicates 6 speaker pods. The number of speaker pods in your cluster might differ from the example output. Make sure the output indicates one pod for each node in your cluster.
66+

0 commit comments

Comments
 (0)