Interview Prep/Kubernetes/Configuration & Storage

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.

All Kubernetes questions Roadmap: Kubernetes core

More on Configuration & Storage