I am using
kubectl for Kubernetes based deployments.
I created a deployment that gone to
crashloopbackoff state. Then for correcting this issue, a rolling update was done. But the deployment failed due to OOM. Then if I do a rollout undo, I am seeing current and previous replica sets with the respective pods in the failed state. I only need the previous replica sets with running pods.
Any points what might have gone wrong. Thank you so much.