Exporting all objects does not work in Red Hat OpenShift Container Platform

Solution Unverified - Updated -

Issue

  • Exporting all OCP objects into a file results in the following error:

    $ oc export all --all-namespaces > cluster_backup.yaml
    error: apps/v1beta1, Kind=Deployment is unstructured and is not suitable for converting to "extensions/v1beta1"
    

Environment

  • Red Hat OpenShift Container Platform (OCP) 3.7.z

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