Had requirement to change the pod or deployment name.now when we deploy,we have 2 deployments and 3 pods each with old and new name So far i was deleting the old deployments manually.
do i need to manually delete the old deployment and pods or is there a better method?