beta API version · group autoscaling
autoscaling/v2beta2
Removed in 1.26
No Kubernetes release since 1.26 serves apiVersion: autoscaling/v2beta2. Objects that were stored through it are still in etcd and readable through the replacement version; only manifests and clients that name this version break.
Kinds in autoscaling/v2beta2
| Kind | Introduced | Deprecated | Stops being served | Use instead |
|---|---|---|---|---|
| HorizontalPodAutoscaler | — | — | 1.26 | autoscaling/v2 |
Served in which releases
served served, deprecated exists but off by default not served · 1.16 to 1.37; release of introduction unknown for kinds removed from the source, treated as served before removal
Migrating off autoscaling/v2beta2
HorizontalPodAutoscaler removed in 1.26
Move to autoscaling/v2, served since 1.23. Existing objects stay readable through the new version.
What changes:
targetAverageUtilizationis replaced withtarget.averageUtilizationandtarget.type: Utilization. See Autoscaling on multiple metrics and custom metrics.
- apiVersion: autoscaling/v2beta2
+ apiVersion: autoscaling/v2
kind: HorizontalPodAutoscalerFrom the Kubernetes Deprecated API Migration Guide, © The Kubernetes Authors, CC BY 4.0.
To convert files mechanically: kubectl convert -f old.yaml --output-version autoscaling/v2 (the kubectl-convert plugin, installed separately). Review defaults it fills in.
Other versions of autoscaling
autoscaling/v1 Stableautoscaling/v2 Stableautoscaling/v2beta1 Removed in 1.25
Check your manifests for autoscaling/v2beta2 and other removed versions →