What is the full lifecycle of dynamic provisioning from PVC creation to mount?
AdvancedConceptConfiguration & Storage
Answer
PVC created -> (WaitForFirstConsumer) Pod scheduled -> the external-provisioner sidecar calls CSI CreateVolume -> a PV is created and bound to the PVC -> attach-detach controller or external-attacher calls ControllerPublishVolume (EBS attach to the node) -> kubelet calls CSI node NodeStageVolume (format/mount globally) and NodePublishVolume (bind-mount into the Pod) -> containers start.
More on Configuration & Storage
What is a ConfigMap and how can a Pod consume it?BeginnerWhat is a Secret and is it secure by default?BeginnerWhat are the common Secret types?BeginnerWhat is a Volume and how does it differ from a container filesystem?BeginnerWhat is `emptyDir` and when is it used?BeginnerWhat are PersistentVolume (PV), PersistentVolumeClaim (PVC) and StorageClass?Beginner