'PVC Stuck in Resizing -AKS

I edited my pvc for resizing. I tried restarting the statefulset after some time. Now my pvc resizing is stuck for around 3 hours. i tried restarting the statefulset many times. What can i do?



Solution 1:[1]

The reason for getting stuck in resizing PVC is spec in PVC is immutable which means you cannot change this value after creation. In PVC you can only change resource requests. spec is immutable after creation except resources.requests for bound claims If you need to change storage size, you need to remove this PVC and create another one.

For more information you can refer this Thread

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 RahulKumarShaw-MT