Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
K

kubetui

> 云原生
Open source

An intuitive Terminal User Interface (TUI) tool for real-time monitoring and exploration of Kubernetes resources

392 stars0 likes2 views
WebsiteGitHub

About

An intuitive Terminal User Interface (TUI) tool for real-time monitoring and exploration of Kubernetes resources

kubetui

Kubetui is a terminal user interface (TUI) tool designed for monitoring Kubernetes resources.
It provides an easy-to-use interface for developers and operators to access important information about their applications and infrastructure.

Table of Contents

  • Features
  • Installation
    • Homebrew on macOS and Linux
    • Pacman on Arch Linux
    • Scoop on Windows
    • WinGet on Windows
    • Chocolatey on Windows
    • openSUSE Tumbleweed
    • Using cargo install
    • Downloading the binary
  • Usage
    • Column Customization
      • CLI flags (Pod / Node)
      • Runtime column dialog (all four tabs)
      • Label columns
      • Define presets in config.yaml (Pod / Node)
    • Filter (Column-Aware)
      • Syntax summary
      • Inactive terms
      • Notes per tab
    • Shell Completion
    • Clipboard
    • Custom Configuration
  • Log Query
    • Usage Example
    • Supported Queries
    • Query String Escaping
  • Key Bindings
    • General
    • Key Map
    • View Control
    • Text View
    • Search Mode
    • Table View
      • Column Dialog
    • Dialog
      • Context Dialog
    • Input Form
    • Container Logs View
      • Inline notices
  • Contributing
  • License

Demo slow version

Features

Kubetui offers the following features to help you monitor and manage your Kubernetes resources:

  • Pods List and Container Logs: Browse pods and stream their container logs, with JSON pretty-print toggling (f/p) and a powerful Log Query (regex, label/field selectors, resource targeting, jq/JMESPath).
  • Node List and Detail: View nodes with status, roles, age, and version, plus a detail pane.
  • ConfigMap and Secret Watching: Monitor ConfigMaps and Secrets, and decode their (Base64) data.
  • Network-related Resources: List Services, Ingresses, NetworkPolicies, and Gateway API resources (Gateway / HTTPRoute), and view details for the selected one.
  • Events Watching: Stay updated with a real-time view of Kubernetes events.
  • Arbitrary Resource Watching (List / YAML): Select any resource kinds with f and watch them as a list, or inspect a selected resource's raw YAML with y.
  • Customizable Columns: Pick visible columns and order via a runtime dialog (t), CLI flags / presets (Pod / Node), and label columns. See Column Customization.
  • Column-aware Filter: Filter table rows by column with include/exclude regex and server-side label selectors, with inline help. See Filter.
  • Namespace Multiple Selections: Select and view multiple namespaces simultaneously.
  • Context Selection: Switch the Kubernetes context you operate on (with namespace carry-over / caching).
  • Adjustable Split Layout: Toggle vertical/horizontal pane split at runtime (Shift+s) or at startup (-s v|h).
  • Clipboard Support: Copy text with the mouse; the backend is selectable (system / OSC52, SSH- and tmux-friendly). See Clipboard.
  • Mouse Support: Click to focus and select, click tabs to switch, scroll with the wheel, and drag to select text for copying.
  • Incremental Search: Search within text views with / and jump between matches with n / N.
  • (beta) Customizable UI Appearance: Theme border styles, colors, and text attributes via a config file.

Overall, kubetui is a powerful tool designed to provide a safe and efficient way to access and monitor your Kubernetes resources. With its user-friendly interface and comprehensive features, it simplifies the process of managing your applications and infrastructure.

Installation

To install kubetui, you can use the following methods:

Homebrew on macOS and Linux

Kubetui is available on homebrew, the package manager for macOS and Linux. Install it by running the following command:

bash
brew install kubetui

Pacman on Arch Linux

Kubetui is available in the official repositories. Install it by running the following command:

bash
pacman -S kubetui

Scoop on Windows

If you are using Windows with scoop, you can add the necessary buckets and install kubetui with the following commands:

bash
# Add the 'extras' bucket for vcredist2022
scoop bucket add extras
scoop bucket add  https://github.com/sarub0b0/scoop-bucket
scoop install /kubetui

WinGet on Windows

If you prefer using winget, the Windows package manager, you can install kubetui with the following command:

bash
winget install kubetui

Chocolatey on Windows

Kubetui is available on Chocolatey, the package manager for Windows. Install it by running the following command:

bash
choco install kubetui

openSUSE Tumbleweed

For openSUSE Tumbleweed, you can install kubetui using the zypper package manager. Run the following command to install:

bash
zypper install kubetui

Using cargo install

Kubetui is available on crates.io, the official Rust package registry. Install it by running the following command:

bash
cargo install kubetui

Make sure you have Rust and Cargo installed before running the command.

Downloading the binary

Alternatively, you can download the precompiled binary from the GitHub Release page that matches your operating system. Once downloaded, you can run the binary directly without any additional installation steps.

Choose the method that suits your needs and preferences.

Usage

bash
kubetui
…

Column Customization

The Pod, Node, Config, and Network tables all support column customization. Pod and Node additionally support presets and a CLI flag for selecting columns at startup; Config and Network use the runtime dialog and label columns.

CLI flags (Pod / Node)

bash
kubetui --pod-columns=name,ready,status,age
kubetui --pod-columns=full           # show all builtin columns
kubetui --pod-columns-preset=default

kubetui --node-columns=name,status,roles,age,version
kubetui --node-columns-preset=wide

Notes:

  • The NAME column is always included even if not specified.
  • full expands to all builtin columns and cannot be combined with other columns.
  • --pod-columns overrides --pod-columns-preset; same for --node-columns / --node-columns-preset.

Runtime column dialog (all four tabs)

Press t while a table is focused (Pod / Node / Config / Network) to open the column selection dialog.

  • Space or Enter: toggle visibility
  • J / K: reorder columns
  • Required columns like NAME are always enabled and fixed.

Label columns

You can register labels as table columns under theme..label_columns. Each entry maps a short name to a label key. The name is used as the upper-cased column header, in the column dialog, and in filter expressions across all four tabs; for Pod and Node it can additionally appear in --*-columns flag values and presets. The cell value is taken from metadata.labels[]; resources without the label show an empty cell.

yaml
theme:
  pod:
    label_columns:
      - name: app
        label: app.kubernetes.io/name

  node:
    label_columns:
      - name: zone
        label: topology.kubernetes.io/zone
      - name: instance
        label: node.kubernetes.io/instance-type

  config:
    label_columns:
      - name: instance
        label: argocd.argoproj.io/instance

  network:
    label_columns:
      - name: app
        label: app.kubernetes.io/name

Registered label columns are also valid:

  • Inside --pod-columns / --node-columns (e.g. --node-columns=name,status,zone).
  • Inside presets (interleaved with builtin columns).
  • Inside filter expressions (e.g. app:nginx, zone:asia-northeast1-a).

Define presets in config.yaml (Pod / Node)

Define reusable presets under theme.pod.column_presets / theme.node.column_presets, and set a startup default with default_preset.

yaml
theme:
  pod:
    default_preset: minimal
    column_presets:
      default:
        - name
        - status
        - age
        - ip
        - node
      minimal:
        - name
        - status
        - age

  node:
    default_preset: default
    column_presets:
      default:
        - name
        - status
        - roles
        - age
        - version
      wide:
        - full
      topology:
        - name
        - status
        - roles
        - zone       # label column
        - instance   # label column

Resolution order at startup: CLI flag (---columns) > preset (---columns-preset) > theme..default_preset > builtin default.

Filter (Column-Aware)

Pod, Node, Config, and Network tables share a column-aware filter. Open the filter input with /, type the expression, and press Enter to apply (or Esc to clear the active filter and close the form).

Press ? (or type help) inside the filter input to open the per-tab filter help dialog with the columns available in the current tab.

Syntax summary

TERM [ TERM ]...
Term Meaning
`` Bare value — treated as NAME: (regex include).
NAME: Include rows whose NAME matches.
: Include rows whose COL matches.
!: Exclude rows whose COL matches.
label: Kubernetes labelSelector applied server-side (e.g. label:app=nginx,env=prod). Last label: wins if repeated.
  • Same column, multiple includes → OR (in-list): STATUS:Running STATUS:Pending → STATUS in (Running, Pending).
  • Different columns, includes → AND across columns: NAME:web STATUS:Running → NAME~web AND STATUS~Running.
  • Any matching exclude → row excluded.
  • Column names ignore case, spaces, -, and _.
  • Values with whitespace must be quoted: STATUS:"CreateContainerConfigError". Escape ", ', or \ inside quotes with \.

Inactive terms

A term on a column that is currently not shown stays in the filter but is not applied. The title shows (inactive: COL) until the column is shown again (e.g. via the column dialog). Unknown columns produce an error.

Notes per tab

  • Pod / Config / Network: namespace is not filterable — use the namespace selector (n / N) instead. A namespace: term returns a dedicated guidance message (rather than a generic unknown-column error) in all three tabs.
  • Node: cluster-scoped, so there is no namespace concept; namespace: is treated as a plain unknown-column error.

Shell Completion

Kubetui supports shell completion for Bash and Zsh. You can enable the completion by adding the following to your shell configuration file:

For Bash (add to ~/.bashrc or ~/.bash_profile):

…

pod:"a b" label:"environment in (production, qa)"


If you use `"`, `'`, or `\` within the quoted string, escape them with `\`. For example:

pod:"a\b"


Query Syntax

**L

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustkuberneteskubetuimonitorratatui

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category云原生
PricingOpen source

> Related tools

K
Kubernetes
容器编排事实标准
H
Helm
Kubernetes 包管理器
S
seaweedfs
SeaweedFS is a distributed storage system for object storage (S3), file systems, and Iceberg tables,