turbot/kubernetes_insights

Query: node_pods_count

Usage

powerpipe query kubernetes_insights.query.node_pods_count

SQL

select
count(distinct p.name) as value,
'Pods' as label
from
kubernetes_pod as p
left join kubernetes_node as n on p.node_name = n.name
and p.context_name = n.context_name
where
n.uid = $1;

Params

ArgsNameDefaultDescriptionVariable
$1uid

    Dashboards

    The query is used in the dashboards: