github vladimirvivien/ktop v0.6.1
Version 0.6.1

one hour ago

ktop Release v0.6.1

ktop v0.6.1 delivers UI ergonomics, subpage polish, and expanded multi-OS distribution. This release adds interactive column sorting and filtering to the Pod Detail Containers table, surfaces live Pressure Stall Information (PSI) metrics directly within Node and Pod detail headers, introduces an interactive keyboard shortcut overlay modal (? or F1), enables direct clipboard copying for selected resource names (y), adds CLI flags for initial table sorting (--sort-nodes, --sort-pods), and packages native Windows binary builds and zip archives in automated releases.


Detailed Changes

Pod Detail Containers Table Sorting & Filtering (#165)

  • Interactive Sorting: Added interactive column sorting to the Containers table in the Pod Detail page with hotkey bindings: c (CPU), m (Memory), n (Name), i (Image), s (Status), and r (Restarts).
  • Persistent Direction: Preserves active sort column and direction across periodic metric refresh cycles.
  • Filter Support: Integrated slash (/) filtering to quickly search and filter container names within pods.

Detail Views PSI Resource Stall Indicators (#168)

  • Info Header PSI Metrics: Integrated live Pressure Stall Information (PSI) metrics (CPU, MEM, IO) directly into the condensed Info header box on both Node Detail and Pod Detail pages.
  • Color Thresholds: Displays stall percentages styled by severity: green (<2%), yellow (2–10%), orange (10–25%), and red (≥25%).
  • Kernel Guardrail: Renders PSI: ⚠ N/A when running against nodes with Linux kernels older than 4.20 where PSI is unsupported.
  • Vertical Space Conservation: Retains a single compact sparkline row (CPU, MEM, Net, Disk), preserving terminal space for the Containers and Pods tables.

Keyboard Shortcut Help Overlay Modal (#169)

  • Contextual Help Modal: Added an interactive keyboard shortcut overlay modal triggered via ? or F1 from any page.
  • Categorized Reference: Groups all available keybindings into categorized sections: General Navigation, Table Controls, Column Customization, Detail Views, and Log Viewer.
  • Isolated Event Handling: Modal cleanly dismisses on Esc, Enter, or q, restoring the previous page state and table focus without triggering application exit.

Clipboard Copy for Selected Resource Names (#171)

  • Resource Yank Key: Added y shortcut key to copy the currently selected node, pod, or container name to the system clipboard.
  • Visual Feedback: Displays temporary confirmation in the footer upon successful copy.

Initial Table Sorting CLI Arguments (#174)

  • CLI Startup Flags: Introduced --sort-nodes and --sort-pods CLI flags to specify initial sort columns on startup (e.g., ktop --sort-nodes=cpu --sort-pods=memory).
  • Input Validation: Validates user-specified sort keys against recognized column identifiers with helpful error diagnostics on invalid arguments.

Native Windows Binary Builds & Zip Archives (#166)

  • Windows Cross-Compilation: Configured GoReleaser to produce native Windows binaries (windows/amd64, windows/arm64) for both standalone ktop.exe and kubectl-ktop.exe plugin executables.
  • Zip Packaging: Configured .zip archive formats for Windows distribution alongside existing .tar.gz archives for Linux and macOS.

Documentation & Configuration Reference (#173)

  • Guide Updates: Updated README.md, docs/guide.md, docs/cli.md, and docs/psi.md documenting new CLI flags, keyboard shortcuts, PSI stall indicators, and multi-OS installation workflows.

Workspace Metrics

26 files changed, 1334 insertions(+), 21 deletions(-)

Don't miss a new ktop release

NewReleases is sending notifications on new releases.