turbot/kubernetes_insights

Query: namespace_deployment_count

Usage

powerpipe query kubernetes_insights.query.namespace_deployment_count

SQL

select
'Deployments' as label,
count(d) as value
from
kubernetes_deployment as d,
kubernetes_namespace as n
where
d.namespace = n.name
and d.context_name = n.context_name
and n.uid = $1;

Params

ArgsNameDefaultDescriptionVariable
$1uid

    Dashboards

    The query is used in the dashboards: