StorageClass & PVC

StorageClass

Commands

To list the StorageClass:

kubectl get storageclass

To describe a StorageClass:

kubectl describe storageclass <storageclass-name>

To delete a StorageClass:

kubectl delete storageclass <storageclass-name>

PVC (PersistentVolumeClaim)

Commands

To apply and run a PVC configuration:

To list the PVCs:

Example

How to use in Deployment:

Last updated