<p>I have a requirement that involves putting together uptime metrics for some of the pods in my Kubernetes cluster.</p>

<p>I am thinking of using the Kubernetes readiness checks and was curious if anyone has done anything similar?</p>

<p>Basically I am trying to generate reports that say this pod has had 95% uptime over the last week/month.</p>

<p>Best is to use time-series database which can store uptime metrics. You can use grafana which as comes first class citizen with k8s cluster roll out if you need.</p>

<p>We use Wavefront to store and visualize this uptime metrics and tons of other metrics. Once you have uptime values available, you will see a sudden drops during pod container down time, prometheus/wavefront/grafan all can then allow you to apply time series functions to see (total uptime / total container down) over specific period of time (month in your case) to reflect what you need</p>
