API version isn't supported error in OpenShift Container Platform

Solution In Progress - Updated -

Issue

  • When I run the oc command, I got API version isn't supported error. For example, scheduled jobs needs batch/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, 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