I wonder if there is something we can add to the csi driver that checks for terminating pods and will kill the seaweedfs mount, i'm not super good with the Go k8s stack, but perhaps inspiration from some other projects that have solved this would help.
Mounted storage can get into a state where the weed mount isn't unmounted when the pod is terminating.
I don't have a reproducibe example right now, but wanted to document the issue still.
Work around is to go into the k8s node and kill the pvc mount there.
sudo kill 1334193
The pod will then terminate.
I wonder if there is something we can add to the csi driver that checks for terminating pods and will kill the seaweedfs mount, i'm not super good with the Go k8s stack, but perhaps inspiration from some other projects that have solved this would help.