turbot/digitalocean_insights

Query: kubernetes_cluster_status

Usage

powerpipe query digitalocean_insights.query.kubernetes_cluster_status

SQL

select
status,
count(*) as "Clusters"
from (
select name,
case when status = 'degraded' then
'degraded'
else
'ok'
end status
from
digitalocean_kubernetes_cluster) as c
group by
status
order by
status;

Dashboards

The query is used in the dashboards: