Menu

I built a KDE Plasma widget that shows the health of all my Kubernetes clusters
📰

I built a KDE Plasma widget that shows the health of all my Kubernetes clusters

DEV Community: kubernetes·Piotr Skwarna·about 7 hours ago
#pcVSjFko
#devtokubernetes#devto#dev#cluster#kubectl
Long article (799 words) — no AI summary yet.
Reading 0:00
15s threshold

I keep a few Kubernetes contexts in my kubeconfig: a small public cluster, an RKE2 lab on virtual machines, and the usual kind and minikube that are stopped most of the time. What I wanted was simple: glance at the panel and know whether something is broken, and which context kubectl is pointing at before I type anything destructive.

GNOME has a handful of extensions for this (Kubectl Extension, Kube Config, Kube Node Monitor). On KDE Plasma I found one widget in the KDE Store that lists pods of a single cluster, and nothing for switching contexts. So I wrote Kubernetes Cluster Status , a Plasma 6 widget.

Demo data from a fake kubectl, so every state fits in one screenshot.

What it shows

Every context in your kubeconfig , checked in parallel. Clusters with problems go to the top; unreachable ones (a stopped kind or minikube) are grey instead of red.

Panel icon with a health badge , and the current context/namespace next to it.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.