How Kubernetes picks which pods to delete during scale-in
Source: https://rpadovani.com/k8s-algorithm-pick-pod-scale-in
Have you ever wondered how K8s choose which pods to delete when a deployment is scaled down? Given it is not documented, I dived in the source code to learn.