|
| 1 | +:_mod-docs-content-type: SNIPPET |
| 2 | +[IMPORTANT] |
| 3 | +==== |
| 4 | +Before you acknowledge the update, verify that you are not using any of the Kubernetes APIs that are removed from the version you are updating to. |
| 5 | +For example, in {product-title} 4.17, there are no API removals. |
| 6 | +See "Kubernetes API removals" for more information. |
| 7 | +==== |
| 8 | + |
| 9 | +.Prerequisites |
| 10 | + |
| 11 | +* You have verified that APIs for all of the applications running on your cluster are compatible with the next Y-stream release of {product-title}. |
| 12 | +For more details about compatibility, see "Verifying cluster API versions between update versions". |
| 13 | +
|
| 14 | +.Procedure |
| 15 | + |
| 16 | +* Complete the administrative acknowledgment to start the cluster update by running the following command: |
| 17 | ++ |
| 18 | +-- |
| 19 | +[source,terminal] |
| 20 | +---- |
| 21 | +$ oc adm upgrade |
| 22 | +---- |
| 23 | +
|
| 24 | +If the cluster update does not complete successfully, more details about the update failure are provided in the `Reason` and `Message` sections. |
| 25 | + |
| 26 | +.Example output |
| 27 | +[source,terminal] |
| 28 | +---- |
| 29 | +Cluster version is 4.15.45 |
| 30 | +
|
| 31 | +Upgradeable=False |
| 32 | +
|
| 33 | + Reason: MultipleReasons |
| 34 | + Message: Cluster should not be upgraded between minor versions for multiple reasons: AdminAckRequired,ResourceDeletesInProgress |
| 35 | + * Kubernetes 1.29 and therefore OpenShift 4.16 remove several APIs which require admin consideration. Please see the knowledge article https://access.redhat.com/articles/7031404 for details and instructions. |
| 36 | + * Cluster minor level upgrades are not allowed while resource deletions are in progress; resources=PrometheusRule "openshift-kube-apiserver/kube-apiserver-recording-rules" |
| 37 | +
|
| 38 | +ReleaseAccepted=False |
| 39 | +
|
| 40 | + Reason: PreconditionChecks |
| 41 | + Message: Preconditions failed for payload loaded version="4.16.34" image="quay.io/openshift-release-dev/ocp-release@sha256:41bb08c560f6db5039ccdf242e590e8b23049b5eb31e1c4f6021d1d520b353b8": Precondition "ClusterVersionUpgradeable" failed because of "MultipleReasons": Cluster should not be upgraded between minor versions for multiple reasons: AdminAckRequired,ResourceDeletesInProgress |
| 42 | + * Kubernetes 1.29 and therefore OpenShift 4.16 remove several APIs which require admin consideration. Please see the knowledge article https://access.redhat.com/articles/7031404 for details and instructions. |
| 43 | + * Cluster minor level upgrades are not allowed while resource deletions are in progress; resources=PrometheusRule "openshift-kube-apiserver/kube-apiserver-recording-rules" |
| 44 | +
|
| 45 | +Upstream is unset, so the cluster will use an appropriate default. |
| 46 | +Channel: eus-4.16 (available channels: candidate-4.15, candidate-4.16, eus-4.16, fast-4.15, fast-4.16, stable-4.15, stable-4.16) |
| 47 | +
|
| 48 | +Recommended updates: |
| 49 | +
|
| 50 | + VERSION IMAGE |
| 51 | + 4.16.34 quay.io/openshift-release-dev/ocp-release@sha256:41bb08c560f6db5039ccdf242e590e8b23049b5eb31e1c4f6021d1d520b353b8 |
| 52 | +---- |
| 53 | + |
| 54 | +[NOTE] |
| 55 | +==== |
| 56 | +In this example, a linked Red{nbsp}Hat Knowledgebase article (link:https://access.redhat.com/articles/7031404[Preparing to upgrade to {product-title} 4.16]) provides more detail about verifying API compatibility between releases. |
| 57 | +==== |
| 58 | +-- |
| 59 | + |
| 60 | +.Verification |
| 61 | + |
| 62 | +* Verify the update by running the following command: |
| 63 | ++ |
| 64 | +-- |
| 65 | +[source,terminal] |
| 66 | +---- |
| 67 | +$ oc get configmap admin-acks -n openshift-config -o json | jq .data |
| 68 | +---- |
| 69 | +
|
| 70 | +.Example output |
| 71 | +[source,terminal] |
| 72 | +---- |
| 73 | +{ |
| 74 | + "ack-4.14-kube-1.28-api-removals-in-4.15": "true", |
| 75 | + "ack-4.15-kube-1.29-api-removals-in-4.16": "true" |
| 76 | +} |
| 77 | +---- |
| 78 | + |
| 79 | +[NOTE] |
| 80 | +==== |
| 81 | +In this example, the cluster is updated from version 4.14 to 4.15, and then from 4.15 to 4.16 in a Control Plane Only update. |
| 82 | +==== |
| 83 | +-- |
0 commit comments