Skip to content

Commit 70e4380

Browse files
committed
OSDOCS-6656: Updating for admin-ack for 4.14
1 parent 8a2f871 commit 70e4380

9 files changed

+31
-40
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -570,10 +570,10 @@ Topics:
570570
- Name: Preparing to update a cluster
571571
Dir: preparing_for_updates
572572
Topics:
573-
- Name: Preparing to update to OpenShift Container Platform 4.13
573+
- Name: Preparing to update to OpenShift Container Platform 4.14
574574
File: updating-cluster-prepare
575575
Distros: openshift-enterprise
576-
- Name: Preparing to update to OKD 4.13
576+
- Name: Preparing to update to OKD 4.14
577577
File: updating-cluster-prepare
578578
Distros: openshift-origin
579579
- Name: Preparing to update a cluster with manually maintained credentials

modules/update-preparing-ack.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="update-preparing-ack_{context}"]
77
= Providing the administrator acknowledgment
88

9-
After you have evaluated your cluster for any removed APIs and have migrated any removed APIs, you can acknowledge that your cluster is ready to upgrade from {product-title} 4.12 to 4.13.
9+
After you have evaluated your cluster for any removed APIs and have migrated any removed APIs, you can acknowledge that your cluster is ready to upgrade from {product-title} 4.13 to 4.14.
1010

1111
[WARNING]
1212
====
@@ -19,9 +19,9 @@ Be aware that all responsibility falls on the administrator to ensure that all u
1919
2020
.Procedure
2121

22-
* Run the following command to acknowledge that you have completed the evaluation and your cluster is ready for the Kubernetes API removals in {product-title} 4.13:
22+
* Run the following command to acknowledge that you have completed the evaluation and your cluster is ready for the Kubernetes API removals in {product-title} 4.14:
2323
+
2424
[source,terminal]
2525
----
26-
$ oc -n openshift-config patch cm admin-acks --patch '{"data":{"ack-4.12-kube-1.26-api-removals-in-4.13":"true"}}' --type=merge
26+
$ oc -n openshift-config patch cm admin-acks --patch '{"data":{"ack-4.13-kube-1.27-api-removals-in-4.14":"true"}}' --type=merge
2727
----

modules/update-preparing-evaluate-apirequestcount-workloads.adoc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,23 @@ For example:
2525
+
2626
[source,terminal]
2727
----
28-
$ oc get apirequestcounts flowschemas.v1beta1.flowcontrol.apiserver.k8s.io -o yaml
28+
$ oc get apirequestcounts csistoragecapacities.v1beta1.storage.k8s.io -o yaml
2929
----
3030
+
3131
You can also use `-o jsonpath` to extract the `username` and `userAgent` values from an `APIRequestCount` resource:
3232
+
3333
[source,terminal]
3434
----
35-
$ oc get apirequestcounts flowschemas.v1beta1.flowcontrol.apiserver.k8s.io \
35+
$ oc get apirequestcounts csistoragecapacities.v1beta1.storage.k8s.io \
3636
-o jsonpath='{range .status.currentHour..byUser[*]}{..byVerb[*].verb}{","}{.username}{","}{.userAgent}{"\n"}{end}' \
3737
| sort -k 2 -t, -u | column -t -s, -NVERBS,USERNAME,USERAGENT
3838
----
3939
+
4040
.Example output
4141
[source,terminal]
4242
----
43-
VERBS USERNAME USERAGENT
44-
get system:serviceaccount:openshift-cluster-version:default cluster-version-operator/v0.0.0
45-
watch system:serviceaccount:openshift-oauth-apiserver:oauth-apiserver-sa oauth-apiserver/v0.0.0
43+
VERBS USERNAME USERAGENT
44+
list watch system:kube-controller-manager cluster-policy-controller/v0.0.0
45+
list watch system:kube-controller-manager kube-controller-manager/v1.26.5+0abcdef
46+
list watch system:kube-scheduler kube-scheduler/v1.26.5+0abcdef
4647
----

