1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/nw-metalLB-basic-upgrade-operator.adoc
2023-10-31 18:14:08 +00:00

64 lines
1.5 KiB
Plaintext

// Module included in the following assemblies:
//
// * networking/metallb/metallb-upgrading-operator.adoc
:_mod-docs-content-type: PROCEDURE
[id="upgrading-metallb-operator_{context}"]
= Upgrading the MetalLB Operator
.Prerequisites
* Access the cluster as a user with the `cluster-admin` role.
.Procedure
. Verify that the `metallb-system` namespace still exists:
+
[source,terminal]
----
$ oc get namespaces | grep metallb-system
----
+
.Example output
[source,terminal]
----
metallb-system Active 31m
----
. Verify the `metallb` custom resource still exists:
+
[source,terminal]
----
$ oc get metallb -n metallb-system
----
+
.Example output
[source,terminal]
----
NAME AGE
metallb 33m
----
. Follow the guidance in "Installing from OperatorHub using the CLI" to install the latest {product-version} version of the MetalLB Operator.
+
[NOTE]
====
When installing the latest {product-version} version of the MetalLB Operator, you must install the Operator to the same namespace it was previously installed to.
====
. Verify the upgraded version of the Operator is now the {product-version} version.
+
[source,terminal]
----
$ oc get csv -n metallb-system
----
+
.Example output
[source,terminal,subs="attributes+"]
----
NAME DISPLAY VERSION REPLACES PHASE
metallb-operator.{product-version}.0-202207051316 MetalLB Operator {product-version}.0-202207051316 Succeeded
----