API version isn't supported error in OpenShift Container Platform
Issue
- When I run the
occommand, I gotAPI version isn't supportederror. For example, scheduled jobs needsbatch/v2alpha1, but I got this error:
API version "batch/v2alpha1" in "job.yaml" isn't supported, only supports API versions ["v1" "extensions/v1beta1" "v1beta3"]
- How can we debug this issue?
Environment
- OpenShift Container Platform
- 3.x
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.
