turbot/steampipe-mod-kubernetes-insights

Dashboard: Kubernetes Service Detail

This dashboard answers the following questions for each Service:

  • What relationships does the Service have with other resources?
  • How is my Service configured?
  • Is the host network access enabled?
  • Is the host PID sharing or the host IPC sharing enabled?
  • What labels and annotations are applied?
This dashboard contains 2 cards, 1 flow, 1 graph, 1 input and 6 tables.

Usage

Install the mod:

mkdir dashboards
cd dashboards
powerpipe mod init
powerpipe mod install github.com/turbot/steampipe-mod-kubernetes-insights

Start the Powerpipe server:

steampipe service start
powerpipe server

Open http://localhost:9033 in your browser and select Kubernetes Service Detail dashboard.

You could also snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe dashboard run kubernetes_insights.dashboard.service_detail --share

Queries

This dashboard uses the the following queries:
with jsondata as (
select
annotations::json as annotation
from
kubernetes_service
where
uid = $1
)
select
key as "Key",
value as "Value"
from
jsondata,
json_each_text(annotation)
order by
key;
{
"$1": "uid"
}

Tags