After a node failure, the rescheduled database pod is stuck in `ContainerCreating` with "Multi-Attach error for volume "pvc-1a2b" Volume is already exclusively attached to one node and can't be attached to another".
IntermediateTroubleshootingKubernetes cluster-level
Answer
Likely causes → EBS (and most block volumes) are ReadWriteOnce and can attach to one instance at a time. The old node died uncleanly, so the attach-detach controller still thinks the volume is attached there and waits (about 6 minutes) before force-detaching.
Diagnose →
kubectl describe pod pg-0 | grep -A3 Multi-Attach
kubectl get volumeattachment | grep pvc-1a2b
aws ec2 describe-volumes --volume-ids vol-0abc --query 'Volumes[0].Attachments'
Fix → If the old node is really gone, delete its Node object and the stale VolumeAttachment; the volume detaches and attaches to the new node. If the instance is still running but broken, stop it first so you don't risk two writers.
Prevent → Use the out-of-service taint for faster failover, keep databases on replicated setups (operators, RDS) rather than relying on a single volume moving, and keep pods with zonal volumes pinned to the same AZ.
More on Kubernetes cluster-level
Every `kubectl` command fails with "The connection to the server 10.0.1.10:6443 was refused - did you specify the right host or port?"BeginnerA new deployment's pods stay Pending with "0/5 nodes are available: 5 Insufficient cpu. preemption: 0/5 nodes are available: 5 No preemption victims found for incoming pod."BeginnerPods are Pending, but Cluster Autoscaler won't add nodes; the pod events say "pod didn't trigger scale-up: 2 node(s) didn't match Pod's node affinity/selector, 1 max node group size reached".IntermediateA node goes NotReady and kubelet logs "PLEG is not healthy: pleg was last seen active 3m10s ago; threshold is 3m0s".IntermediateAfter a node was terminated, its pods have shown `Terminating` for two hours and their replacements aren't being created.IntermediateYou deleted a namespace an hour ago and it's still `Terminating`.Intermediate