turbot/steampipe-mod-kubernetes-insights

Dashboard: Kubernetes Namespace Detail

This dashboard answers the following questions for each namespace:

  • What relationships does the namespace have with other resources?
  • How is my namespace configured?
  • What labels and annotations are applied?
This dashboard contains 5 cards, 1 graph, 1 input and 8 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 Namespace Detail dashboard.

You could also snapshot and share results via Turbot Pipes:

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

Queries

This dashboard uses the the following queries:
select
d.name as "Name",
d.number_ready as "Ready",
d.desired_number_scheduled - d.number_ready as "Not Ready"
from
kubernetes_daemonset as d,
kubernetes_namespace as n
where
d.namespace = n.name
and d.context_name = n.context_name
and n.uid = $1
order by
d.name;
{
"$1": "uid"
}

Tags