Deleting a sandbox instance
If a sandbox instance is not in use, you can delete the sandbox instance to release storage.
To delete a sandbox instance, complete the following steps.
- If the PersistentVolumeClaim was not created by the Operator, shut down the z/OS® system to prevent the corruption of the volume contents by using a connected 3270 terminal emulator.
- Use one of the following ways to delete the sandbox instance.
- Use command lines. You can delete a sandbox instance by using one of the following ways.
- Delete by name, for example,
oc delete wazisystemsandbox deb-accounting-app
. - Delete by the file that is used to create it, for example,
oc delete -f deb_developer_cr.yaml
.
- Delete by name, for example,
- Use the Red Hat® OpenShift® web console.
- Select the Administrator perspective.
- Click .
- Filter by entering the keyword wazisandbox.
- Click the three dots at the right, and select View Instances.
- Click the three dots, and select Delete WaziSandboxSystem.
- Use command lines. You can delete a sandbox instance by using one of the following ways.
- (Optional) Back up the z/OS volumes that the sandbox instance uses. After the backup is complete, you can re-create your sandbox instance when needed. For more information, see Backing up or snapshot the current state of a z/OS system.