突然被问道k8s缩容pod停止顺序,经过查询源码顺序如下:
1. Unassigned < assigned
2. PodPending < PodUnknown < PodRunning
3. Not ready < ready
4. Been ready for empty time < less time < more time
5. Pods with containers with higher restart counts < lower restart counts
6. Empty creation time pods < newer pods < older pods