Skip to content
ysrgozudeliPublic

About

Open-source, cross-platform Kubernetes desktop client with cluster monitoring, resource management, topology visualization and AI agent integration through MCP.

Resources

Stars

21 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

86 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

KubeDesk

KubeDesk

Your kubectl, without the terminal. A lightweight, cross-platform desktop GUI for Kubernetes β€” talks straight to the cluster API, no kubectl binary required.

Release Downloads License: MIT Stars Platforms Java

KubeDesk β€” load a kubeconfig and browse a cluster live

KubeDesk connects with any kube.conf and talks directly to the cluster API server (via the fabric8 Kubernetes client) using your existing credentials β€” no kubectl binary needed for any operation. The UI deliberately mirrors the official Kubernetes Dashboard so anyone coming from there feels at home, positioned as a lighter, free alternative to Lens.

  • πŸ–₯️ Desktop-native β€” a self-contained app that bundles its own Java runtime. Your users don't install Java, kubectl, or anything else.
  • πŸ”Œ No kubectl required β€” every read and action goes over the API. (There's an optional embedded kubectl console for the long tail β€” and it works even without kubectl on your PATH.)
  • πŸ” See your cluster β€” live resource tables, a real dependency topology map, a one-screen health scan, and live CPU/memory charts.
  • πŸ› οΈ Act safely β€” delete, restart, scale, exec, port-forward, and apply YAML with dry-run validation β€” all with confirmations.
  • ⌨️ Move fast β€” a command palette (Ctrl/Cmd+P) to jump to any cluster, namespace, resource kind, or view without the mouse.
  • πŸ—‚οΈ Juggle many clusters β€” a cluster rail of colored avatars (across several kube.conf files), an environment tag per cluster (DEV/STAGING/PROD, auto-detected) that color-codes it, and a per-cluster Overview dashboard.
  • 🧳 Runs anywhere β€” including a portable zip for locked-down machines (VDIs) where you can't run an installer.

✨ In action

The hero above: load a kubeconfig and browse a cluster live β€” contexts, namespaces, and 12 resource kinds in Dashboard-style tables with status chips and live watches.

Inspect a pod without the terminal β€” stream logs and open an interactive shell straight from the details panel (Overview / YAML / Events / Logs / Shell tabs), all over the API.

Stream pod logs and open a shell

πŸš€ Install

The easy way β€” download a prebuilt package from the latest release. No Java, no kubectl.

Platform Download
Windows .msi installer, or the portable .zip (no installer / no admin β€” ideal for VDIs: unzip and run KubeDesk.exe)
macOS .dmg
Linux .deb or .rpm

Installers are unsigned, so Windows SmartScreen ("unknown publisher") and macOS Gatekeeper will warn on first launch. On Windows: More info β†’ Run anyway. On macOS: right-click the app β†’ Open.

Prefer to build it yourself? See Build from source.

🧭 What it does

Browse

  • Load any kube.conf file (file picker) β€” not just ~/.kube/config.
  • Browse contexts and namespaces from the chosen config.
  • 12 resource kinds in the sidebar: Pods, Deployments, StatefulSets, DaemonSets, Jobs, CronJobs, Services, Ingresses, ConfigMaps, Secrets, PVCs, Nodes β€” Dashboard-style tables with status chips.
  • All-namespaces view β€” pick ✿ All namespaces to list a kind across every namespace in one table (a leading Namespace column), each namespace queried individually so it stays within namespace-scoped RBAC. Read-only in this mode (pick a row's namespace to act).
  • Live updates via watches, with pause/resume.
  • Command palette (Ctrl/Cmd+P) β€” a keyboard-driven quick-switcher: type to fuzzily filter across contexts, namespaces, resource kinds, and views, then ↑/↓ and Enter to jump there.
  • Client-side search/filter and per-kind column show/hide (persisted).
  • Extra pod columns: CPU / Memory (Metrics API, degrades gracefully without metrics-server), IP, QoS class, and Controlled By.

Inspect

  • Details panel with per-kind tabs: Overview / YAML / Events / Logs / Shell.
  • Pod failure diagnostics β€” container state, exit codes, and eviction reasons (surfaces why a pod is failing even after its events have expired).
  • Live pod metrics (pod β†’ Metrics tab): live CPU/Memory line charts polled from the Metrics API β€” a quick read on whether a pod is climbing toward its limits.
  • Live log follow (kubectl logs -f) β€” a β–Ά / ⏸ button on the Logs tab streams new lines as they arrive, and keeps following as you switch between pods (great for watching a rollout). Scroll up to read and it stops auto-scrolling (a ↓ Jump to latest pill re-pins you to the newest line). Plus filter lines, a Previous toggle for the prior crashed container's logs (kubectl logs --previous), Timestamps, wrap, clear, and a pod-status dot.
  • Detachable log window β€” ⧉ Detach pops a pod's logs into its own window that keeps streaming while you work elsewhere; open several at once to watch multiple pods side by side.
  • Log save-to-file and a resizable details split.

Views

  • Topology β€” a native, dependency-free Ingress β†’ Service β†’ Workload β†’ Pods map with the real edges (Serviceβ†’Pod by label selector, Deploymentβ†’Pod by ownership via ReplicaSet). Click a node to focus + open details in place, click a line to trace a connection, drag to pan, Ctrl+scroll to zoom.
  • Health scan β€” one screen of "what's wrong right now": CrashLoop / ImagePull / OOM / Evicted / unschedulable / high-restart / BestEffort pods, unavailable workloads, failed Jobs, unbound PVCs, orphaned Services, and unhealthy / cordoned Nodes. Ranked most-severe first; double-click to inspect, right-click to act.
  • Events view β€” the namespace event stream as a table (Type, Reason, Object, Count, Last Seen, Message), most-recent first, Warnings tinted β€” the practical "namespace log."
  • Helm releases (read-only) β€” list Helm 3 releases read straight from their in-cluster Secrets (no helm CLI), with tabs for Overview / Changes / History / Values / Manifest / Notes. The Changes tab compares any two revisions: a plain-English settings diff (added/removed/changed) and a color-coded, copyable diff of the rendered manifest.

Act (all over the API β€” no kubectl)

  • Management actions: delete, rollout restart, scale, and edit-YAML-and-apply β€” with confirmations and per-kind context menus, reachable from table rows, topology nodes, and the details Actions menu.
  • Restart a pod β€” Restart (recreate) on any controller-managed pod deletes it and lets its ReplicaSet/StatefulSet/DaemonSet/Job spin up a fresh one (Kubernetes has no in-place pod restart). Bare pods don't get the option, since nothing would bring them back.
  • "+ Create / Apply YAML" β€” create or update any resource(s) via server-side apply (multi-document, open-from-file), with live YAML linting and a Validate (dry-run) button.
  • Seal a Secret (Sealed Secrets) β€” generate a Bitnami SealedSecret that's safe to commit to Git, no kubeseal CLI. From Config β†’ Secrets (πŸ”’ Seal…, the command palette, or right-click a Secret β†’ Seal as SealedSecret…): paste a Secret manifest (kubeseal-style) or fill a form, and copy / save / apply the result. Values are encrypted locally against the controller's public cert (auto-discovered, with a paste-PEM fallback) β€” the plaintext never leaves your machine. Strict / namespace-wide / cluster-wide scopes supported; binary values and re-sealing an existing Secret both work.
  • Pod exec command console.
  • Port-forwarding β€” open a tunnel to a pod port at localhost:<port>; a toolbar manager lists active tunnels (Copy / Open / Stop). Tunnels are persisted and offered for restore on next launch.
  • Embedded kubectl console (☰ menu, or Ctrl/Cmd+K) β€” a terminal drawer that runs your own kubectl with the active context/namespace/kubeconfig auto-injected. Live streaming output with a Stop button, ↑/↓ history, and shell pipes/redirects (| grep, | jq, > file). A command-runner, not a full TTY (use the pod Shell tab for exec -it). It's the only feature that uses a local kubectl β€” and it resolves one next to the app or via KUBEDESK_KUBECTL, so it works even when kubectl isn't on your PATH.

Preferences & updates

  • Persisted across restarts (~/.kubedesk/prefs.json): custom kube.conf path, last context and namespace, hidden columns, and active port-forwards.
  • Auto-update β€” on startup KubeDesk checks GitHub for a newer release and offers a one-click in-app update. Also under ☰ β†’ Check for updates. Disable with updateCheckEnabled: false in prefs.

πŸ—οΈ Architecture

The UI never touches fabric8 directly. Everything goes through the single ClusterService interface, so a future kubectl-backed implementation can be added without changing the UI β€” and the experimental MCP server reuses that very same interface directly. A generic table model (columns + string rows) drives all kinds.

JavaFX UI  ──►  ClusterService  ──►  Fabric8ClusterService  ──HTTPS/WSS──►  cluster API server

πŸ€– MCP server for AI agents (experimental)

πŸ§ͺ Experimental β€” dev/testing use only, not for production. It gives an AI agent read access to your cluster using your kubeconfig credentials. It binds loopback only (127.0.0.1) and is off by default.

KubeDesk can expose a small embedded, read-only Model Context Protocol server that reuses the same ClusterService the UI uses β€” so an AI agent (e.g. Claude) can inspect your cluster over the API, no kubectl required. It speaks Streamable HTTP, so any MCP client can connect.

  • Turn it on: ☰ menu β†’ MCP server… β†’ flip the switch. It serves http://127.0.0.1:<port>/mcp (default 7865) and keeps running until you switch it off or quit KubeDesk.
  • Connect an agent (Claude Code):
    claude mcp add --transport http kubedesk http://127.0.0.1:7865/mcp
    then ask it something like "scan my cluster's health."
  • Tools (all read-only): health_scan, cluster_overview, list_namespaces, list_resource, describe_yaml, events, pod_logs. Context and namespace default to whatever is selected in KubeDesk, and results are kept compact (server-side filters, capped log tails) to save the agent's tokens. describe_yaml redacts Secret values (data/stringData β†’ <redacted>, keys kept) so the agent never receives secret material β€” the UI's own YAML view is unchanged.
  • Watch it work (live UI mirror). When the agent calls a read tool, KubeDesk reflects it in the running window: a πŸ€– agent Β· … line in the status bar and, with Follow agent on (default), it switches namespace/kind and opens the resource's YAML or Logs tab so you see what the agent read. The MCP panel carries a READ-ONLY badge and a live Recent activity list.

Write actions (behind an in-UI confirmation so you stay the hand that acts) are planned but not here yet β€” see the roadmap. Today an agent helps with changes by producing ready-to-apply YAML and pointing you at the + Create button (or a resource's YAML β†’ Apply).

πŸ› οΈ Build from source

Requires a JDK 21 with JAVA_HOME set.

# Run in development
mvn javafx:run

# Or build a runnable fat jar
mvn package
java -jar target/kubedesk.jar

πŸ“¦ Package a native app (jpackage)

KubeDesk ships as a self-contained app that bundles its own Java runtime β€” end users do not need Java installed. Packaging uses the JDK's jpackage, so you need a JDK 17+ (we use 21) with JAVA_HOME set.

jpackage cannot cross-compile β€” build each platform's package on that platform (Windows β†’ .exe/.msi, macOS β†’ .dmg/.pkg, Linux β†’ .deb/.rpm). The recommended way to produce all three is the CI matrix (see Releases).

Convenience scripts do the work: scripts/package.ps1 (Windows) and scripts/package.sh (macOS/Linux). Both build the fat jar, stage it, and invoke jpackage.

Windows (.exe / .msi)

# Self-contained app folder β€” no extra tooling. -> dist\KubeDesk\KubeDesk.exe
./scripts/package.ps1

# Portable zip β€” no installer, no admin, no Java. Unzip and run KubeDesk.exe.
# Ideal for locked-down machines (e.g. a VDI).
./scripts/package.ps1 -Zip          # -> dist\KubeDesk-1.13.2-windows-portable.zip

# Installer (.exe or .msi) β€” requires the WiX Toolset v3 on PATH.
./scripts/package.ps1 -Type exe     # -> dist\KubeDesk-1.13.2.exe
./scripts/package.ps1 -Type msi     # -> dist\KubeDesk-1.13.2.msi

Installers (exe/msi) need the WiX Toolset v3 on the PATH:

winget install --id WiXToolset.WiXToolset    # or download the v3 installer from wixtoolset.org

The installer adds a Start-menu entry, a desktop shortcut, and an install-location chooser.

macOS (.dmg / .pkg)

chmod +x scripts/package.sh          # once
./scripts/package.sh                  # app-image -> dist/KubeDesk.app
./scripts/package.sh dmg              # -> dist/KubeDesk-1.13.2.dmg
./scripts/package.sh pkg              # -> dist/KubeDesk-1.13.2.pkg

Needs Xcode Command Line Tools (xcode-select --install). For distribution outside your own machines, macOS requires the app to be code-signed and notarized with an Apple Developer ID. Pass signing options to jpackage (--mac-sign --mac-signing-key-user-name ...) once you have a certificate.

Linux (.deb / .rpm)

chmod +x scripts/package.sh          # once
./scripts/package.sh                  # app-image -> dist/KubeDesk/
./scripts/package.sh deb              # -> dist/kubedesk_1.13.2_amd64.deb   (needs dpkg + fakeroot)
./scripts/package.sh rpm              # -> dist/kubedesk-1.13.2.x86_64.rpm  (needs rpmbuild)
  • .deb needs dpkg-deb + fakeroot (sudo apt install fakeroot).
  • .rpm needs rpmbuild (sudo dnf install rpm-build).

App icon (optional, per OS)

Drop a platform icon and the scripts pick it up automatically:

OS File
Windows src/main/resources/icons/kubedesk.ico
macOS src/main/resources/icons/kubedesk.icns
Linux src/main/resources/icons/kubedesk.png

Notes

  • The app-image is the simplest artifact (~174 MB, bundles the JRE). Zip dist/KubeDesk/ to hand someone a runnable app with no installer.
  • To shrink the bundle, a custom jlink runtime (only the modules KubeDesk uses) can roughly halve the size β€” verify TLS/auth still work afterward.

🚒 Releases (CI)

A GitHub Actions workflow (.github/workflows/release.yml) builds native installers for all three platforms on their own runners (jpackage can't cross-compile):

Platform Artifact
Windows .msi (WiX) + portable .zip
macOS .dmg
Linux .deb and .rpm

Cut a release:

git tag v1.13.2
git push origin v1.13.2

Pushing a v* tag builds every installer and publishes a GitHub Release with them attached (using the matching CHANGELOG section as the release body). You can also trigger the workflow manually from the Actions tab β€” manual runs upload the installers as workflow artifacts instead of creating a release.

πŸ—ΊοΈ Roadmap

Shipped through v1.18.0: 12 resource kinds, an all-namespaces view, live watches, details panel (exec + logs + live metrics), pod diagnostics, live log follow + detachable log windows, management actions (incl. pod restart), Create/Apply with lint + dry-run, a Sealed Secrets generator (no kubeseal), port-forwarding, topology view, health scan, Events view, a read-only Helm releases view with a revision diff, an Overview dashboard with cluster capacity + per-node usage + live CPU/memory charts, a Settings dialog, embedded kubectl console, a command palette, the experimental read-only MCP server with a live UI mirror, and cross-platform native packaging.

Candidate next:

  • MCP server β€” write actions. The read-only server and its live UI mirror already exist (experimental, above); next is write tools behind an in-UI confirmation so you stay the hand that acts.
  • Global search across kinds. (The per-kind all-namespaces listing already ships β€” see Browse.)
  • Multi-pod log tailing (stern-style β€” one merged stream across a Deployment's pods; single-pod follow + detachable windows already shipped) and optional Loki/cloud-logging integration.
  • Headless health CLI for CI/CD gates (reuses ClusterService.healthCheck).
  • Generic CRD support and macOS signing/notarization.

πŸ“– Guides

πŸ“˜ User guide: KubeDesk: A Free, Open-Source Desktop GUI for Kubernetes β€” Your kubectl Without the Terminal β€” a full walkthrough with screenshots.

πŸ“— New to Kubernetes? Kubernetes for Spring Boot Microservice Developers: From Pods to Production β€” a hands-on intro to Pods, Deployments, Services, and Ingress that uses KubeDesk to see it all running.

πŸ“„ License

MIT Β© Yasar Gozudeli

About

Open-source, cross-platform Kubernetes desktop client with cluster monitoring, resource management, topology visualization and AI agent integration through MCP.

Resources

Stars

21 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages