Skip to content

Use WaitForFirstConsumer for GCP PersistentDisks

Compare
Choose a tag to compare
@gibbleyg gibbleyg released this 04 Aug 23:53
· 42 commits to master since this release

Pods can be unscheduable due to a Volume Node Affinity Conflict. This can happen when a pod has multiple pvcs, but the persistent volumes were created in different zones and thus not all pvs could be attached.

Kubernetes documentation suggests using WaitForFirstConsumer to avoid these issues. https://kubernetes.io/docs/concepts/storage/storage-classes/#volume-binding-mode