beta API version · group apps
apps/v1beta1
Removed in 1.16
No Kubernetes release since 1.16 serves apiVersion: apps/v1beta1. 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 apps/v1beta1
| Kind | Introduced | Deprecated | Stops being served | Use instead |
|---|---|---|---|---|
| ControllerRevision | 1.7 | 1.8 | 1.16 | apps/v1 |
| Deployment | 1.6 | 1.8 | 1.16 | apps/v1 |
| DeploymentRollback | 1.6 | 1.8 | 1.16 | apps/v1 |
| ReplicaSet | — | — | 1.16 | apps/v1 |
| Scale | 1.6 | 1.8 | 1.16 | autoscaling/v1 |
| StatefulSet | 1.5 | 1.8 | 1.16 | apps/v1 |
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 apps/v1beta1
Deployment removed in 1.16
Move to apps/v1, served since 1.9. Existing objects stay readable through the new version.
What changes:
spec.rollbackTois removedspec.selectoris now required and immutable after creation; use the existing template labels as the selector for seamless upgradesspec.progressDeadlineSecondsnow defaults to600seconds (the default inextensions/v1beta1was no deadline)spec.revisionHistoryLimitnow defaults to10(the default inapps/v1beta1was2, the default inextensions/v1beta1was to retain all)maxSurgeandmaxUnavailablenow default to25%(the default inextensions/v1beta1was1)
- apiVersion: apps/v1beta1
+ apiVersion: apps/v1
kind: DeploymentFrom the Kubernetes Deprecated API Migration Guide, © The Kubernetes Authors, CC BY 4.0.
ReplicaSet removed in 1.16
Move to apps/v1, served since 1.9. Existing objects stay readable through the new version.
What changes:
spec.selectoris now required and immutable after creation; use the existing template labels as the selector for seamless upgrades
- apiVersion: apps/v1beta1
+ apiVersion: apps/v1
kind: ReplicaSetFrom the Kubernetes Deprecated API Migration Guide, © The Kubernetes Authors, CC BY 4.0.
StatefulSet removed in 1.16
Move to apps/v1, served since 1.9. Existing objects stay readable through the new version.
What changes:
spec.selectoris now required and immutable after creation; use the existing template labels as the selector for seamless upgradesspec.updateStrategy.typenow defaults toRollingUpdate(the default inapps/v1beta1wasOnDelete)
- apiVersion: apps/v1beta1
+ apiVersion: apps/v1
kind: StatefulSetFrom the Kubernetes Deprecated API Migration Guide, © The Kubernetes Authors, CC BY 4.0.
To convert files mechanically: kubectl convert -f old.yaml --output-version apps/v1 (the kubectl-convert plugin, installed separately). Review defaults it fills in.
Other versions of apps
apps/v1 Stableapps/v1beta2 Removed in 1.16
Check your manifests for apps/v1beta1 and other removed versions →