CronJob batch/v1beta1 is no longer served
Removed as of 2022-08-23. Replacement: batch/v1 CronJob, available since v1.21. Source: Kubernetes Deprecated API Migration Guide.
Check a version:
evergreen check pkg:generic/kubernetes/batch/CronJob
The Kubernetes Deprecated API Migration Guide states that the batch/v1beta1 API version of CronJob is no longer served as of v1.25, which was released on 2022-08-23.
Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>
| Status | Removed |
| Severity | high |
| Ecosystem | kubernetes |
| Component | pkg:generic/kubernetes/batch/CronJob |
| Affected versions | vers:semver/1.0.0-beta.1 |
| Date from the source | 2022-08-23 |
| Replacement | batch/v1 CronJob, available since v1.21 |
| Evidence last seen | 2026-10-17 |
| Reviewed | 2026-10-17 by arminazimi |
| Review due | 2027-10-17 (365 days after the last review) |
| Rule ID | kubernetes.batch.cronjob.v1beta1.removed |
Sources
- Kubernetes Deprecated API Migration Guide (accessed 2026-10-17)
- Kubernetes v1.25: Combiner (release announcement, 2022-08-23) (accessed 2026-10-17)
Migration
Constraints
- Keep the schedule, job template, and concurrency and history settings unchanged.
- The migration guide lists no notable changes between batch/v1beta1 and batch/v1 for CronJob.
Steps
- Change the CronJob apiVersion. Change the reported
apiVersiontobatch/v1and adjust the fields below that differ between the two versions. - Align other CronJob declarations. Update every other manifest, Helm template, and kustomize patch or target that names the old API version of CronJob, so the repository agrees.
Verification
kubeconform -strict -summary <manifest-paths>: Validate the migrated manifests against the schemas of the target Kubernetes version.kubectl apply --dry-run=server -f <manifest-path>: Ask a cluster on the target version to accept the migrated manifest without applying it.helm template <chart-path> | kubeconform -strict -: For a Helm chart, render it and validate the output.
Detected by
The kubernetes detector. See Detectors and Compatibility.
Related
Same ecosystem
- MutatingWebhookConfiguration admissionregistration.k8s.io/v1beta1 is no longer served
- ValidatingWebhookConfiguration admissionregistration.k8s.io/v1beta1 is no longer served
- EKS 1.30 and earlier clusters are past end of extended support
- EKS 1.31 cluster is past end of standard support
- EKS 1.32 cluster is past end of standard support
- EKS 1.33 cluster is past end of standard support
- EKS 1.34 cluster is scheduled to leave standard support
- EKS 1.35 cluster is scheduled to leave standard support
Data
This page is generated from registry/kubernetes.json, rule kubernetes.batch.cronjob.v1beta1.removed, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.
Last updated