Cloud being used: bare-metal
Host OS: centos7.5
CNI and version: flannel
CRI and version: docker 20.10.17
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?