turbot/kubernetes_insights

Query: container_by_pod

Usage

powerpipe query kubernetes_insights.query.container_by_pod

Steampipe Tables

SQL

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

Dashboards

The query is used in the dashboards: