turbot/kubernetes_insights

Query: namespace_service_count

Usage

powerpipe query kubernetes_insights.query.namespace_service_count

SQL

select
'Services' as label,
count(s) as value
from
kubernetes_service as s,
kubernetes_namespace as n
where
s.namespace = n.name
and s.context_name = n.context_name
and n.uid = $1;

Params

ArgsNameDefaultDescriptionVariable
$1uid

    Dashboards

    The query is used in the dashboards: