How to Add Persistent Storage to a Pod

Operating System: Any

Applies To: Faculty or Staff using CaaS (Formerly WebApps)

Last Updated: November 16, 2022

We highly recommend that you store all of your application code within a git repository (see How to Create a New Code Repository).  However, persistent storage can be used if you have content (e.g. images, PDFs) that needs to persist through pod rebuilds/restarts.

Instructions

  1. Log into the CaaS Web console: https://console.apps.buffalo.edu/
  2. Click Project in the menu at the left
  3. Select your project in the upper-left corner of the project pane
  4. In the Inventory section, click Persistent Volume Claims
  5. Click Create PersistentVolumeClaim
  6. Enter a Name for your storage request
  7. Select an Access Mode for your storage.
  8. Enter a Size
  9. Click Create
  10. Click Project in the menu to the left
  11. In the Project pane, select Deployment
  12. Choose the Deployment you would like to add your storage to, click the three-dot menu to the far right of its name, and select Add Storage
  13. Select your Persistent Volume Claim in the drop-down menu. Fill in a path where your storage should be mounted. Click Save

See also

Still need help?

Contact the UBIT Help Center.