A new PVC stays `Pending` for 20 minutes; `kubectl describe` shows "no persistent volumes available for this claim and no storage class is set".
BeginnerTroubleshootingKubernetes cluster-level
Answer
Likely causes → The PVC has no storageClassName and the cluster has no default StorageClass, so nothing provisions a volume. A related case is "waiting for first consumer to be created before binding", which is normal for WaitForFirstConsumer classes until a pod uses the claim. Another is a missing CSI driver (on EKS 1.23+ you need the EBS CSI driver add-on).
Diagnose →
kubectl describe pvc data -n prod | tail -5
kubectl get storageclass
kubectl get pods -n kube-system | grep -i csi
Fix → Set storageClassName: gp3 on the PVC, or mark a default class:
kubectl patch storageclass gp3 -p '{"metadata":{"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
Install the CSI driver and its IAM role if missing.
Prevent → Make the default StorageClass and CSI driver part of the cluster bootstrap, and always set storageClassName explicitly in charts.
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