turbot/gcp_insights

Query: kubernetes_cluster_ip_allocation_policy

Usage

powerpipe query gcp_insights.query.kubernetes_cluster_ip_allocation_policy

Steampipe Tables

SQL

select
ip_allocation_policy ->> 'clusterIpv4Cidr' as "Cluster IPv4 CIDR",
ip_allocation_policy ->> 'clusterSecondaryRangeName' as "Cluster Secondary Range Name",
ip_allocation_policy ->> 'servicesIpv4Cidr' as "Services IPv4 CIDR",
ip_allocation_policy ->> 'servicesSecondaryRangeName' as "Services Secondary Range Name",
ip_allocation_policy ->> 'useIpAliases' as "Use IP Aliases"
from
gcp_kubernetes_cluster
where
id = split_part($1, '/', 1)
and project = split_part($1, '/', 2);

Dashboards

The query is used in the dashboards: