Move your Developer Sandbox objects to another cluster

This learning path walks you through the process of exporting your OpenShift objects from one cluster and importing them into another.

Access the Developer Sandbox

Moving objects from one OpenShift cluster to another involves exporting the objects as YAML files and then creating the objects in the target cluster.

In order to get full benefit from taking this lesson, you need to:

  • Have access to the OpenShift dashboard.
  • Have access to the command line with the oc command.

In this lesson, you will:

  • Export objects as YAML files.

Export objects as YAML files

To start, make note of the application you wish to export; you’ll need this later. 

In the Developer perspective of the OpenShift dashboard, you will see the link, Export application (Figure 1).

The Export application button in the OpenShift dashboard.
Figure 1: Export your application.

Click this link to begin the process. After a few minutes, the download link will appear. 

After a few minutes, the download link will appear. Click the download link to download your application as a zip file containing all of the YAML files to describe the resources in your sandbox cluster.

That last part is important, because while the export gathers all of the resources, you’ll only want to import the objects related to your application—which you made note of at the start.

The next step is to remove objects that are not part of your application and then import the application to a cluster.

Summary

You can deploy services to an OpenShift cluster from within the web-based dashboard.

Want to learn more? Try these:

Previous resource
Overview: Move your Developer Sandbox objects to another cluster
Next resource
Import objects into a cluster