<p>I tried with the below command but it provides only the created date. How do I get when was it last updated?</p>
<pre><code>kubectl describe hpa -n xyz hpa-hello
</code></pre>
<p>Example: Today I create a hpa with max replica 3 and tomorrow I apply the same yaml but with max replica 6. If I do that, I can see only the created date and not the updated date. The description correctly shows the updated max replicas as 6</p>
<p>Update: There is no direct way to obtain this information !</p>

Arun Prakash Nagendran
<p>I Assume here that the last updated date or time nothing but when was last auto scaled?
To get details about the Horizontal Pod Autoscaler, you can use kubectl get hpa with the -o yaml flag. The status field contains information about the current number of replicas and any recent autoscaling events.</p>
<pre><code>kubectl get hpa &lt;hpa name&gt; -o yaml 
</code></pre>
<p>In this output we can see the last transition times along with messages.
Refer to this <a href="https://cloud.google.com/kubernetes-engine/docs/how-to/horizontal-pod-autoscaling#kubectl-get" rel="nofollow noreferrer">doc</a> which might help you and also to <a href="https://cloud.google.com/kubernetes-engine/docs/how-to/horizontal-pod-autoscaling#viewing" rel="nofollow noreferrer">view</a> the details about the HPA.</p>
<p>Edit 1:
Moreover, I have gone through many docs and I don't think we can get the info about it from a get command. For this, an <a href="https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/" rel="nofollow noreferrer">auditing resource</a> in k8's can be created to log all activities generated by users for a specific type of resource . This might help you to find the logs.</p>
