Optimizing Kubernetes pod deployments for reliability with topology spread constraints
If you’re like many Kubernetes users, you don’t pay much attention to where or how Kubernetes distributes your pods. As long as they’re running, it doesn’t matter where they get deployed, right? Surely Kubernetes will use some complex algorithm to figure out the most reliable way to distribute your pods across the cluster…right? Pod distribution plays a much bigger role in reliability than you might think.