<p>Is there a way to check the last time the liveness &amp; readyness checks are done and what are the results of the same.</p>

<p>I check by doing</p>

<p><code>kubectl get pod my-pod -o yaml</code></p>

<p>The status section shows up like this but does not tell when the kubelet ran the health checks</p>

<pre><code>  conditions:
  - lastProbeTime: null
    lastTransitionTime: 2019-09-17T10:38:20Z
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: 2019-09-17T10:38:35Z
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: 2019-09-17T10:38:35Z
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: 2019-09-17T10:38:20Z
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: docker://&lt;some link&gt;
    image: nginx:latest
    imageID: someid
    lastState: {}
    name: nginx
    ready: true
    restartCount: 0
    state:
      running:
        startedAt: 2019-09-17T10:38:22Z
  hostIP: 172.18.3.8
  phase: Running```
</code></pre>

randominstanceOfLivingThing
<p>There is one closed <a href="https://github.com/kubernetes/kubernetes/issues/58235" rel="nofollow noreferrer">issue</a> for this.</p>
<p>And the <a href="https://github.com/kubernetes/kubernetes/pull/61369" rel="nofollow noreferrer">pull request</a> to expose result of liveness and readiness probes for all the pods as prometheus metrics is also merged.</p>
<p>Once this feature is officially released you can plot the result of liveness and readiness probes for all the pods.</p>
<p>For now what is supposed to be supported is answered by @nur.</p>
