OpenShift Container Platform error: unable to recognize batch/v2alpha1, Kind=CronJob

Solution Verified - Updated -

Issue

  • Upon a new deployment of a container batch job we get this error
error: unable to recognize batch/v2alpha1, Kind=CronJob: no matches for kind "CronJob" in version "batch/v2alpha1"
  • Is there a replacement for batch/v2alpha1 API?

Environment

  • Red Hat OpenShift Container Platform 3.9, 3.10 and 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content