turbot/kubernetes_insights

Query: deployment_replicas_detail

Usage

powerpipe query kubernetes_insights.query.deployment_replicas_detail

Steampipe Tables

SQL

select
case when available_replicas <> 0 then 'available replicas' end as label,
case when available_replicas <> 0 then available_replicas end as value
from
kubernetes_deployment
where
uid = $1
union all
select
case when unavailable_replicas <> 0 then 'unavailable replicas' end as label,
case when unavailable_replicas <> 0 then unavailable_replicas end as value
from
kubernetes_deployment
where
uid = $1;

Params

ArgsNameDefaultDescriptionVariable
$1uid

    Dashboards

    The query is used in the dashboards: