Let's walk through a demo that uses a StorageClass.

The basic steps of the demo will be:

  1. Create a StorageClass.
  2. Create a PVC.
  3. Create a Pod that leverages it all.

The Pod will map a volume using the PVC, which, in turn, will trigger the SC to dynamically create a PV and associated external storage asset. The demo will be on the Google Cloud Platform and assumes you have a working cluster with kubectl correctly configured.

Clean up

If you’ve been following along, you’ll have a Pod, a PVC, and a PV already created. Let’s delete these before proceeding with the demo.

Get hands-on with 1200+ tech skills courses.