You can use persistent storage to expand the overall storage space for newly created containers and VMs. You can use this storage to store logs or any other miscellaneous content.
After you add persistent storage, you can use this document to learn:
- How to locate persistent storage volume
- Tips before you edit or delete a workload with persistent storage
You can only add persistent storage when you first create a new workload; you cannot add persistent storage to an existing workload.
- To learn how to create a workload with persistent storage volumes, see Create and Manage Virtual Machines, Containers, and Workloads.
Locate the persistent storage volume
When you use SSH to connect to your workload, you can navigate to the storage location in the directory that you specified when you first created the workload.
For example, if the storage was mounted in
/mnt/example, then you can verify the existence of the mount using the
df-h command on any virtual machine-based workload or Linux-based container.
In the following table, the bolded line shows the persistent storage location:
Edit or delete a workload
Before you edit or delete a workload, consider the following statements:
|Edit a workload
|Delete a workload