2.5.4
The issue is caused by a stale claimRef within the PersistentVolume metadata. When a PVC is deleted, the corresponding PV with a Retain reclaim policy enters a Released state. However, the spec.claimRef field continues to hold the UUID of the deleted PVC. This prevents the Kubernetes PV controller and the vSphere CSI resizer from performing operations (like expansion or rebinding) because the volume is still technically claimed by a non-existent resource.
To resolve this issue, the stale claimRef must be manually cleared to transition the PV back to an Available state.
kubectl scale sts <statefulset_name> -n <namespace> --replicas=0kubectl get pv <pv_name>kubectl patch pv <pv_name> --type=merge -p '{"spec":{"claimRef":null}}'kubectl apply -f <pvc_definition>.yamlkubectl get pvc <pvc_name> -n <namespace>kubectl scale sts <statefulset_name> -n <namespace> --replicas=<count>