Skip to content

Commit c507ac3

Browse files
committed
TELCODOCS-2056: Post-GA peer review comments for IBU/LCA
1 parent 0658abd commit c507ac3

16 files changed

+69
-69
lines changed

edge_computing/image_based_upgrade/cnf-understanding-image-based-upgrade.adoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,26 +46,26 @@ kind: ImageBasedUpgrade
4646
metadata:
4747
name: upgrade
4848
spec:
49-
stage: Idle <1>
50-
seedImageRef: <2>
49+
stage: Idle # <1>
50+
seedImageRef: # <2>
5151
version: <target_version>
5252
image: <seed_container_image>
5353
pullSecretRef:
5454
name: <seed_pull_secret>
5555
autoRollbackOnFailure: {}
56-
# initMonitorTimeoutSeconds: 1800 <3>
57-
extraManifests: <4>
56+
# initMonitorTimeoutSeconds: 1800 # <3>
57+
extraManifests: # <4>
5858
- name: example-extra-manifests
5959
namespace: openshift-lifecycle-agent
60-
oadpContent: <5>
60+
oadpContent: # <5>
6161
- name: oadp-cm-example
6262
namespace: openshift-adp
6363
----
64-
<1> Defines the desired stage for the `ImageBasedUpgrade` CR. The value can be `Idle`, `Prep`, `Upgrade`, or `Rollback`.
65-
<2> Defines the target platform version, the seed image to be used, and the secret required to access the image.
66-
<3> (Optional) Specify the time frame in seconds to roll back when the upgrade does not complete within that time frame after the first reboot. If not defined or set to `0`, the default value of `1800` seconds (30 minutes) is used.
67-
<4> (Optional) Specify the list of `ConfigMap` resources that contain your custom catalog sources to retain after the upgrade, and your extra manifests to apply to the target cluster that are not part of the seed image.
68-
<5> Specify the list of `ConfigMap` resources that contain the {oadp-short} `Backup` and `Restore` CRs.
64+
<1> Stage of the `ImageBasedUpgrade` CR. The value can be `Idle`, `Prep`, `Upgrade`, or `Rollback`.
65+
<2> Target platform version, seed image to be used, and the secret required to access the image.
66+
<3> Optional: Time frame in seconds to roll back when the upgrade does not complete within that time frame after the first reboot. If not defined or set to `0`, the default value of `1800` seconds (30 minutes) is used.
67+
<4> Optional: List of `ConfigMap` resources that contain your custom catalog sources to retain after the upgrade, and your extra manifests to apply to the target cluster that are not part of the seed image.
68+
<5> List of `ConfigMap` resources that contain the {oadp-short} `Backup` and `Restore` CRs.
6969

7070
include::modules/cnf-image-based-upgrade.adoc[leveloffset=+1]
7171

modules/cnf-image-based-upgrade-backup-guide.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ metadata:
6767
name: acm-klusterlet
6868
namespace: openshift-adp
6969
annotations:
70-
lca.openshift.io/apply-label: rbac.authorization.k8s.io/v1/clusterroles/klusterlet,apps/v1/deployments/open-cluster-management-agent/klusterlet <1>
70+
lca.openshift.io/apply-label: rbac.authorization.k8s.io/v1/clusterroles/klusterlet,apps/v1/deployments/open-cluster-management-agent/klusterlet # <1>
7171
labels:
7272
velero.io/storage-location: default
7373
spec:

modules/cnf-image-based-upgrade-configure-container-storage-image-cleanup.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Configure the minimum threshold for available storage space through annotations.
99

1010
.Prerequisites
1111

12-
* Create an `ImageBasedUpgrade` CR.
12+
* You have created an `ImageBasedUpgrade` CR.
1313
1414
.Procedure
1515

modules/cnf-image-based-upgrade-generate-seed-image.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ If you want to generate more seed images, you must provision a new seed cluster
143143

144144
.Verification
145145

146-
. After the cluster recovers and it is available, you can check the status of the `SeedGenerator` CR by running the following command:
146+
* After the cluster recovers and it is available, you can check the status of the `SeedGenerator` CR by running the following command:
147147
+
148148
--
149149
[source,terminal]

modules/cnf-image-based-upgrade-installing-lifecycle-agent-using-cli.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ You can use the OpenShift CLI (`oc`) to install the {lcao}.
99

