Skip to content

Commit 675a695

Browse files
committed
OSDOCS#14017: HostedCluster and NodePool version compatibility
1 parent 123a0bd commit 675a695

File tree

6 files changed

+46
-3
lines changed

6 files changed

+46
-3
lines changed

hosted_control_planes/hcp-updating.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ include::modules/hcp-updating-requirements.adoc[leveloffset=+1]
1919
* xref:../hosted_control_planes/hcp-updating.adoc#hcp-update-ocp-hc_hcp-updating[Updating a control plane in a hosted cluster]
2020
* xref:../hosted_control_planes/hcp-updating.adoc#hcp-update-node-pools_hcp-updating[Updating node pools in a hosted cluster]
2121
22+
// HostedCluster and NodePool version compatibility check (SupportedVersionSkew)
23+
include::modules/hcp-np-version-skew.adoc[leveloffset=+1]
24+
2225
include::modules/hcp-get-ocp-channel.adoc[leveloffset=+1]
2326

2427
include::modules/hcp-get-upgrade-versions.adoc[leveloffset=+1]

hosted_control_planes/index.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ include::modules/hosted-control-planes-version-support.adoc[leveloffset=+1]
2121

2222
[role="_additional-resources"]
2323
.Additional resources
24+
* xref:../hosted_control_planes/hcp-updating/hcp-np-version-skew.adoc#hcp-np-version-skew_hcp-updating[HostedCluster and NodePool version compatibility]
2425
* link:https://amd64.ocp.releases.ci.openshift.org/[AMD64 release images]
2526
* link:https://arm64.ocp.releases.ci.openshift.org/[ARM64 release images]
2627
* link:https://multi.ocp.releases.ci.openshift.org/[Multi-arch release images]

modules/hcp-np-version-skew.adoc

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * hosted_control_planes/hcp-updating.adoc
4+
5+
6+
:_mod-docs-content-type: REFERENCE
7+
[id="hcp-np-version-skew_{context}"]
8+
= HostedCluster and NodePool version compatibility
9+
10+
In {hcp}, you can check that your `NodePool` version is compatible with your `HostedCluster` version.
11+
12+
Review the following supported node pool version rules:
13+
14+
* `NodePool` version cannot be higher than the `HostedCluster` version.
15+
16+
** For `4.<x>` versions, where `<x>` is an _even_ release number, such as 4.18, you must use up to 2 minor versions, for example, 4.17 and 4.16.
17+
18+
** For `4.<x>` versions, where `<x>` is an _odd_ release number, such as 4.17, you must use up to 1 minor version, for example, 4.16.
19+
20+
.Example table of the supported node pool versions for your hosted cluster
21+
22+
[cols="2,3,3", options="header"]
23+
|===
24+
|Hosted cluster version |Supported node pool versions |Unsupported node pool versions
25+
|4.18 |4.17, 4.16 |4.15, 4.14
26+
|4.17 |4.16 |4.15
27+
|4.18.5 |4.18.5, 4.18.4, 4.17.z, 4.16.z |4.15.z and below, 4.19.z and above
28+
|4.17.5 |4.17.5, 4.17.4, 4.16.z | 4.15.z and below, 4.18.z and above
29+
|===
30+
31+
32+
* The `NodePool` controller sets the `SupportedVersionSkew` condition by default to report one of the following version compatibility statuses:
33+
34+
** `True`: Indicates that the `NodePool` version is compatible with the HostedCluster version.
35+
** `False`: Indicates that the `NodePool` version is incompatible with detailed error messages. If you see the version incompatibility issues, you must upgrade or downgrade `NodePool` to a compatible version.

modules/hcp-updates-hosted-cluster.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ The `spec.release.image` value dictates the version of the control plane. The `H
1010

1111
The hosted control plane manages the rollout of the new version of the control plane components along with any {product-title} components through the new version of the Cluster Version Operator (CVO).
1212

13+
Before updating the hosted cluster, see "HostedCluster and NodePool version compatibility".
14+
1315
[IMPORTANT]
1416
====
1517
In {hcp}, the `NodeHealthCheck` resource cannot detect the status of the CVO. A cluster administrator must manually pause the remediation triggered by `NodeHealthCheck`, before performing critical operations, such as updating the cluster, to prevent new remediation actions from interfering with cluster updates.
1618
1719
To pause the remediation, enter the array of strings, for example, `pause-test-cluster`, as a value of the `pauseRequests` field in the `NodeHealthCheck` resource. For more information, see link:https://docs.redhat.com/en/documentation/workload_availability_for_red_hat_openshift/24.4/html/remediation_fencing_and_maintenance/node-health-check-operator#about-node-health-check-operator_node-health-check-operator[About the Node Health Check Operator].
1820
1921
After the cluster update is complete, you can edit or delete the remediation. Navigate to the *Compute* -> *NodeHealthCheck* page, click your node health check, and then click *Actions*, which shows a drop-down list.
20-
====
22+
====

modules/hcp-updates-node-pools.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ With node pools, you can configure the software that is running in the nodes by
1212
* Changing any platform-specific field, such as the AWS instance type. The result is a set of new instances with the new type.
1313
* Changing the cluster configuration, if the change propagates to the node.
1414
15+
For more information about hosted cluster and node pool compatibility, see "HostedCluster and NodePool version compatibility".
16+
1517
Node pools support replace updates and in-place updates. The `nodepool.spec.release` value dictates the version of any particular node pool. A `NodePool` object completes a replace or an in-place rolling update according to the `.spec.management.upgradeType` value.
1618

1719
After you create a node pool, you cannot change the update type. If you want to change the update type, you must create a node pool and delete the other one.

modules/hosted-control-planes-version-support.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Module included in the following assemblies:
22
//
33
// * architecture/control-plane.adoc
4-
// * hosted-control-planes/index.adoc
4+
// * hosted_control_planes/index.adoc
55

66

77
:_mod-docs-content-type: CONCEPT
@@ -64,7 +64,7 @@ You can use the `hypershift.openshift.io` API resources, such as, `HostedCluster
6464

6565
The API version policy generally aligns with the policy for link:https://kubernetes.io/docs/reference/using-api/#api-versioning[Kubernetes API versioning].
6666

67-
Updates for {hcp} involve updating the hosted cluster and the node pools. For more information, see "Updates for {hcp}".
67+
Updates for {hcp} involve updating the hosted cluster and the node pools. For more information, see "Updates for {hcp}" and "HostedCluster and NodePool version compatibility".
6868

6969
[id="hcp-versioning-cpo_{context}"]
7070
== Control Plane Operator

0 commit comments

Comments
 (0)