Configuring a Red Hat OpenShift target environment
After you configure a Red Hat® OpenShift® target environment on the Enterprise Edition web user interface, you can provision a z/OS® instance that is running on an emulated IBM Z® hardware to a specific Red Hat OpenShift target environment. Also, you can use a cloud-ready image to create an instance in the Red Hat OpenShift environment.
- Click Target environments on the home page, or click the upper-right Configure settings button to navigate to Target environments.
- Click Add target environment.
- Click the drop-down menu of Target environment type, and select Red Hat OpenShift.
- Enter a unique name that can be used to identify the Red Hat OpenShift target environment.
- Enter the API server URI that you obtained.
To get the API server URI, open the Red Hat OpenShift CLI, and run the
oc whoami—show-server
command. Or, you can contact your Red Hat OpenShift administrator for this information if needed. - Enter the API token that you obtained.
To find the API token, log in to the Red Hat OpenShift Container Platform web console, click your ID on the upper right, and select Copy Login Command. Or, open the Red Hat OpenShift CLI, run the
oc whoami—show-token
command. Also, you can contact your Red Hat OpenShift administrator for this information if needed. - Click Establish connection. Note: After the connection is successful, you can edit the existing API server URI or the API token if you need. However, if you confirm to edit the values, all other selections that you made will be discarded.
- Click the drop-down menu, and select a namespace that you want to work with. If you do not know
which namespace to select, confirm with your Red Hat
OpenShift administrator.Note: To provision z/OS instances to your Red Hat OpenShift target environment successfully, you must ensure that the Sandbox Operator was installed in the target namespace.
- Click the drop-down menu, and select a storage class that you want to work with.
- If the selected storage class supports Container Storage Interface (CSI) volume cloning, you can enable the option Enable fast provisioning to store the cloud-ready images or faster provisioning.
- Add the Red Hat
OpenShift target environment in one of the following
ways:
- Clear the Advanced settings option, and click Add a target environment to save the target environment to the Enterprise Edition repository.
- Enable the Advanced settings option, and modify the number of volumes that you want to extract and transfer simultaneously. Then, click Add a target environment to save the target environment to the Enterprise Edition repository.