Update deprecated API migration guidance of HorizontalPodAutoscaler for v1.25 and v1.26 (#45390)

* Update deprecation-guide.md

**targetAverageUtilization** is no longer supported by **autoscaling/v2**

* Remove sample and add document reference

* Update notable changes for HPA in 1.25 and 1.26

* cite a document metric usage

* Update deprecation-guide.md
pull/45573/head
Francis Huang 2024-03-17 00:37:30 +07:00 committed by GitHub
parent cde3e9bbd0
commit f424d45142
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -78,7 +78,8 @@ The **autoscaling/v2beta2** API version of HorizontalPodAutoscaler is no longer
* Migrate manifests and API clients to use the **autoscaling/v2** API version, available since v1.23.
* All existing persisted objects are accessible via the new API
* Notable changes:
* `targetAverageUtilization` is replaced with `target.averageUtilization` and `target.type: Utilization`. See [Autoscaling on multiple metrics and custom metrics](/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics).
### v1.25
The **v1.25** release stopped serving the following deprecated API versions:
@ -130,6 +131,8 @@ The **autoscaling/v2beta1** API version of HorizontalPodAutoscaler is no longer
* Migrate manifests and API clients to use the **autoscaling/v2** API version, available since v1.23.
* All existing persisted objects are accessible via the new API
* Notable changes:
* `targetAverageUtilization` is replaced with `target.averageUtilization` and `target.type: Utilization`. See [Autoscaling on multiple metrics and custom metrics](/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics).
#### PodDisruptionBudget {#poddisruptionbudget-v125}