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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In