⎈ k8s knowledge compiler

Deprecated API Migration Guide [page]deterministic

reference

As the Kubernetes API evolves, APIs are periodically reorganized or upgraded. When APIs evolve, the old API is deprecated and eventually removed. This page contains information you need to know when migrating from deprecated API versions to newer and more stable API versions.

## Removed APIs by release

### v1.32

The v1.32 release stopped serving the following deprecated API versions:

#### Flow control resources {#flowcontrol-resources-v132}

The flowcontrol.apiserver.k8s.io/v1beta3 API version of FlowSchema and PriorityLevelConfiguration is no longer served as of v1.32.

* Migrate manifests and API clients to use the flowcontrol.apiserver.k8s.io/v1 API version, available since v1.29. * All existing persisted objects are accessible via the new API * Notable changes in flowcontrol.apiserver.k8s.io/v1: * The PriorityLevelConfiguration `spec.limited.nominalConcurrencyShares` field only defaults to 30 when unspecified, and an explicit value of 0 is not changed to 30.

### v1.29

The v1.29 release stopped serving the following deprecated API versions:

#### Flow control resources {#flowcontrol-resources-v129}

The flowcontrol.apiserver.k8s.io/v1beta2 API version of FlowSchema and PriorityLevelConfiguration is no longer served as of v1.29.

* Migrate manifests and API clients to use the flowcontrol.apiserver.k8s.io/v1 API version, available since v1.29, or the flowcontrol.apiserver.k8s.io/v1beta3 API version, available since v1.26. * All existing persisted objects are accessible via the new API * Notable changes in flowcontrol.apiserver.k8s.io/v1: * The PriorityLevelConfiguration `spec.limited.assuredConcurrencyShares` field is renamed to `spec.limited.nominalConcurrencyShares` and only defaults to 30 when unspecified, and an explicit value of 0 is not changed to 30. * Notable changes in flowcontrol.apiserver.k8s.io/v1beta3: * The PriorityLevelConfiguration `spec.limited.assuredConcurrencyShares` field is renamed to `spec.limited.nominalConcurrencyShares`

### v1.27

The v1.27 release stopped serving the following deprecated API versions:

#### CSIStorageCapacity {#csistoragecapacity-v127}

The storage.k8s.io/v1beta1 API version of CSIStorageCapacity is no longer served as of v1.27.

* Migrate manifests and API clients to use the storage.k8s.io/v1 API version, available since v1.24. * All existing persisted objects are accessible via the new API * No notable changes

### v1.26

The v1.26 release stopped serving the following deprecated API versions:

#### Flow control resources {#flowcontrol-resources-v126}

The flowcontrol.apiserver.k8s.io/v1beta1 API version of FlowSchema and PriorityLevelConfiguration is no longer served as of v1.26.

* Migrate manifests and API clients to use the flowcontrol.apiserver.k8s.io/v1beta2 API version. * All existing persisted objects are accessible via the new API * No notable changes

#### HorizontalPodAutoscaler {#horizontalpodautoscaler-v126}

The autoscaling/v2beta2 API version of HorizontalPodAutoscaler is no longer served as of v1.26.

* 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:

#### CronJob {#cronjob-v125}

The batch/v1beta1 API version of CronJob is no longer served as of v1.25.

* Migrate manifests and API clients to use the batch/v1 API version, available since v1.21. * All existing persisted objects are accessible via the new API * No notable changes

#### EndpointSlice {#endpointslice-v125}

The ** …(trimmed)

Sources

reference/using-api/deprecation-guide.md · docDeprecated API Migration Guide

Related (12)

part_of Removed APIs by releasedescribes conf=1
part_of What to dodescribes conf=1
part_of v1.32describes conf=1
part_of v1.29describes conf=1
part_of v1.27describes conf=1
part_of v1.26describes conf=1
part_of v1.25describes conf=1
part_of v1.22describes conf=1
part_of v1.16describes conf=1
part_of Test with deprecated APIs disableddescribes conf=1
part_of Locate use of deprecated APIsdescribes conf=1
part_of Migrate to non-deprecated APIsdescribes conf=1

← all Docs