turbot/kubernetes_insights

Query: container_liveness_probe_status

Usage

powerpipe query kubernetes_insights.query.container_liveness_probe_status

Steampipe Tables

SQL

select
case
when c -> 'livenessProbe' is null then 'unavailable'
else 'available'
end as status,
count(c)
from
kubernetes_pod,
jsonb_array_elements(containers) as c
group by
status;

Dashboards

The query is used in the dashboards: