cluster.ninja

beta API version · group batch

batch/v1beta1

Removed in 1.25

No Kubernetes release since 1.25 serves apiVersion: batch/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 batch/v1beta1

KindIntroducedDeprecatedStops being servedUse instead
CronJob 1.8 1.21 1.25 batch/v1

Served in which releases

Kind162025303537
CronJob

served served, deprecated exists but off by default not served · 1.16 to 1.37

Migrating off batch/v1beta1

CronJob removed in 1.25

Move to batch/v1, served since 1.21. Existing objects stay readable through the new version.

- apiVersion: batch/v1beta1
+ apiVersion: batch/v1
  kind: CronJob

From the Kubernetes Deprecated API Migration Guide, © The Kubernetes Authors, CC BY 4.0.

To convert files mechanically: kubectl convert -f old.yaml --output-version batch/v1 (the kubectl-convert plugin, installed separately). Review defaults it fills in.

Other versions of batch

batch/v1 Stable

Check your manifests for batch/v1beta1 and other removed versions →