turbot/kubernetes_insights

Query: container_by_namespace

Usage

powerpipe query kubernetes_insights.query.container_by_namespace

Steampipe Tables

SQL

select
namespace,
count(c) as "containers"
from
kubernetes_pod,
jsonb_array_elements(containers) as c
group by
namespace
order by
namespace;

Dashboards

The query is used in the dashboards: