I have this command which will rollback my deployment. ``` kubectl rollout undo . . .

daher:
I have this command which will rollback my deployment.

kubectl rollout undo deployment/app --to-revision=2

is it possible to see the yaml without doing a rollback

Ravan Nannapaneni:
each version of the deployment has a replicaset created. You can view them.

Tanumoy Ghosh:
Would this help

kubectl rollout history deploy app --revision=2