turbot/kubernetes_insights

Query: deployment_host_table

Usage

powerpipe query kubernetes_insights.query.deployment_host_table

Steampipe Tables

SQL

select
name as "Name",
case when template -> 'spec' ->> 'hostNetwork' = 'true' then 'Enabled' else 'Disabled' end as "Host Network",
case when template -> 'spec' ->> 'hostPID' = 'true' then 'Enabled' else 'Disabled' end as "Host PID",
case when template -> 'spec' ->> 'hostIPC' = 'true' then 'Enabled' else 'Disabled' end as "Host IPC",
context_name as "Context Name",
uid as "UID"
from
kubernetes_deployment
order by
name;

Dashboards

The query is used in the dashboards: