turbot/gcp_insights

Query: kubernetes_cluster_auto_repair_disabled_count

Usage

powerpipe query gcp_insights.query.kubernetes_cluster_auto_repair_disabled_count

Steampipe Tables

SQL

select
count(*) as value,
'Node Auto-Repair Disabled' as label,
case
count(*)
when 0 then 'ok'
else 'alert'
end as "type"
from
gcp_kubernetes_cluster,
jsonb_array_elements(node_pools) as np
where
np -> 'management' -> 'autoRepair' <> 'true';

Dashboards

The query is used in the dashboards: