Kubernetes 1.26 removed APIs
Kubernetes 1.26 removed autoscaling/v2beta2 HorizontalPodAutoscaler and the v1beta1 API Priority and Fairness objects. v2beta2 was the newest HorizontalPodAutoscaler version from 1.12 until autoscaling/v2 arrived in 1.23.
Every replacement below was available by 1.26, so clusters could migrate before upgrading.
Check a manifest against 1.26.
Removed in 1.26
The API server no longer serves these from 1.26. Each kind links to its migration steps.
| Kind | Removed version | Migrate to | Available since |
|---|---|---|---|
| FlowSchema | flowcontrol.apiserver.k8s.io/v1beta1 | flowcontrol.apiserver.k8s.io/v1beta3 | 1.26 |
| HorizontalPodAutoscaler | autoscaling/v2beta2 | autoscaling/v2 | 1.23 |
| PriorityLevelConfiguration | flowcontrol.apiserver.k8s.io/v1beta1 | flowcontrol.apiserver.k8s.io/v1beta3 | 1.26 |
Deprecated in 1.26
These still work in 1.26. Each kind links to its migration steps.
- FlowSchema
flowcontrol.apiserver.k8s.io/v1beta2: removed in 1.29 - PriorityLevelConfiguration
flowcontrol.apiserver.k8s.io/v1beta2: removed in 1.29
The official migration guide covers the APIs it lists for each release. See every version with API removals.