turbot/kubernetes_insights

Query: statefulset_container_host_pid_status

Usage

powerpipe query kubernetes_insights.query.statefulset_container_host_pid_status

Steampipe Tables

SQL

select
case when template -> 'spec' ->> 'hostPID' = 'true' then 'enabled' else 'disabled' end as status,
count(*)
from
kubernetes_stateful_set
group by
status;

Dashboards

The query is used in the dashboards: