Reverts the deployment to revision 2 specifically, not just the previous one. Find revision numbers with kubectl rollout history deploy/web. Use the plain kubectl rollout undo deploy/web when you simply want the last good state.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.