<p>I am trying to track and monitor, how much time does a pod take to come online/healthy/Running.</p>
<p>I am using EKS. And I have got HPA and cluster-autoscaler installed on  my cluster.</p>
<p>Let's say I have a deployment with <code>HorizontalPodAutoscaler</code> scaling policy with 70% <code>targetAverageUtilization</code>.<br />
So whenever the average utilization of deployment will go beyond 70%, HPA will trigger to create new POD. Now, based on different factors, like if nodes are available or not, and if not is already available, then the image needs to be downloaded or is it present on cache, the scaling can take from few seconds to few minutes to come up.</p>
<p>I want to track this time/duration, every time the POD is scheduled, how much time does it take to come to <code>Running</code> state. Any suggestions?</p>
<p>Or any direction where I should be looking at.</p>
<p>I found this <a href="https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-autoscaler-visibility" rel="nofollow noreferrer">Cluster Autoscaler Visibility Logs</a>, but this is only available in GCE.</p>
<p>I am looking for any solution, can be out-of-the-box integration, or raising events and storing them in some time-series DB or <strong>scraping</strong> data from Prometheus. But I couldn't find any solution for this till now.</p>
<p>Thanks in advance.</p>

<p>There is nothing out of the box for this, you will need to build something yourself.</p>
