couchbase-kubernetes icon indicating copy to clipboard operation
couchbase-kubernetes copied to clipboard

When will k8s detach ebs?

Open zeeshen opened this issue 8 years ago • 0 comments

Follow this pv tutorial

When I deleted a pod in rc, chances are will k8s start a new pod on another node. Meanwhile, the ebs volume is still attached to the old node. And there'll be events like 'Failed to mount, ..., VolumeInUse'. But sometimes k8s just start a new pod on the same node, so a little hard to repeat.

Could you please help me with my questions:

  1. Is it an expected behavior that k8s'll auto detach ebs volume when recover a pod on another node?
  2. If not, I should use petset?

zeeshen avatar Nov 16 '16 05:11 zeeshen