turbot/kubernetes_insights

Query: namespace_pod_count

Usage

powerpipe query kubernetes_insights.query.namespace_pod_count

SQL

select
'Pods' as label,
count(p) as value
from
kubernetes_pod as p,
kubernetes_namespace as n
where
p.namespace = n.name
and p.context_name = n.context_name
and n.uid = $1;

Params

ArgsNameDefaultDescriptionVariable
$1uid

    Dashboards

    The query is used in the dashboards: