turbot/kubernetes_insights

Query: deployment_replica_count

Usage

powerpipe query kubernetes_insights.query.deployment_replica_count

Steampipe Tables

SQL

select
count(name) as value,
'Replicas Without HA (<3)' as label,
case count(name) when 0 then 'ok' else 'alert' end as type
from
kubernetes_deployment
where
replicas < 3;

Dashboards

The query is used in the dashboards: