turbot/kubernetes_insights

Query: replicasets_for_deployment

Usage

powerpipe query kubernetes_insights.query.replicasets_for_deployment

Steampipe Tables

SQL

select
uid
from
kubernetes_replicaset as r,
jsonb_array_elements(r.owner_references) as owner
where
owner ->> 'uid' = $1;