<p>With stackdriver's kubernetes engine integration, I can view real-time information on my pods and services, including how many are ready. I can't find any way to monitor this, however.</p>

<p>Is there a way to set up an alerting policy that triggers if no pods in a deployment or service are ready? I can set up a log-based metric, but this seems like a crude workaround for information that stackdriver logging seems to already have access to.</p>

Nick Johnson
<p>I am not sure about the  Stackdriver support of this feature; however, you can try creating following alerts as a workaround:</p>

<ol>
<li>In Alerting policy creation user interface, select resource type as
"k8s_container", also select a metric that always exists ( for
example, 'CPU usage time').</li>
<li>Define any "filter" or you can use "group by" which will trigger the alert conditions.</li>
<li>In aggregation, choose "count" aggregator.</li>
</ol>
