turbot/kubernetes_insights

Query: statefulset_container_host_network_status

Usage

powerpipe query kubernetes_insights.query.statefulset_container_host_network_status

Steampipe Tables

SQL

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

Dashboards

The query is used in the dashboards: