turbot/steampipe-mod-azure-insights

Dashboard: Azure Kubernetes Cluster Detail

This dashboard answers the following questions for each cluster:

  • How is the cluster configured?
  • What relationships does the cluster have with other resources?
  • What tags are applied?
  • How is disk encryption configured?
  • How are the node pools configured?
This dashboard contains 5 cards, 1 graph, 1 input and 4 tables.

Usage

Install the mod:

mkdir dashboards
cd dashboards
powerpipe mod init
powerpipe mod install github.com/turbot/steampipe-mod-azure-insights

Start the Powerpipe server:

steampipe service start
powerpipe server

Open http://localhost:9033 in your browser and select Azure Kubernetes Cluster Detail dashboard.

You could also snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe dashboard run azure_insights.dashboard.kubernetes_cluster_detail --share

Queries

This dashboard uses the the following queries:
select
p ->> 'name' as "Name",
p ->> 'count' as "Node Count",
p ->> 'enableAutoScaling' as "Autoscaling Enabled",
p ->> 'enableNodePublicIP' as "Is Public",
p ->> 'osDiskSizeGB' as "OS Disk Size (GB)",
p ->> 'osDiskType' as "OS Disk Type",
p ->> 'osType' as "OS Type",
p ->> 'vmSize' as "VM Size"
from
azure_kubernetes_cluster c,
jsonb_array_elements(c.agent_pool_profiles) p
where
lower(id) = $1
and subscription_id = split_part($1, '/', 3)
order by
p ->> 'name';

Tags