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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.