Listing the supported API versions on OpenShift

Solution In Progress - Updated -

Issue

  • In kubernetes, there is a kubectl command to list the supported API versions on the server. Is there an oc command equivalent to get similar output?

    $ kubectl api-versions
    apps.openshift.io/v1
    apps/v1beta1
    authentication.k8s.io/v1
    [...]
    storage.k8s.io/v1
    storage.k8s.io/v1beta1
    template.openshift.io/v1
    user.openshift.io/v1
    

Environment

  • OpenShift Container Platform 3.6, 3.7

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