turbot/kubernetes_insights

Query: pod_conditions

Usage

powerpipe query kubernetes_insights.query.pod_conditions

Steampipe Tables

SQL

select
c ->> 'lastTransitionTime' as "Last Transition Time",
c ->> 'lastProbeTime' as "Last Probe Time",
c ->> 'status' as "Status",
c ->> 'type' as "Type"
from
kubernetes_pod,
jsonb_array_elements(conditions) as c
where
uid = $1
order by
c ->> 'lastTransitionTime' desc;

Params

ArgsNameDefaultDescriptionVariable
$1uid

    Dashboards

    The query is used in the dashboards: