Delete Persistent Storage (Block Storage)

To delete a block of storage that is used by a cluster as persistent storage:

Please note: Before deleting the block storage, make sure that it is no longer required by a cluster as persistent storage.

Step 1

To determine the name of the block storage to be deleted, enter the following command:

kubectl get pvc
Step 2

To delete the Storage block, enter the following command:

kubectl delete pvc NAMEDESBLOCKSTORAGE

Example:

kubectl delete pvc my-storage 1

The Storage block is deleted.