Skip to content

Commit 839ab77

Browse files
authored
Merge pull request #40317 from JStickler/OSSMDOC-437
OSSMDOC-437: Upgrade revisions and maistra.io label warning.
2 parents 7c83c1d + 0b73be8 commit 839ab77

File tree

7 files changed

+603
-526
lines changed

7 files changed

+603
-526
lines changed

_topic_maps/_topic_map.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2756,9 +2756,7 @@ Topics:
27562756
File: ossm-create-mesh
27572757
- Name: Enabling sidecar injection
27582758
File: prepare-to-deploy-applications-ossm
2759-
- Name: Upgrading from 2.0 to 2.1
2760-
File: upgrading-ossm-to-2-1
2761-
- Name: Upgrading from 1.1 to 2.0
2759+
- Name: Upgrading Service Mesh
27622760
File: upgrading-ossm
27632761
- Name: Managing users and profiles
27642762
File: ossm-profiles-users

modules/ossm-migrating-to-20.adoc

Lines changed: 523 additions & 0 deletions
Large diffs are not rendered by default.

modules/ossm-understanding-versions.adoc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
// * service_mesh/v2x/ossm-troubleshooting.adoc
55

66
[id="ossm-versions_{context}"]
7-
= Understanding Service Mesh versioning
7+
= Understanding Service Mesh versions
88

9-
The {ProductName} 2.0 Operator supports both v1 and v2 service meshes.
9+
In order to understand what version of {ProductName} you have deployed on your system, you need to understand how each of the component versions is managed.
1010

11-
* *Operator* version - The current Operator version is {ProductVersion}. This version number only indicates the version of the currently installed Operator. This version number is controlled by the intersection of the *Update Channel* and *Approval Strategy* specified in your Operator subscription. The version of the Operator does not determine which version of the `ServiceMeshControlPlane` resource is deployed. Upgrading to the latest Operator does *not* automatically upgrade your service mesh control plane to the latest version.
11+
The {ProductName} 2.x Operator supports both v1x and v2x service meshes.
12+
13+
* *Operator* version - The current Operator version is {ProductVersion}. This version number only indicates the version of the currently installed Operator. This version number is controlled by the intersection of the *Update Channel* and *Approval Strategy* specified in your Operator subscription. The version of the Operator does not determine which version of the `ServiceMeshControlPlane` resource is deployed.
1214
+
1315
[IMPORTANT]
1416
====
@@ -21,6 +23,6 @@ Upgrading to the latest Operator version does not automatically upgrade your con
2123

2224
** To configure in the YAML View, set the value for `spec.version` in the YAML file.
2325

24-
* *Control Plane* version - The version parameter specified within the SMCP resource file as `spec.version`. Supported versions are v1.1 and v2.0.
26+
* *Control Plane* version - The version parameter specified within the SMCP resource file as `spec.version`. Supported versions are v1.1, v2.0, and v2.1.
2527

26-
The Operator Lifecycle Manager (OLM) does not manage upgrades from v1 to v2, so the version number for your Operator and `ServiceMeshControlPlane` (SMCP) may not match, unless you have manually upgraded your SMCP.
28+
Operator Lifecycle Manager (OLM) does not manage control plane upgrades, so the version number for your Operator and `ServiceMeshControlPlane` (SMCP) may not match, unless you have manually upgraded your SMCP.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Module included in the following assemblies:
2+
// * service_mesh/v2x/upgrading-ossm.adoc
3+
4+
[id="ossm-upgrade-considerations_{context}"]
5+
= Upgrade considerations
6+
7+
The `maistra.io/` label or annotation should not be used on a user-created custom resource, because it indicates that the resource was generated by and should be managed by the {ProductName} Operator.
8+
9+
[WARNING]
10+
====
11+
During the upgrade, the Operator makes changes, including deleting or replacing files, to resources that include the following labels or annotations that indicate that the resource is managed by the Operator.
12+
====
13+
14+
Before upgrading check for user-created custom resources that include the following labels or annotations:
15+
16+
* `maistra.io/` AND the `app.kubernetes.io/managed-by` label set to `maistra-istio-operator` ({ProductName})
17+
18+
* `kiali.io/` (Kiali)
19+
20+
* `jaegertracing.io/` ({JaegerName})
21+
22+
* `logging.openshift.io/` (Red Hat Elasticsearch)
23+
24+
Before upgrading, check your user-created custom resources for labels or annotations that indicate they are Operator managed. Remove the label or annotation from custom resources that you do not want to be managed by the Operator.
25+
26+
When upgrading to version 2.0, the Operator only deletes resources with these labels in the same namespace as the SMCP.
27+
28+
When upgrading to version 2.1, the Operator deletes resources with these labels in all namespaces.

modules/ossm-upgrading-operator.adoc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Module included in the following assemblies:
2+
// * service_mesh/v2x/upgrading-ossm.adoc
3+
4+
[id="ossm-upgrading-operator_{context}"]
5+
= Upgrading the Operators
6+
7+
[IMPORTANT]
8+
====
9+
The version of the Operator does _not_ determine the version of your service mesh. The current Operator supports both v1 and v2 service meshes.
10+
11+
Updating the Operator does not affect the version of any component other than the Operator. Updating the Operators does _not_ update the `ServiceMeshControlPlane` version or deployments.
12+
====
13+
14+
When you installed your Operators, you selected an *Update Channel* and an *Approval Strategy*. Those two settings determine when and how your Operators are updated.
15+
16+
.Interaction of Update Channel and Approval Strategy
17+
[options="header"]
18+
[cols="a, a, a"]
19+
|====
20+
| |Versioned channel|"Stable" or "Preview" channel
21+
|*Automatic*
22+
|Automatically updates Operator for minor and patch releases for that version only. Will not automatically update to the next major version (that is, from version 2.0 to 3.0). Manual change to Operator subscription required to update to the next major version.
23+
|Automatically updates Operator for all major, minor, and patch releases.
24+
25+
|*Manual*
26+
|Manual updates required for minor and patch releases for the specified version. Manual change to Operator subscription required to update to the next major version.
27+
|Manual updates required for all major, minor, and patch releases.
28+
|====

service_mesh/v2x/upgrading-ossm-to-2-1.adoc renamed to modules/ossm-upgrading-to-21.adoc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
[id="upgrading-ossm-to-2-1"]
2-
= Upgrading Service Mesh from version 2.0 to version 2.1
3-
include::modules/ossm-document-attributes.adoc[]
4-
:context: upgrading-ossm-to-2-1
1+
// Module included in the following assemblies:
2+
// * service_mesh/v2x/upgrading-ossm.adoc
53

6-
toc::[]
4+
[id="ossm-upgrading-to-21_{context}"]
5+
= Upgrading {ProductName} from version 2.0 to version 2.1
76

87
Upgrading from version 2.0 to 2.1 requires manual steps that migrate your workloads and application to a new instance of {ProductName} running the new version.
98

0 commit comments

Comments
 (0)