turbot/kubernetes_insights

Query: pods_for_replicaset

Usage

powerpipe query kubernetes_insights.query.pods_for_replicaset

Steampipe Tables

SQL

select
pod.uid as uid
from
kubernetes_pod as pod,
jsonb_array_elements(pod.owner_references) as pod_owner
where
pod_owner ->> 'uid' = $1;