Skip to content

Commit 55d637b

Browse files
authored
Merge pull request #86812 from amolnar-rh/TELCODOCS-2155
TELCODOCS-2155: Fix indentation in IBGU examples
2 parents f165935 + 96dacc0 commit 55d637b

6 files changed

+62
-62
lines changed

modules/cnf-image-based-upgrade-troubleshooting.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Perform troubleshooting steps on the managed clusters that are affected by an is
1010

1111
[IMPORTANT]
1212
====
13-
If you are using the `ImageBasedGroupUpgrade` CR to upgrade your clusters, ensure that the `lcm.openshift.io/ibgu-<stage>-completed or `lcm.openshift.io/ibgu-<stage>-failed` cluster labels are updated properly after performing troubleshooting or recovery steps on the managed clusters.
13+
If you are using the `ImageBasedGroupUpgrade` CR to upgrade your clusters, ensure that the `lcm.openshift.io/ibgu-<stage>-completed` or `lcm.openshift.io/ibgu-<stage>-failed` cluster labels are updated properly after performing troubleshooting or recovery steps on the managed clusters.
1414
This ensures that the {cgu-operator} continues to manage the image-based upgrade for the cluster.
1515
====
1616

modules/ztp-image-based-upgrade-concept.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
:_mod-docs-content-type: CONCEPT
55
[id="ztp-image-based-upgrade-concept_{context}"]
6-
= Managing the image-based upgrade at scale using the `ImageBasedGroupUpgrade` CR on the hub
6+
= Managing the image-based upgrade at scale using the ImageBasedGroupUpgrade CR on the hub
77

88
The `ImageBasedGroupUpgrade` CR combines the `ImageBasedUpgrade` and `ClusterGroupUpgrade` APIs.
99
For example, you can define the cluster selection and rollout strategy with the `ImageBasedGroupUpgrade` API in the same way as the `ClusterGroupUpgrade` API.
@@ -131,15 +131,15 @@ This ensures that the {cgu-operator} continues to manage the image-based upgrade
131131
====
132132

133133
For example, if you want to cancel the upgrade for all managed clusters except for clusters that successfully completed the upgrade, you can add an `Abort` action to your plan.
134-
The `Abort` action moves back the `ImageBasedUpgrade` CR to `Idle` stage, which cancels the upgrade on not yet upgraded clusters.
134+
The `Abort` action moves back the `ImageBasedUpgrade` CR to the `Idle` stage, which cancels the upgrade on clusters that are not yet upgraded.
135135
Adding a separate `Abort` action ensures that the {cgu-operator} does not perform the `Abort` action on clusters that have the `lcm.openshift.io/ibgu-upgrade-completed` label.
136136

137137
The cluster labels are removed after successfully canceling or finalizing the upgrade.
138138

139139
[id="ztp-image-based-upgrade-status-monitoring_{context}"]
140140
== Status monitoring
141141

142-
The `ImageBasedGroupUpgrade` CR ensures better monitoring experience with a comprehensive status reporting for all clusters that is aggregated in one place.
142+
The `ImageBasedGroupUpgrade` CR ensures a better monitoring experience with a comprehensive status reporting for all clusters that is aggregated in one place.
143143
You can monitor the following actions:
144144

145145
`status.clusters.completedActions`:: Shows all completed actions defined in the `plan` section.

modules/ztp-image-based-upgrade-procedure-cancel.adoc

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,28 +26,28 @@ metadata:
2626
namespace: default
2727
spec:
2828
clusterLabelSelectors:
29-
- matchExpressions:
30-
- key: name
31-
operator: In
32-
values:
33-
- spoke4
29+
- matchExpressions:
30+
- key: name
31+
operator: In
32+
values:
33+
- spoke4
3434
ibuSpec:
3535
seedImageRef:
3636
image: quay.io/seed/image:4.16.0-rc.1
3737
version: 4.16.0-rc.1
3838
pullSecretRef:
3939
name: "<seed_pull_secret>"
40-
extraManifests:
41-
- name: example-extra-manifests
42-
namespace: openshift-lifecycle-agent
43-
oadpContent:
44-
- name: oadp-cm
45-
namespace: openshift-adp
40+
extraManifests:
41+
- name: example-extra-manifests
42+
namespace: openshift-lifecycle-agent
43+
oadpContent:
44+
- name: oadp-cm
45+
namespace: openshift-adp
4646
plan:
47-
- actions: ["Abort"]
48-
rolloutStrategy:
49-
maxConcurrency: 5
50-
timeout: 10
47+
- actions: ["Abort"]
48+
rolloutStrategy:
49+
maxConcurrency: 5
50+
timeout: 10
5151
----
5252
+
5353
All managed clusters that completed the `Prep` stage are moved back to the `Idle` stage.

modules/ztp-image-based-upgrade-procedure-rollback.adoc

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,28 +27,28 @@ metadata:
2727
namespace: default
2828
spec:
2929
clusterLabelSelectors:
30-
- matchExpressions:
31-
- key: name
32-
operator: In
33-
values:
34-
- spoke4
30+
- matchExpressions:
31+
- key: name
32+
operator: In
33+
values:
34+
- spoke4
3535
ibuSpec:
3636
seedImageRef:
3737
image: quay.io/seed/image:4.17.0-rc.1
3838
version: 4.17.0-rc.1
3939
pullSecretRef:
4040
name: "<seed_pull_secret>"
41-
extraManifests:
42-
- name: example-extra-manifests
43-
namespace: openshift-lifecycle-agent
44-
oadpContent:
45-
- name: oadp-cm
46-
namespace: openshift-adp
41+
extraManifests:
42+
- name: example-extra-manifests
43+
namespace: openshift-lifecycle-agent
44+
oadpContent:
45+
- name: oadp-cm
46+
namespace: openshift-adp
4747
plan:
48-
- actions: ["Rollback", "FinalizeRollback"]
49-
rolloutStrategy:
50-
maxConcurrency: 200
51-
timeout: 2400
48+
- actions: ["Rollback", "FinalizeRollback"]
49+
rolloutStrategy:
50+
maxConcurrency: 200
51+
timeout: 2400
5252
----
5353

5454
. Apply the created file by running the following command on the hub cluster:

modules/ztp-image-based-upgrade-procedure-steps.adoc

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -30,30 +30,30 @@ metadata:
3030
namespace: default
3131
spec:
3232
clusterLabelSelectors: # <1>
33-
- matchExpressions:
34-
- key: name
35-
operator: In
36-
values:
37-
- spoke1
38-
- spoke4
39-
- spoke6
33+
- matchExpressions:
34+
- key: name
35+
operator: In
36+
values:
37+
- spoke1
38+
- spoke4
39+
- spoke6
4040
ibuSpec:
4141
seedImageRef: # <2>
4242
image: quay.io/seed/image:4.16.0-rc.1
4343
version: 4.16.0-rc.1
4444
pullSecretRef:
4545
name: "<seed_pull_secret>"
46-
extraManifests: # <3>
47-
- name: example-extra-manifests
48-
namespace: openshift-lifecycle-agent
49-
oadpContent: # <4>
50-
- name: oadp-cm
51-
namespace: openshift-adp
46+
extraManifests: # <3>
47+
- name: example-extra-manifests
48+
namespace: openshift-lifecycle-agent
49+
oadpContent: # <4>
50+
- name: oadp-cm
51+
namespace: openshift-adp
5252
plan: # <5>
53-
- actions: ["Prep"]
54-
rolloutStrategy:
55-
maxConcurrency: 2
56-
timeout: 2400
53+
- actions: ["Prep"]
54+
rolloutStrategy:
55+
maxConcurrency: 2
56+
timeout: 2400
5757
----
5858
<1> Clusters to upgrade.
5959
<2> Target platform version, the seed image to be used, and the secret required to access the image.

snippets/ibu-ImageBasedGroupUpgrade.adoc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ metadata:
77
namespace: default
88
spec:
99
clusterLabelSelectors: # <1>
10-
- matchExpressions:
11-
- key: name
12-
operator: In
13-
values:
14-
- spoke1
15-
- spoke4
16-
- spoke6
10+
- matchExpressions:
11+
- key: name
12+
operator: In
13+
values:
14+
- spoke1
15+
- spoke4
16+
- spoke6
1717
ibuSpec:
1818
seedImageRef: # <2>
1919
image: quay.io/seed/image:4.17.0-rc.1
@@ -27,10 +27,10 @@ spec:
2727
- name: oadp-cm
2828
namespace: openshift-adp
2929
plan: # <5>
30-
- actions: ["Prep", "Upgrade", "FinalizeUpgrade"]
31-
rolloutStrategy:
32-
maxConcurrency: 200 # <6>
33-
timeout: 2400 # <7>
30+
- actions: ["Prep", "Upgrade", "FinalizeUpgrade"]
31+
rolloutStrategy:
32+
maxConcurrency: 200 # <6>
33+
timeout: 2400 # <7>
3434
----
3535
<1> Clusters to upgrade.
3636
<2> Target platform version, the seed image to be used, and the secret required to access the image.

0 commit comments

Comments
 (0)