a1880d6f5eb4d23aafedc5c50e6cd4a2600fb5e2
Sorting was limited to Namespace/Name/Status/Age. Now `s` steps left-to-right through every column of the current view, and `:sort` accepts them all: - Pods: + Restarts, CPU, %CPU/R, %CPU/L, MEM, %MEM/R, %MEM/L, IP, Node - Other kinds: the four universal columns (a pod-only sort is normalized away on kind switch) The active sort column shows the direction arrow in its header (numeric headers included now), and the [SORT] indicator uses each column's short label. Entity-derived columns (Restarts/IP/Node) sort in the projector. Metric columns (CPU/MEM and the request/limit %s) re-sort in the App layer from the live usage map — recomputed when metrics refresh (a new `metrics_gen` keys the view cache), so the order is stable between the ~15s refreshes rather than churning. Tests: cycle order through all pod columns + non-pod normalization; metric sort orders pods by live usage; `:sort` parsing/labels. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
krust
krust is a latency-first Kubernetes terminal navigator for operators managing many clusters and high resource volume.
It focuses on fast navigation, inspect, logs, and safe actions, with high k9s command/keybinding compatibility for Kubernetes-native workflows.
Goal and Approach
Goal:
- stay responsive for power users across many contexts and large object sets
- provide Kubernetes-native terminal workflows without plugin complexity
Approach:
- lazy scope activation instead of watch-everything startup
- bounded state/update pipelines to avoid UI jitter under churn
- keyboard-first interaction with high k9s compatibility
- explicit RBAC/auth error handling and guarded mutation paths
Install
Homebrew
brew tap ErfanY/krust
brew install krust
Prebuilt binaries
curl -L -o krust.tar.gz \
https://github.com/ErfanY/krust/releases/latest/download/krust-x86_64-unknown-linux-gnu.tar.gz
tar -xzf krust.tar.gz
sudo install krust-x86_64-unknown-linux-gnu/krust /usr/local/bin/krust
From source
cargo install --git https://github.com/ErfanY/krust.git --locked krust
For local development, make (no args) lists targets; make validate runs the full CI gate
(fmt/check/test/release build) and make package builds a release tarball.
Quick Start
krust
krust --context <context-name>
krust --namespace <namespace>
krust --readonly
Compatibility
- OS: macOS, Linux
- Kubernetes: 1.33+
- Auth: kubeconfig + exec auth providers
Documentation
Scope
Available now:
- Multi-context workflow with fast context switching and namespace scoping (
allnamespace supported) - Kubernetes resource browser for curated kinds: pods, deployments, replicasets, statefulsets, daemonsets, services, ingresses, configmaps, secrets, jobs, cronjobs, pvc/pv, nodes, namespaces, events, serviceaccounts, roles/rolebindings/clusterroles/clusterrolebindings, networkpolicies, hpa, pdb
- Dynamic discovery: list and describe any other resource or CRD on the cluster (read-only) via
:apiand:<resource> - Describe/detail pane with YAML/JSON toggle, syntax highlighting, vim-style search, and wrap/horizontal scroll modes
- Logs pane with stream, tail, pause, source filtering, container selection, and multi-pod fan-in for deployment/replicaset views
- Secret decode view in YAML, with edit/apply support and automatic re-encode on apply
- Guarded mutation flows (for example delete) plus read-only mode (
--readonly) - k9s-style command and keybinding compatibility for Kubernetes-native workflows (plugin commands excluded)
- Performance-oriented behavior for large clusters: lazy watch activation, bounded update pipelines, render invalidation, and RBAC-aware watch suppression
Explicitly out of scope:
- Plugin subsystem
- Non-Kubernetes plugin commands
License
MIT. See LICENSE.
Languages
Rust
97%
Shell
2.2%
Makefile
0.8%