turbot/steampipe-mod-azure-insights

Dashboard: Azure Kubernetes Cluster Dashboard

This dashboard answers the following questions:

  • How many clusters are in each subscription, resource group and region?
  • How many publicly accessible clusters are there?
  • How many clusters are not encrypted and have role based access disabled?
  • How many clusters have pod security and auto scaling disabled?
This dashboard contains 6 cards.

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 Dashboard dashboard.

You could also snapshot and share results via Turbot Pipes:

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

Queries

This dashboard uses the the following queries:
select
count(*) as value,
'Auto Scaling Disabled' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
azure_kubernetes_cluster
where
auto_scaler_profile is null;

Tags