1010
.Prerequisites
1111

12-
* Install the OpenShift CLI (`oc`).
13-
* Log in as a user with `cluster-admin` privileges.
12+
* You have installed the OpenShift CLI (`oc`).
13+
* You have logged in as a user with `cluster-admin` privileges.
1414
1515
.Procedure
1616

17-
. Create a `Namespace` object YAML file for the {lcao}, for example `lcao-namespace.yaml`:
17+
. Create a `Namespace` object YAML file for the {lcao}:
1818
+
1919
[source,yaml]
2020
----
@@ -30,10 +30,10 @@ metadata:
3030
+
3131
[source,terminal]
3232
----
33-
$ oc create -f lcao-namespace.yaml
33+
$ oc create -f <namespace_filename>.yaml
3434
----
3535

36-
. Create an `OperatorGroup` object YAML file for the {lcao}, for example `lcao-operatorgroup.yaml`:
36+
. Create an `OperatorGroup` object YAML file for the {lcao}:
3737
+
3838
[source,yaml]
3939
----
@@ -51,10 +51,10 @@ spec:
5151
+
5252
[source,terminal]
5353
----
54-
$ oc create -f lcao-operatorgroup.yaml
54+
$ oc create -f <operatorgroup_filename>.yaml
5555
----
5656

57-
. Create a `Subscription` CR, for example, `lcao-subscription.yaml`:
57+
. Create a `Subscription` CR for the {lcao}:
5858
+
5959
[source,yaml]
6060
----
@@ -74,7 +74,7 @@ spec:
7474
+
7575
[source,terminal]
7676
----
77-
$ oc create -f lcao-subscription.yaml
77+
$ oc create -f <subscription_filename>.yaml
7878
----
7979

8080
.Verification

modules/cnf-image-based-upgrade-installing-lifecycle-agent-using-web-console.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You can use the {product-title} web console to install the {lcao}.
99

1010
.Prerequisites
1111

12-
* Log in as a user with `cluster-admin` privileges.
12+
* You have logged in as a user with `cluster-admin` privileges.
1313
1414
.Procedure
1515

modules/cnf-image-based-upgrade-prep-oadp.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ Create your {oadp-short} resources that are used to back up and restore your res
99

1010
.Prerequisites
1111

12-
* Generate a seed image from a compatible seed cluster.
13-
* Create {oadp-short} backup and restore resources.
14-
* Create a separate partition on the target cluster for the container images that is shared between stateroots. For more information about, see "Configuring a shared container partition for the image-based upgrade".
15-
* Deploy a version of {lcao} that is compatible with the version used with the seed image.
16-
* Install the {oadp-short} Operator, the `DataProtectionApplication` CR, and its secret on the target cluster.
17-
* Create an S3-compatible storage solution and a ready-to-use bucket with proper credentials configured. For more information, see "About installing {oadp-short}".
12+
* You have generated a seed image from a compatible seed cluster.
13+
* You have created {oadp-short} backup and restore resources.
14+
* You have created a separate partition on the target cluster for the container images that is shared between stateroots. For more information, see "Configuring a shared container partition for the image-based upgrade".
15+
* You have deployed a version of {lcao} that is compatible with the version used with the seed image.
16+
* You have installed the {oadp-short} Operator, the `DataProtectionApplication` CR, and its secret on the target cluster.
17+
* You have created an S3-compatible storage solution and a ready-to-use bucket with proper credentials configured. For more information, see "About installing {oadp-short}".
1818
1919
.Procedure
2020

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,26 @@ metadata:
2727
spec:
2828
stage: Idle
2929
seedImageRef:
30-
version: 4.15.2 <1>
31-
image: <seed_container_image> <2>
32-
pullSecretRef: <seed_pull_secret> <3>
30+
version: 4.15.2 # <1>
31+
image: <seed_container_image> # <2>
32+
pullSecretRef: <seed_pull_secret> # <3>
3333
autoRollbackOnFailure: {}
34-
# initMonitorTimeoutSeconds: 1800 <4>
35-
extraManifests: <5>
34+
# initMonitorTimeoutSeconds: 1800 # <4>
35+
extraManifests: # <5>
3636
- name: example-extra-manifests-cm
3737
namespace: openshift-lifecycle-agent
3838
- name: example-catalogsources-cm
3939
namespace: openshift-lifecycle-agent
40-
oadpContent: <6>
40+
oadpContent: # <6>
4141
- name: oadp-cm-example
4242
namespace: openshift-adp
4343
----
44-
<1> Specify the target platform version. The value must match the version of the seed image.
45-
<2> Specify the repository where the target cluster can pull the seed image from.
46-
<3> Specify the reference to a secret with credentials to pull container images if the images are in a private registry.
47-
<4> (Optional) Specify the time frame in seconds to roll back if the upgrade does not complete within that time frame after the first reboot. If not defined or set to `0`, the default value of `1800` seconds (30 minutes) is used.
48-
<5> (Optional) Specify the list of `ConfigMap` resources that contain your custom catalog sources to retain after the upgrade and your extra manifests to apply to the target cluster that are not part of the seed image.
49-
<6> Add the `oadpContent` section with the {oadp-short} `ConfigMap` information.
44+
<1> Target platform version. The value must match the version of the seed image.
45+
<2> Repository where the target cluster can pull the seed image from.
46+
<3> Reference to a secret with credentials to pull container images if the images are in a private registry.
47+
<4> Optional: Time frame in seconds to roll back if the upgrade does not complete within that time frame after the first reboot. If not defined or set to `0`, the default value of `1800` seconds (30 minutes) is used.
48+
<5> Optional: List of `ConfigMap` resources that contain your custom catalog sources to retain after the upgrade and your extra manifests to apply to the target cluster that are not part of the seed image.
49+
<6> List of `ConfigMap` resources that contain the {oadp-short} `Backup` and `Restore` CRs.
5050

5151
. To start the `Prep` stage, change the value of the `stage` field to `Prep` in the `ImageBasedUpgrade` CR by running the following command:
5252
+
@@ -68,11 +68,11 @@ These warnings, for example missing CRDs, namespaces, or dry run failures, updat
6868
.Example validation warning
6969
[source,yaml]
7070
----
71-
[...]
71+
# ...
7272
metadata:
7373
annotations:
7474
extra-manifest.lca.openshift.io/validation-warning: '...'
75-
[...]
75+
# ...
7676
----
7777

7878
However, validation errors, such as adding `MachineConfig` or Operator manifests to extra manifests, cause the `Prep` stage to fail and block the `Upgrade` stage.

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ spec:
2020
version: 4.15.2
2121
image: <seed_container_image>
2222
autoRollbackOnFailure: {}
23-
# initMonitorTimeoutSeconds: 1800 <1>
24-
[...]
23+
# initMonitorTimeoutSeconds: 1800 # <1>
24+
# ...
2525
----
26-
<1> (Optional) Specify the time frame in seconds to roll back if the upgrade does not complete within that time frame after the first reboot. If not defined or set to `0`, the default value of `1800` seconds (30 minutes) is used.
26+
<1> Optional: The time frame in seconds to roll back if the upgrade does not complete within that time frame after the first reboot. If not defined or set to `0`, the default value of `1800` seconds (30 minutes) is used.
2727

2828
You can manually roll back the changes if you encounter unresolvable issues after an upgrade.
2929

3030
.Prerequisites
3131

32-
* Log in to the hub cluster as a user with `cluster-admin` privileges.
33-
* Ensure that the control plane certificates on the original stateroot are valid. If the certificates expired, see "Recovering from expired control plane certificates".
32+
* You have logged into the hub cluster as a user with `cluster-admin` privileges.
33+
* You ensured that the control plane certificates on the original stateroot are valid. If the certificates expired, see "Recovering from expired control plane certificates".
3434
3535
.Procedure
3636

modules/cnf-image-based-upgrade-seed-image-config.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ endif::[]
6868
|====
6969
. Dual-stack networking is not supported in this release.
7070
. If the seed cluster is installed in a disconnected environment, the target clusters must also be installed in a disconnected environment.
71-
. The proxy configuration does not have to be the same.
71+
. The proxy configuration on the seed and target clusters does not have to match.
7272
7373
[id="ztp-image-based-upgrade-seed-image-config-ran_{context}"]
7474
== Seed image configuration using the RAN DU profile

0 commit comments

Comments
 (0)