turbot/kubernetes_insights

Query: statefulset_containers

Usage

powerpipe query kubernetes_insights.query.statefulset_containers

Steampipe Tables

SQL

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