modules/update-preparing-evaluate-apirequestcount.adoc

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,12 @@ $ oc get apirequestcounts
2424
.Example output
2525
[source,terminal]
2626
----
27-
NAME REMOVEDINRELEASE REQUESTSINCURRENTHOUR REQUESTSINLAST24H
27+
NAME REMOVEDINRELEASE REQUESTSINCURRENTHOUR REQUESTSINLAST24H
2828
...
29-
flowschemas.v1beta1.flowcontrol.apiserver.k8s.io 1.26 0 16
30-
flowschemas.v1beta2.flowcontrol.apiserver.k8s.io 101 857
31-
groups.v1.user.openshift.io 22 201
32-
hardwaredata.v1alpha1.metal3.io 3 33
33-
helmchartrepositories.v1beta1.helm.openshift.io 142 628
34-
horizontalpodautoscalers.v2.autoscaling 11 103
35-
horizontalpodautoscalers.v2beta2.autoscaling 1.26 0 15
29+
csistoragecapacities.v1.storage.k8s.io 14 380
30+
csistoragecapacities.v1beta1.storage.k8s.io 1.27 0 16
31+
custompolicydefinitions.v1beta1.capabilities.3scale.net 8 158
32+
customresourcedefinitions.v1.apiextensions.k8s.io 1407 30148
3633
...
3734
----
3835
+
@@ -54,6 +51,7 @@ $ oc get apirequestcounts -o jsonpath='{range .items[?(@.status.removedInRelease
5451
.Example output
5552
[source,terminal]
5653
----
57-
1.26 flowschemas.v1beta1.flowcontrol.apiserver.k8s.io
58-
1.26 horizontalpodautoscalers.v2beta2.autoscaling
54+
1.27 csistoragecapacities.v1beta1.storage.k8s.io
55+
1.29 flowschemas.v1beta2.flowcontrol.apiserver.k8s.io
56+
1.29 prioritylevelconfigurations.v1beta2.flowcontrol.apiserver.k8s.io
5957
----

modules/update-preparing-list.adoc

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,16 @@
55
[id="update-preparing-list_{context}"]
66
= Removed Kubernetes APIs
77

8-
{product-title} 4.13 uses Kubernetes 1.26, which removed the following deprecated APIs. You must migrate manifests and API clients to use the appropriate API version. For more information about migrating removed APIs, see the link:https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-26[Kubernetes documentation].
8+
{product-title} 4.14 uses Kubernetes 1.27, which removed the following deprecated APIs. You must migrate manifests and API clients to use the appropriate API version. For more information about migrating removed APIs, see the link:https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-27[Kubernetes documentation].
99

10-
.APIs removed from Kubernetes 1.26
10+
.APIs removed from Kubernetes 1.27
1111
[cols="2,2,2",options="header",]
1212
|===
1313
|Resource |Removed API |Migrate to
1414

15-
|`FlowSchema`
16-
|`flowcontrol.apiserver.k8s.io/v1beta1`
17-
|`flowcontrol.apiserver.k8s.io/v1beta3`
18-
19-
|`HorizontalPodAutoscaler`
20-
|`autoscaling/v2beta2`
21-
|`autoscaling/v2`
22-
23-
|`PriorityLevelConfiguration`
24-
|`flowcontrol.apiserver.k8s.io/v1beta1`
25-
|`flowcontrol.apiserver.k8s.io/v1beta3`
15+
|`CSIStorageCapacity`
16+
|`storage.k8s.io/v1beta1`
17+
|`storage.k8s.io/v1`
2618

2719
|===
2820
// Removed the "Notable changes" column since they were all "No" and table so wide it was causing a scrollbar. Add it back in for the next time there are notable changes (1.29)

modules/update-preparing-migrate.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
[id="update-preparing-migrate_{context}"]
66
= Migrating instances of removed APIs
77

8-
For information about how to migrate removed Kubernetes APIs, see the link:https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-26[Deprecated API Migration Guide] in the Kubernetes documentation.
8+
For information about how to migrate removed Kubernetes APIs, see the link:https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-27[Deprecated API Migration Guide] in the Kubernetes documentation.

updating/preparing_for_updates/updating-cluster-prepare.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:_content-type: ASSEMBLY
22
[id="updating-cluster-prepare"]
3-
= Preparing to update to {product-title} 4.13
3+
= Preparing to update to {product-title} 4.14
44
include::_attributes/common-attributes.adoc[]
55
:context: updating-cluster-prepare
66

@@ -12,11 +12,11 @@ WARNING: This assembly has been moved into a subdirectory for 4.14+. Changes to
1212
To do: Remove this comment once 4.13 docs are EOL.
1313
////
1414

15-
{product-title} 4.13 uses Kubernetes 1.26, which removed several deprecated APIs.
15+
{product-title} 4.14 uses Kubernetes 1.27, which removed several deprecated APIs.
1616

