Cluster information:
Kubernetes version:1.18.0
Cloud being used: bare-metal
Installation method:kubeadm
Host OS: centos7.5
CNI and version: flannel
CRI and version: docker 20.10.17
###Porblem:
When I shrinkage capacity,I found that the Deployment Controller always delete the lastest one. Even if it’s processing more requests than others.
So I want delete a specified pod in Deployment in Kubernetes Cluster when modify the replica parameter, not the lastest , is there any methods?