<h2>Background</h2>
<p>I have Kubernetes cluster deployed on Google Cloud. This deployment has auto scaling feature activated (by CPU). At any time, I have between 2 to 100 pods.</p>
<h2>Question</h2>
<p>Is this possible to measure how many pods running hours I have in a given time range?</p>
<p>For example, in the last 7 days the deployments has 500 working hours.</p>
<p>Is this something possible?</p>
<p>Thanks!</p>

No1Lives4Ever
<p>You can use Prometheus to monitor K8S cluster. It gives you exact running time of every container and pod in miliseconds. You can easily find setup tutorial.</p>
