turbot/gcp_insights

Query: kubernetes_cluster_degraded_count

Usage

powerpipe query gcp_insights.query.kubernetes_cluster_degraded_count

Steampipe Tables

SQL

select
count(*) as value,
'Degraded' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
gcp_kubernetes_cluster
where
status = 'DEGRADED';

Dashboards

The query is used in the dashboards: