Answers: <p>Seems like these commands are sufficient</p>
  <pre><code>$ kubectl rollout history deployment myapp
  $ kubectl rollout history deployment myapp --revision=76
  </code></pre>
  <p>and to check the difference (use <code>diff</code> or <a href="https://www.colordiff.org/" rel="nofollow noreferrer">colordiff</a>)</p>
  <pre><code>colordiff \
      &lt;(kubectl rollout history deployment myapp --revision=76) \
      &lt;(kubectl rollout history deployment myapp --revision=81)
  </code></pre>
  
Answers: CC BY-SA 4.0
Answers: 2021-09-20T08:30:15.517Z
Answers: 2021-09-20T08:30:15.517Z
Answers: Most Wanted
Body: <p>I'm wondering whether it's possible to get the time where my resource was updated?</p>
  <p>e.g. via</p>
  <pre><code>$ kubectl describe deployment/myapp
  </code></pre>
  <p>I can see <code>CreationTimestamp</code> but I want to know the last time new changes were introduced.
  Also is it possible to get a diff between two rollouts?
  For example with</p>
  <pre><code>$ kubectl rollout history deployment/myapp
  </code></pre>
  <p>I want to check the configuration difference between current version and the previous one. Is there a way I can do that?</p>
  
Comments: CC BY-SA 4.0
Comments: 2021-09-20T05:29:48.917Z
Comments: I think this thread has what you need. Link here => [thread](https://stackoverflow.com/questions/52075184/how-to-check-k8s-deploy-historyl)
Comments: Kristian Kanchev
Tags: <kubernetes><helm><kubectl><kubernetes-helm>
Title: kubectl retrieve update time for the resource
UserDisplayName: Most Wanted
ThreadText: # kubectl retrieve update time for the resource
  
  (Asked by: username_0 on 2021-09-17)
  
  I'm wondering whether it's possible to get the time where my resource was updated?
  
  e.g. via
  
  ```
  $ kubectl describe deployment/myapp
  
  ```
  
  I can see `CreationTimestamp` but I want to know the last time new changes were introduced.
  Also is it possible to get a diff between two rollouts?
  For example with
  
  ```
  $ kubectl rollout history deployment/myapp
  
  ```
  
  I want to check the configuration difference between current version and the previous one. Is there a way I can do that?
  
  **Tags:** kubernetes, helm, kubectl, kubernetes-helm
  
  > **Comments:**
  > **username_1**: I think this thread has what you need. Link here => [thread](https://stackoverflow.com/questions/52075184/how-to-check-k8s-deploy-historyl)  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2021-09-20. Score: 2
  
  Seems like these commands are sufficient
  
  ```
  $ kubectl rollout history deployment myapp
  $ kubectl rollout history deployment myapp --revision=76
  
  ```
  
  and to check the difference (use `diff` or [colordiff](https://www.colordiff.org/))
  
  ```
  colordiff \
      <(kubectl rollout history deployment myapp --revision=76) \
      <(kubectl rollout history deployment myapp --revision=81)
  
  ```
  
  
  ---
  
  