turbot/kubernetes_insights

Query: container_by_context_name

Usage

powerpipe query kubernetes_insights.query.container_by_context_name

Steampipe Tables

SQL

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

Dashboards

The query is used in the dashboards: