Skip to content

Commit 98fe815

Browse files
authored
Merge pull request #36464 from ousleyp/cnv-14044
CNV-14044: fixing upgrade and install docs for 4.8 and beyond
2 parents 1fe3614 + 768242b commit 98fe815

6 files changed

+30
-55
lines changed

modules/olm-approving-pending-upgrade.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Module included in the following assemblies:
22
//
33
// * operators/admin/olm-upgrading-operators.adoc
4+
// * virt/upgrading-virt.adoc
45

56
[id="olm-approving-pending-upgrade_{context}"]
67
= Manually approving a pending Operator upgrade

modules/virt-about-upgrading-virt.adoc

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,23 @@
55
[id="virt-about-upgrading-virt_{context}"]
66
= About upgrading {VirtProductName}
77

8+
[id="how-upgrades-work_{context}"]
89
== How {VirtProductName} upgrades work
910

10-
* You can upgrade to the next minor version of {VirtProductName} by using the
11-
{product-title} web console to change the channel of your Operator subscription.
11+
* Operator Lifecycle Manager (OLM) manages the lifecycle of the {VirtProductName} Operator. The Marketplace Operator, which is deployed during {product-title} installation, makes external Operators available to your cluster.
1212

13-
* You can enable automatic _z-stream_ updates during {VirtProductName} installation.
13+
* OLM provides z-stream and minor version updates for {VirtProductName}. Minor version updates become available when you upgrade {product-title} to the next minor version. You cannot upgrade {VirtProductName} to the next minor version without first upgrading {product-title}.
1414

15-
* Updates are delivered via the _Marketplace Operator_, which is deployed
16-
during {product-title} installation. The Marketplace Operator makes
17-
external Operators available to your cluster.
15+
* {VirtProductName} subscriptions use a single update channel that is named *stable*. The *stable* channel ensures that your {VirtProductName} and {product-title} versions are compatible.
16+
17+
* If your subscription's approval strategy is set to *Automatic*, the upgrade process starts as soon as a new version of the Operator is available in the *stable* channel. It is highly recommended to use the *Automatic* approval strategy to maintain a supportable environment. Each minor version of {VirtProductName} is only supported if you run the corresponding {product-title} version. For example, you must run {VirtProductName} {VirtVersion} on {product-title} {VirtVersion}.
18+
19+
** Though it is possible to select the *Manual* approval strategy, this is not recommended because it risks the supportability and functionality of your cluster. With the *Manual* approval strategy, you must manually approve every pending update. If {product-title} and {VirtProductName} updates are out of sync, your cluster becomes unsupported.
1820

1921
* The amount of time an update takes to complete depends on your network
2022
connection. Most automatic updates complete within fifteen minutes.
2123

24+
[id="how-upgrades-affect-cluster_{context}"]
2225
== How {VirtProductName} upgrades affect your cluster
2326

2427
* Upgrading does not interrupt virtual machine workloads.

modules/virt-installing-virt-operator.adoc

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ You can install the {VirtProductName} Operator from the {product-title} web cons
1414

1515
.Procedure
1616

17-
. Open a browser window and log in to the {product-title} web console.
18-
1917
. From the *Administrator* perspective, click *Operators* -> *OperatorHub*.
2018

2119
. In the *Filter by keyword* field, type *{VirtProductName}*.
@@ -26,9 +24,7 @@ You can install the {VirtProductName} Operator from the {product-title} web cons
2624

2725
. On the *Install Operator* page:
2826

29-
.. Select *stable* from the list of available *Update Channel* options. This ensures that:
30-
* You install the version of {VirtProductName} that is compatible with your {product-title} version.
31-
* When you update {product-title}, {VirtProductName} automatically updates to the next minor version.
27+
.. Select *stable* from the list of available *Update Channel* options. This ensures that you install the version of {VirtProductName} that is compatible with your {product-title} version.
3228

