GCP Compute Disk Age ReportGCP Compute Disk DashboardGCP Compute Disk DetailGCP Compute Disk Encryption ReportGCP Compute Instance Age ReportGCP Compute Instance DashboardGCP Compute Instance DetailGCP Compute Instance Group DetailGCP Compute Network DashboardGCP Compute Network DetailGCP Compute Subnetwork DetailGCP IAM Service Account DetailGCP IAM Service Account Key Age ReportGCP KMS Key Age ReportGCP KMS Key DashboardGCP KMS Key DetailGCP Kubernetes Cluster Age ReportGCP Kubernetes Cluster DashboardGCP Kubernetes Cluster DetailGCP Project ReportGCP Pub/Sub Topic DetailGCP SQL Database Instance DashboardGCP SQL Database Instance DetailGCP Storage Bucket Age ReportGCP Storage Bucket DashboardGCP Storage Bucket DetailGCP Storage Bucket Encryption Report
Dashboard: GCP 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 the network and the node configured?
This dashboard contains 6 cards, 1 graph, 1 input and 9 tables.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-gcp-insights
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select GCP Kubernetes Cluster Detail dashboard.
You could also snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe dashboard run gcp_insights.dashboard.kubernetes_cluster_detail --share
Queries
This dashboard uses the the following queries:
select case when addons_config -> 'dnsCacheConfig' ->> 'enabled' = 'true' then 'Enabled' else 'Disabled' end as "DNS Cache Config", case when addons_config -> 'gcePersistentDiskCsiDriverConfig' ->> 'enabled' = 'true' then 'Enabled' else 'Disabled' end as "GCE Persistent Disk CSI Driver Config", case when addons_config -> 'horizontalPodAutoscaling' ->> 'enabled' = 'true' then 'Enabled' else 'Disabled' end as "Horizontal Pod Autoscaling", case when addons_config -> 'httpLoadBalancing' ->> 'enabled' = 'true' then 'Enabled' else 'Disabled' end as "HTTP Load Balancing", case when addons_config -> 'kubernetesDashboard' ->> 'enabled' = 'true' then 'Enabled' else 'Disabled' end as "Kubernetes Dashboard", case when addons_config -> 'networkPolicyConfig' ->> 'enabled' = 'true' then 'Enabled' else 'Disabled' end as "Network Policy Config"from gcp_kubernetes_clusterwhere id = split_part($1, '/', 1) and project = split_part($1, '/', 2);