What does `volumeBindingMode: WaitForFirstConsumer` do and why does it matter?
IntermediateConceptConfiguration & Storage
Answer
With Immediate, the volume is provisioned as soon as the PVC is created, possibly in the wrong availability zone for where the Pod later schedules. WaitForFirstConsumer delays provisioning until a Pod is scheduled, so the volume is created in the Pod's zone. For zonal storage like EBS this is the right default.
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