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

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.