cronjob cannot see with error no kind "CronJobList" is registered for version "batch/v2alpha1"
Issue
- When I run
oc get cronjoboroc get scheduledjobwe 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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
