ErfanandClaude Opus 4.8 dadb18d10c feat(ui): operator triage board + richer pods table columns (#24)
Triage board (`:triage`/`:issues [namespace|all]`): a live, worst-first board of
only the pods needing an operator's attention — CrashLoopBackOff/OOMKilled/
ImagePullBackOff/Error (critical), Pending/NotReady/restart-hot ≥3 (warning).
Healthy pods are omitted; the title summarizes `N critical · M warning`; capped
at 500 rows worst-first. Rebuilt from store state each frame; navigate j/k+g/G,
esc closes. This is the daily-driver "is anything wrong, and where" view.

Pods table gained the columns operators expect:
RST · CPU · %CPU/R · %CPU/L · MEM · %MEM/R · %MEM/L · IP · NODE. RST (container
restarts) colors yellow at ≥3, red at ≥10. Metric headers are the explicit
%CPU/R-style form.

Model: add `restarts`, `ready`, and `pod_ip` to the lean `Extracted` (the
crashloop/readiness/IP signals the status string and prior columns lacked).
Also fixed `classify_status_severity` to flag `*BackOff`/`ImagePullBackOff` as
critical (was silently Ok) — corrects table coloring too.

Tests: restart/readiness/IP extraction; triage selection + worst-first ordering
+ counts; pods table renders RST/IP/NODE and the percentage columns.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 00:06:06 +02:00
2026-06-25 21:06:58 +00:00
2026-06-25 21:06:58 +00:00

krust

CI Release License: MIT Kubernetes 1.33+

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 (all namespace 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 :api and :<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.

S
Description
Kubernetes Client in Rust
Readme MIT
505 KiB
0 Stars 1 Watchers 0 Forks
Languages
Rust 97%
Shell 2.2%
Makefile 0.8%