How to export all the application configuration/objects with oc binary in RHOCP 4?

Solution Verified - Updated -

Issue

  • $ oc get --export all command is not working.
  • In OCP 3.x it was possible to export all the object types(BuildConfig, DeploymentConfig, ImageStream, Pods, etc.) with the oc get --export all command, what is the equivalent in OCP 4.x ?

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.x
  • Red Hat Enterprise Linux CoreOS (RHCOS)

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