turbot/kubernetes_insights

Query: service_pods_detail

Usage

powerpipe query kubernetes_insights.query.service_pods_detail

SQL

select
name as "Name",
uid as "UID",
restart_policy as "Restart Policy",
node_name as "Node Name"
from
kubernetes_pod
where
selector_search in (select selector_query from kubernetes_service where uid = $1)
order by
name;

Params

ArgsNameDefaultDescriptionVariable
$1uid

    Dashboards

    The query is used in the dashboards: