Skip to main content

Klotse logo

Klotse

A native Kubernetes desktop manager for Windows, macOS and Linux. Browse clusters, workloads, nodes and custom resources; read logs; open shells; scale, cordon and drain, all from one window.

Built with Python, PySide6 (Qt Widgets) and the official Kubernetes Python client. It uses your existing kubeconfig and authentication helpers, so there is nothing to sign in to and no server component.

Status: early. Read-only use against real clusters has been tried; most of the mutating actions (cordon, drain, delete, scale, restart, rollback, apply, uninstall) and the newest features (port-forward, Helm, related objects, permission hints, Karpenter views) are covered by automated tests with fake services, not yet by live-cluster runs. Try them on a non-production cluster first, and turn on View → Read-only mode for clusters you only want to look at.

Features

  • Multiple clusters. Every context in your kubeconfig is listed on the left; each open cluster gets its own tab and its own connection. Klotse never connects by itself: it starts with a clean list. When you exit with clusters open it asks whether to reconnect them next time (Yes remembers them, No starts clean, Cancel stays open).
  • Cluster groups. Organise a long context list into nested groups (prod/eu): right-click the Disconnected section or a cluster to create groups and move clusters, or choose Suggest groups… to propose them from the context names (shared prefixes such as team.api.prod.us1 and us2, or a regular expression whose capture groups become the levels). Right-click a group for Connect all.
  • Resources. Overview, Workloads, Nodes, Namespaces, Pods, Deployments, ReplicaSets, StatefulSets, DaemonSets, Jobs, CronJobs, Horizontal Pod Autoscalers, ConfigMaps, Secrets, Resource Quotas, Limit Ranges, Pod Disruption Budgets, Priority Classes, webhook configurations, Leases, Services, Endpoints, Endpoint Slices, Ingresses, NetworkPolicies, PVCs, PVs, StorageClasses, the Access Control kinds (Service Accounts, Roles, bindings), Events, Helm releases, CustomResourceDefinitions (also listed by API group, with each group as a sub item in the navigator) and read-only browsing of custom resource instances. A Karpenter group (NodePools, NodeClaims, node classes) appears when the cluster runs Karpenter.
  • Fresh where it matters. Workloads and nodes refresh every 10 s (the toolbar's Auto-refresh: Off, 5, 10, 30 or 60 s) and immediately when the cluster reports a change. Every other list loads when you open it and reloads on Refresh (the toolbar button or a right-click), which keeps definitions such as CRDs and Access Control quiet. Right-click any list to switch its automatic refresh on or off; the choice is remembered. Hidden tabs and clusters are not polled.
  • Details. Formatted pages for workloads and RBAC objects, a YAML view for anything, an Events view and a Related view (owners, what an object owns, uses and is used by, each a link that takes you there). Secret values stay masked until you pick the keys to decode. managedFields are hidden by default (View → Show managedFields in details). Right-click a pod or any namespaced object for Go to node / Go to namespace.
  • Pods and containers. Logs (streaming, search, follow), Shell, Attach, terminate and force terminate. Double-click a pod for its own tab with every regular, init and ephemeral container.
  • Nodes. Cordon/uncordon, drain (with the usual kubectl options), a privileged nsenter shell, delete. Double-click a node for its pods, with the node actions in a bar above them. Pod counts per node.
  • Bulk actions. Select several rows (Ctrl/Shift) to scale, restart, terminate, cordon or delete them in one confirmed step. Scale accepts a number or a relative change such as *2, /2, +1, -1.
  • Editing. Form editors for workloads (the Environment table adds field, Secret, ConfigMap and resource variables), Services, Ingresses, NetworkPolicies, Roles, bindings, ServiceAccounts, ConfigMaps and Secrets, and a YAML editor for the rest. File → Apply YAML… checks manifests with a server-side dry run and applies them. Restart (rollout restart) for Deployments, StatefulSets and DaemonSets, and Rollout history / Undo for Deployments.
  • Safety. View → Read-only mode (per cluster, remembered) refuses every change, for production clusters. View → My permissions… lists what you may do in the namespace and answers "Can I…?"; menu entries your rules forbid say so (they stay clickable: the cluster has the last word).
  • Port-forward and Helm. Right-click a pod or service for Port forward… (a Port forwards tab lists them and stops them all when you close it). Helm → Releases lists releases with their history and values (hidden until you show them); uninstalling needs the helm command.
  • Usage. CPU and memory in use (from metrics-server, when present) on Nodes and Pods, plus optional request, limit and percent-of-request/limit columns on Pods.
  • Your columns. The Columns… button on every list lets you hide and reorder built-in columns and add label columns with short headings. Saved per resource kind.
  • Plugins. Extra columns, right-click actions, Overview cards and per-cluster settings from plugins (Klotse ships an AWS Plugin: instance ID, AMI, price per hour and month, spot price, launch time, and the cluster's cost on the Overview), off until you enable them in Preferences → Plugins. Settings that differ per cluster, such as the AWS profile, are in the Plugins menu and in the right-click menu of a connected cluster. Write your own as a single Python file: see PLUGINS.md.
  • Edit menu and Preferences. Undo/redo/cut/copy/paste/select all (Copy in a table copies the selected rows as tab-separated text). Preferences lets you choose a custom kubeconfig and open the settings folder.
  • macOS. Choose Terminal or iTerm2 for shells (Preferences → Terminal).
  • Shells inside Klotse. Preferences → Terminal → Open shells in → Inside Klotse opens pod shells, attach sessions and node shells in windows of their own (not kept on top) with a button to dock each into the Klotse window (off by default). It runs xterm.js (MIT, bundled) in QtWebEngine, which is why the install is large (about 300 MB more). If it cannot start, the external terminal is used.

Screenshots

The screenshots below were made with invented data (a made-up eight-node EKS cluster with fake prices and instance IDs), not a real cluster or AWS account. They show the AWS Plugin, which is off until you enable it in Preferences → Plugins. The text was rendered with Windows fonts, so spacing on your system may differ a little.

Cluster Overview. The usual cluster and workload cards, plus the plugin's Cost per hour, Cost per month and Nodes priced cards (the sum of every node's current price; spot nodes without a spot price are not counted).

Cluster Overview with the AWS cost cards

Nodes with plugin columns. Instance ID, instance type, capacity, AMI, on-demand and current price per hour, and price per month, next to the built-in node columns. The values come from the Node objects (instance ID, type, capacity, node group image), from AWS's public price data, and, when AWS credentials are available, from EC2 (the AMI and launch time of every node, and current spot prices: the spot nodes here show a lower price than their on-demand rate).

Nodes list with AWS columns

Right-click a node. After the built-in node actions, each plugin adds a submenu (here: Copy instance ID, Open in the EC2 console, Estimate the cost of the selected nodes).

Node context menu with the AWS Plugin submenu

Per-cluster plugin settings. Right-click a connected cluster in the left list, or use the Plugins menu, to open a plugin's settings for that cluster only: here the AWS profile (and, if you need it, the account) for that cluster. The Plugins menu appears only while an enabled plugin has such settings.

Cluster context menu with the plugin settings entry The Plugins menu Per-cluster settings dialog

Preferences → Plugins. Plugins are off until you tick them here; the page lists what each one adds and its general settings, and applies changes at once.

Preferences, Plugins page

Requirements

  • Python 3.10 or newer
  • A kubeconfig with at least one context (or pick one in Edit → Preferences)
  • kubectl on your PATH, for drain, shells, attach and port-forward
  • helm on your PATH, only to uninstall a Helm release
  • Python dependencies (installed by the launchers): PySide6-Essentials, PySide6-Addons (QtWebEngine, for the embedded terminal), kubernetes, PyYAML, and pywinpty on Windows

Install

Native packages are built for Windows (an installer and a portable .zip) and macOS (a .dmg for Apple Silicon and one for Intel). The latest version, 0.2.0, is on the project's Releases page, with a SHA256SUMS.txt to check the downloads against. You can also run Klotse from source (below) or build the packages yourself (see Development).

  • The Windows installer has been tested (install, run, uninstall). The macOS apps are built and self-tested in CI, and the 0.1.0 release has been tested on an Apple Silicon Mac (M3 Pro, macOS 26.7.1). The Intel build has not been run on an Intel Mac.
  • The packages are not signed yet, so expect a warning on first start: on Windows choose More info → Run anyway, on macOS right-click the app and choose Open.
  • On macOS, if Klotse is reported as "damaged" or cannot be opened, the downloaded app still carries the quarantine flag that Gatekeeper checks. After moving Klotse.app to Applications, remove the flag once in Terminal: xattr -dr com.apple.quarantine /Applications/Klotse.app The packages are not notarized by Apple, so this is needed on Macs other than the one that built them.
  • kubectl is not included and has to be installed separately.

Linux, or anywhere with Python 3.10+: pipx

There is no native Linux package yet. Install with pipx, which keeps Klotse and its dependencies in their own environment and puts a klotse command on your PATH:

pipx install git+https://github.com/mbartsch/klotse   # straight from GitHub (works today)
pipx install klotse                                   # from PyPI
klotse --install-desktop-entry                        # optional, Linux: add Klotse to the application menu

klotse --uninstall-desktop-entry removes the menu entry again. On a minimal Debian/Ubuntu install Qt may also need these libraries for its X11 support (the project's CI installs exactly this list on Ubuntu and starts Klotse under X11); most desktops already have them:

sudo apt install libegl1 libxkbcommon-x11-0 libxcb-cursor0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 \
  libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxcb-xinerama0 libxcb-xkb1

On other distributions install the equivalent packages. If Klotse stops with "could not load the Qt platform plugin xcb", run QT_DEBUG_PLUGINS=1 klotse to see which library is missing.

Run

macOS / Linux:

./run.sh              # creates .venv and installs dependencies on first run
./run.sh --check      # check that the imports work, without opening the window
./run.sh --install    # reinstall dependencies

Windows:

run.bat               # starts without a console window
run.bat --console     # keeps tracebacks visible
run.bat --check
run.bat --install

Or, in an existing environment:

pip install -r requirements.txt
PYTHONPATH=src python -m klotse

Configuration

Settings are stored as a plain INI file, one section per resource kind and one entry per line:

[columns.Pod]
order.0=name
order.1=namespace
order.2=ready
hidden.0=cpu_req
hidden.1=cpu_lim
labels.0=app.kubernetes.io/name
labels_name.0=App
labels.1=example.com/team

order is the order of the built-in columns, hidden lists the ones that are hidden, and labels the label columns; labels_name.N gives labels.N a short heading. A key that is missing means the default; an empty key (hidden=) means none. You can edit the file by hand while Klotse is closed.

The same file keeps which clusters are read-only ([readonly] contexts.N) and the lists whose automatic refresh you changed ([refresh] manual.N / auto.N, only entries that differ from the defaults).

Open its folder from Edit → Preferences… → Open config folder. The same file holds the custom kubeconfig path and the macOS terminal choice. A custom kubeconfig is passed both to the Kubernetes client and, as --kubeconfig, to every kubectl command Klotse starts.

Settings from the earlier name of the project (Kubeman) are copied over on the first start.

Development

pip install -r requirements-dev.txt
PYTHONPATH=src QT_QPA_PLATFORM=offscreen python -m pytest -q

Tests run offscreen with fake services and synthetic Kubernetes objects; they never touch a real cluster or your real settings. run_tests.sh / run_tests.bat wrap the same command.

After all tests pass the pytest process can still exit non-zero (a crash during Qt teardown in some test orders). This is a known, unresolved issue that predates recent work, so check the pass count and the exit status separately.

To build the native packages (details, signing and releases in packaging/README.md):

powershell -ExecutionPolicy Bypass -File packaging\windows\build.ps1   # Windows: zip, plus installer if Inno Setup is installed
packaging/macos/build.sh                                               # macOS: Klotse.app and a .dmg

A packaged app can check itself: Klotse --version and Klotse --self-test [REPORT_FILE]. GitHub Actions builds everything on a version tag (v0.2.0, made by the Release workflow) or on demand and drafts a release.

AGENTS.md documents the architecture, file map and behavior to preserve; read it before larger changes. Work goes through pull requests from a branch; do not commit to master directly.

Roadmap

Klotse is written in Python with PySide6 today. The idea is to move to Qt/C++ (or a similar language) at some point. Nothing is decided and there is no timeline; the Python version is the one being developed in the meantime.

License

Klotse is released under the Apache License 2.0.

Kubernetes is a registered trademark of The Linux Foundation. Klotse is an independent project and is not affiliated with or endorsed by The Linux Foundation or the Kubernetes project.

Author

Marcelo H. Bartsch · https://github.com/mbartsch/klotse

Metadata

Release files for klotse 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for klotse 0.3.0
File Size Uploaded Provenance Actions
klotse-0.3.0.tar.gz 1.2 MB With provenance Details for klotse-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for klotse 0.3.0
File Interpreter ABI Platform Actions
klotse-0.3.0-py3-none-any.whl Python 3 none any Details for klotse-0.3.0-py3-none-any.whl

Total release size: 2.1 MB

Release files / klotse-0.3.0.tar.gz

Download URL klotse-0.3.0.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
4fde1a5d64ab8c3ede391cb2a18e00260bb191daffa9b29b193b7293d0977ec6
BLAKE2b-256 checksum
How to use checksums
15548b63d43ec4425b7689c34950214226a4eb93c0974d0a5b8dc4bb2e61df6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / klotse-0.3.0-py3-none-any.whl

Download URL klotse-0.3.0-py3-none-any.whl
Size 932.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f4cba62438642eff93204139aaff9b4244131266692ef136f62157e883f8d318
BLAKE2b-256 checksum
How to use checksums
f6093ab5ac9dc51a3348683e289bd762fdd9de89b4b39910b65482a19aaa45d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Security for klotse 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for klotse-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page