turbot/azure_insights

Query: kubernetes_cluster_by_subscription

Usage

powerpipe query azure_insights.query.kubernetes_cluster_by_subscription

SQL

select
sub.title as "Subscription",
count(s.*) as "Clusters"
from
azure_kubernetes_cluster as s,
azure_subscription as sub
where
sub.subscription_id = s.subscription_id
group by
sub.title
order by
sub.title;

Dashboards

The query is used in the dashboards: