Skip to content

Commit cec5669

Browse files
Merge pull request #76285 from xenolinux/OSDOCS-10561
OSDOCS#10561: Add example OCP image
2 parents d5bdd4d + fddcf98 commit cec5669

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

modules/updating-hosted-cluster.adoc

+11-10
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $ oc annotate hostedcluster -n <hosted_cluster_namespace> <hosted_cluster_name>
1919
----
2020
+
2121
<1> Replace `<hosted_cluster_name>` and `<hosted_cluster_namespace>` with your hosted cluster name and hosted cluster namespace, respectively.
22-
<2> The `<openshift_release_image>` variable specifies the new {product-title} release image that you want to upgrade to.
22+
<2> The `<openshift_release_image>` variable specifies the new {product-title} release image that you want to upgrade to, for example, `quay.io/openshift-release-dev/ocp-release:4.y.z-x86_64`. Replace `<4.y.z>` with the supported {product-title} version.
2323

2424

2525
. Change the `spec.release.image` value in the hosted cluster by entering the following command:
@@ -43,15 +43,16 @@ $ oc get -n <hosted_cluster_namespace> hostedcluster <hosted_cluster_name> -o ya
4343
[source,yaml]
4444
----
4545
status:
46-
conditions:
47-
- lastTransitionTime: "2024-05-20T15:01:01Z"
48-
message: Payload loaded version="4.15.14" image="quay.io/openshift-release-dev/ocp-release:4.15.14-x86_64"
49-
status: "True"
50-
type: ClusterVersionReleaseAccepted
46+
conditions:
47+
- lastTransitionTime: "2024-05-20T15:01:01Z"
48+
message: Payload loaded version="4.y.z" image="quay.io/openshift-release-dev/ocp-release:4.y.z-x86_64" <1>
49+
status: "True"
50+
type: ClusterVersionReleaseAccepted
5151
#...
5252
version:
53-
availableUpdates: null
54-
desired:
55-
   image: quay.io/openshift-release-dev/ocp-release:4.15.14-x86_64
56-
   version: 4.15.14
53+
availableUpdates: null
54+
desired:
55+
image: quay.io/openshift-release-dev/ocp-release:4.y.z-x86_64 <1>
56+
version: 4.y.z
5757
----
58+
<1> Replace `<4.y.z>` with the supported {product-title} version.

modules/updating-node-pools-for-hcp.adoc

+8-7
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $ oc patch nodepool <node_pool_name> -n <hosted_cluster_namespace> --type=merge
1919
----
2020
+
2121
<1> Replace `<node_pool_name>` and `<hosted_cluster_namespace>` with your node pool name and hosted cluster namespace, respectively.
22-
<2> The `<openshift_release_image>` variable specifies the new {product-title} release image that you want to upgrade to.
22+
<2> The `<openshift_release_image>` variable specifies the new {product-title} release image that you want to upgrade to, for example, `quay.io/openshift-release-dev/ocp-release:4.y.z-x86_64`. Replace `<4.y.z>` with the supported {product-title} version.
2323
2424
.Verification
2525

@@ -34,10 +34,11 @@ $ oc get -n <hosted_cluster_namespace> nodepool <node_pool_name> -o yaml
3434
[source,yaml]
3535
----
3636
status:
37-
conditions:
38-
- lastTransitionTime: "2024-05-20T15:00:40Z"
39-
message: 'Using release image: quay.io/openshift-release-dev/ocp-release:4.15.14-x86_64'
40-
reason: AsExpected
41-
status: "True"
42-
type: ValidReleaseImage
37+
conditions:
38+
- lastTransitionTime: "2024-05-20T15:00:40Z"
39+
message: 'Using release image: quay.io/openshift-release-dev/ocp-release:4.y.z-x86_64' <1>
40+
reason: AsExpected
41+
status: "True"
42+
type: ValidReleaseImage
4343
----
44+
<1> Replace `<4.y.z>` with the supported {product-title} version.

0 commit comments

Comments
 (0)