Reputation: 20798
Using GKE. I declared a disk I use as persistent volume.
When the pod which uses the volume crashed and was re-started on a different node, the disk was still attached / mounted to the node it was mounted on before.
How comes the volume is not unmounted by the RC?
Then the pod fails and there is no recovery. i didn't find a way to unmount the disk, and the only way I could start the pod again was by restarting until it was started on the node that the disk was mounted on.
That definitely doesn't sound right. Am I missing something here?
Upvotes: 1
Views: 351
Reputation: 1840
This is a known issue. See https://github.com/kubernetes/kubernetes/issues/14642
We're working on a fix: See https://github.com/kubernetes/kubernetes/issues/15524
Sorry for the inconvenience.
Upvotes: 1