Rolling updates and rollbacks · Question 7 of 12

Which command rolls a Deployment back to the previous revision?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • C kubectl rollout undo deployment/web

Explanation

With --to-revision you can also choose a specific older revision. restart merely restarts the pods with the current template.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications