turbot/kubernetes_insights

Query: pods_for_statefulset

Usage

powerpipe query kubernetes_insights.query.pods_for_statefulset

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;