I want to create a replication controller with a POD which will have a PVC (persistent volume claim). My PVC will use an NFS storage for PV(Persistent Volume).
Once the POD is operational the RC would maintain the PODs up and running. In this situation would the data in the POD be available / persistent when
- the POD is stopped/deleted by a delete command and RC re-launches it? That means Kubernetes was not shutdown. In this case can the new POD have the same data from the same volume?
- the POD was stopped, Kubernetes process and the nodes were restarted. The NFS storage however was still attached as PV.
- A new PV is attached to Kubernetes and the old PV is detached.