cronjob cannot see with error no kind "CronJobList" is registered for version "batch/v2alpha1"

Solution In Progress - Updated -

Issue

  • When I run oc get cronjob or oc get scheduledjob we cannot list the cronjob.
$ oc get cronjob
No resources found.
no kind "CronJobList" is registered for version "batch/v2alpha1"
$ oc get scheduledjob
No resources found.
no kind "CronJobList" is registered for version "batch/v2alpha1"

Environment

  • OpenShift Dedicated
  • OpenShift Container Platform
    • 3.5 or later

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