17-
A cluster administrator must provide a manual acknowledgment before the cluster can be updated from {product-title} 4.12 to 4.13. This is to help prevent issues after upgrading to {product-title} 4.13, where APIs that have been removed are still in use by workloads, tools, or other components running on or interacting with the cluster. Administrators must evaluate their cluster for any APIs in use that will be removed and migrate the affected components to use the appropriate new API version. After this evaluation and migration is complete, the administrator can provide the acknowledgment.
17+
A cluster administrator must provide a manual acknowledgment before the cluster can be updated from {product-title} 4.13 to 4.14. This is to help prevent issues after upgrading to {product-title} 4.14, where APIs that have been removed are still in use by workloads, tools, or other components running on or interacting with the cluster. Administrators must evaluate their cluster for any APIs in use that will be removed and migrate the affected components to use the appropriate new API version. After this evaluation and migration is complete, the administrator can provide the acknowledgment.
1818

19-
Before you can update your {product-title} 4.12 cluster to 4.13, you must provide the administrator acknowledgment.
19+
Before you can update your {product-title} 4.13 cluster to 4.14, you must provide the administrator acknowledgment.
2020

2121
// Removed Kubernetes APIs
2222
include::modules/update-preparing-list.adoc[leveloffset=+1]

updating/updating_a_cluster/updating-cluster-cli.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ See xref:../../authentication/using-rbac.adoc#using-rbac[Using RBAC to define an
2929
* Ensure that all machine config pools (MCPs) are running and not paused. Nodes associated with a paused MCP are skipped during the update process. You can pause the MCPs if you are performing a canary rollout update strategy.
3030
* If your cluster uses manually maintained credentials, update the cloud provider resources for the new release. For more information, including how to determine if this is a requirement for your cluster, see xref:../../updating/preparing_for_updates/preparing-manual-creds-update.adoc#preparing-manual-creds-update[Preparing to update a cluster with manually maintained credentials].
3131
* Ensure that you address all `Upgradeable=False` conditions so the cluster allows an update to the next minor version. An alert displays at the top of the *Cluster Settings* page when you have one or more cluster Operators that cannot be updated. You can still update to the next available patch update for the minor release you are currently on.
32-
* Review the list of APIs that were removed in Kubernetes 1.26, migrate any affected components to use the new API version, and provide the administrator acknowledgment. For more information, see xref:../../updating/preparing_for_updates/updating-cluster-prepare.adoc#updating-cluster-prepare[Preparing to update to {product-title} 4.13].
32+
* Review the list of APIs that were removed in Kubernetes 1.27, migrate any affected components to use the new API version, and provide the administrator acknowledgment. For more information, see xref:../../updating/preparing_for_updates/updating-cluster-prepare.adoc#updating-cluster-prepare[Preparing to update to {product-title} 4.14].
3333
* If you run an Operator or you have configured any application with the pod disruption budget, you might experience an interruption during the update process. If `minAvailable` is set to 1 in `PodDisruptionBudget`, the nodes are drained to apply pending machine configs which might block the eviction process. If several nodes are rebooted, all the pods might run on only one node, and the `PodDisruptionBudget` field can prevent the node drain.
3434

3535
[IMPORTANT]

updating/updating_a_cluster/updating-cluster-web-console.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ See xref:../../authentication/using-rbac.adoc#using-rbac[Using RBAC to define an
3030
//remove this???^ or maybe just add another bullet that you can break up the update?
3131
* To accommodate the time it takes to update, you are able to do a partial update by updating the worker or custom pool nodes. You can pause and resume within the progress bar of each pool.
3232
* If your cluster uses manually maintained credentials, update the cloud provider resources for the new release. For more information, including how to determine if this is a requirement for your cluster, see xref:../../updating/preparing_for_updates/preparing-manual-creds-update.adoc#preparing-manual-creds-update[Preparing to update a cluster with manually maintained credentials].
33-
* Review the list of APIs that were removed in Kubernetes 1.26, migrate any affected components to use the new API version, and provide the administrator acknowledgment. For more information, see xref:../../updating/preparing_for_updates/updating-cluster-prepare.adoc#updating-cluster-prepare[Preparing to update to {product-title} 4.13].
33+
* Review the list of APIs that were removed in Kubernetes 1.27, migrate any affected components to use the new API version, and provide the administrator acknowledgment. For more information, see xref:../../updating/preparing_for_updates/updating-cluster-prepare.adoc#updating-cluster-prepare[Preparing to update to {product-title} 4.14].
3434
* If you run an Operator or you have configured any application with the pod disruption budget, you might experience an interruption during the update process. If `minAvailable` is set to 1 in `PodDisruptionBudget`, the nodes are drained to apply pending machine configs which might block the eviction process. If several nodes are rebooted, all the pods might run on only one node, and the `PodDisruptionBudget` field can prevent the node drain.
3535

3636
[IMPORTANT]

0 commit comments

Comments
 (0)