'Problem : Delete PVC (Persistent Volume Claim) Kubernetes Status Terminating

Basically, I have a problem deleting my spoc-volume-spoc-ihm-kube-test PVC I tried with:

kubectl delete -f file.yml
kubectl delete PVC

but I get every time the same Terminating Status. Also, when I delete the PVC the console is stuck in the deleting process.

Capacity: 10Gi Storage Class: rook-cephfs Access Modes: RWX

Here is the status in my terminal:

kubectl get pvc NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE spoc-volume-spoc-ihm-kube-test Terminating pvc-- 10Gi RWX rook-cephfs 3d19h

Thank You for your answers, Stack Community :)



Solution 1:[1]

I fixed the problem by deleting the pods depending on that pvc

The status: TERMINATING disappeared

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Fuzzby