infantus
infantus

Reputation: 49

Existing Pv to a new pod

I Have a pod running in a node with an attached pv. My requirement is that I need to use the existing pv, if the pod does down and allocates the pod in another node, for the newly created pod in another node. So what can be done?

Upvotes: 0

Views: 530

Answers (1)

Manmohan Mittal
Manmohan Mittal

Reputation: 374

If you are using the persistence volume , then pv stays with pod till its life which means it will persists pod's restarts or deletes. It can only be deleted by deleting its deployment config.

If your case is to backup the data on pv , then thats different case.

Upvotes: 1

Related Questions