<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>

CC BY-SA 4.0
2021-09-20T08:30:15.517Z
2021-09-20T08:30:15.517Z
Most Wanted
<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>

CC BY-SA 4.0
2021-09-20T05:29:48.917Z
I think this thread has what you need. Link here => [thread](https://stackoverflow.com/questions/52075184/how-to-check-k8s-deploy-historyl)
Kristian Kanchev
<kubernetes><helm><kubectl><kubernetes-helm>
kubectl retrieve update time for the resource
Most Wanted
# 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)
colordiff \
    <(kubectl rollout history deployment myapp --revision=76) \
    <(kubectl rollout history deployment myapp --revision=81)


---

