How Kubernetes Node Affinity Works (And Why It Matters for K8s Cost Control)
Think about how airlines assign seats on a plane. Some have extra legroom. Some sit near exits. Some are cheaper, while others cost a premium. Certain passengers also have strict requirements, like families traveling together or travelers who paid for a specific class. Now imagine boarding everyone randomly. A passenger who paid for extra legroom (perhaps for health reasons) ends up squeezed into a middle seat. Families scatter across the cabin. Premium seats sit half empty while the back rows overflow.