<p>There are commands given <a href="https://kubernetes.io/docs/reference/kubectl/cheatsheet/#updating-resources" rel="noreferrer">here</a> which explain how to perform a rollback using <code>kubectl</code>. One that lists the previous versions of your deployment is: </p>

<p><code>kubectl rollout history deployment/myDeployment</code></p>

<p>This shows a list of previous versions based on their order and just their corresponding numbers. But how to know more details about them? It is hard to know which version I am rolling back to by just looking at a number. </p>

Satyajit Das
<p>You can use the revision flag to get more information:</p>

<blockquote>
  <p><code>kubectl rollout history deployment/&lt;Deployment-name&gt;  --revision=&lt;revision-number&gt;</code></p>
</blockquote>

<p>This will give you details about the Pod Template used in the specified revision number.</p>

<p>If you want the date on which the revision was deployed, use the -o yaml flag and check for <code>creationTimestamp</code></p>

<blockquote>
  <p><code>kubectl rollout history deployment/&lt;Deployment-name&gt;  --revision=&lt;revision-number&gt;  -o yaml</code></p>
</blockquote>
