Interview Prep/Kubernetes/Configuration & Storage

Why do StatefulSet Pods sometimes get "Multi-Attach error" and "volume node affinity conflict"?

AdvancedConceptConfiguration & Storage
Answer

Multi-Attach: an RWO EBS volume is still attached to the old node (the node died or detach is slow) while the new Pod is on another node; it clears after the force-detach timeout (~6 minutes) or when the old node is removed. Node affinity conflict: the PV lives in one AZ but the Pod is constrained or scheduled to another zone.

kubectl describe pod db-0 | grep -A5 Events
All Kubernetes questions Roadmap: Kubernetes core

More on Configuration & Storage