3329
.. For *Installed Namespace*, ensure that the *Operator recommended namespace* option is selected. This installs the Operator in the mandatory `openshift-cnv` namespace, which is automatically created if it does not exist.
3430
+
@@ -37,7 +33,14 @@ You can install the {VirtProductName} Operator from the {product-title} web cons
3733
Attempting to install the {VirtProductName} Operator in a namespace other than `openshift-cnv` causes the installation to fail.
3834
====
3935

40-
.. For *Approval Strategy*, ensure that *Automatic*, which is the default value, is selected. {VirtProductName} automatically updates when a new z-stream release is available.
36+
.. For *Approval Strategy*, it is highly recommended that you select *Automatic*, which is the default value, so that {VirtProductName} automatically updates when a new version is available in the *stable* update channel.
37+
+
38+
While it is possible to select the *Manual* approval strategy, this is inadvisable because of the high risk that it presents to the supportability and functionality of your cluster. Only select *Manual* if you fully understand these risks and cannot use *Automatic*.
39+
+
40+
[WARNING]
41+
====
42+
Because {VirtProductName} is only supported when used with the corresponding {product-title} version, missing {VirtProductName} updates can cause your cluster to become unsupported.
43+
====
4144

4245
. Click *Install* to make the Operator available to the `openshift-cnv` namespace.
4346

modules/virt-monitoring-upgrade-status.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ available information.
2626
+
2727
[source,terminal]
2828
----
29-
$ oc get csv
29+
$ oc get csv -n openshift-cnv
3030
----
3131

3232
. Review the output, checking the `PHASE` field. For example:
@@ -35,8 +35,8 @@ $ oc get csv
3535
[source,terminal,subs="attributes+"]
3636
----
3737
VERSION REPLACES PHASE
38-
2.5.0 kubevirt-hyperconverged-operator.v2.4.3 Installing
39-
2.4.3 Replacing
38+
4.8.0 kubevirt-hyperconverged-operator.v2.6.5 Installing
39+
4.8.1 kubevirt-hyperconverged-operator.v4.8.0 Replacing
4040
----
4141

4242
. Optional: Monitor the aggregated status of all {VirtProductName} component

modules/virt-upgrading-virt.adoc

Lines changed: 0 additions & 37 deletions
This file was deleted.

virt/upgrading-virt.adoc

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
11
[id="upgrading-virt"]
22
= Upgrading {VirtProductName}
33
include::modules/virt-document-attributes.adoc[]
4+
include::modules/common-attributes.adoc[]
45
:context: upgrading-virt
56

67
toc::[]
78

8-
You can manually upgrade to the next minor version of {VirtProductName} and
9-
monitor the status of an update by using the web console.
9+
Learn how Operator Lifecycle Manager (OLM) delivers z-stream and minor version updates for {VirtProductName}.
1010

1111
include::modules/virt-about-upgrading-virt.adoc[leveloffset=+1]
1212

1313
//include::modules/virt-upgrade-pathways.adoc[leveloffset=+1]
1414

15-
include::modules/virt-upgrading-virt.adoc[leveloffset=+1]
15+
include::modules/olm-approving-pending-upgrade.adoc[leveloffset=+1]
1616

1717
include::modules/virt-monitoring-upgrade-status.adoc[leveloffset=+1]
1818

19+
[id="additional-resources_upgrading-virt"]
1920
== Additional resources
2021

22+
* xref:../operators/understanding/olm-what-operators-are.adoc#olm-what-operators-are[What are Operators?]
23+
24+
* xref:../operators/understanding/olm/olm-understanding-olm.adoc#olm-understanding-olm[Operator Lifecycle Manager concepts and resources]
25+
2126
* xref:../operators/understanding/olm/olm-understanding-olm.adoc#olm-csv_olm-understanding-olm[Cluster service versions (CSVs)]
2227

2328
* xref:../virt/live_migration/virt-configuring-vmi-eviction-strategy.adoc#virt-configuring-vmi-eviction-strategy[Configuring virtual machine eviction strategy]

0 commit comments

Comments
 (0)