An intuitive Terminal User Interface (TUI) tool for real-time monitoring and exploration of Kubernetes resources
An intuitive Terminal User Interface (TUI) tool for real-time monitoring and exploration of Kubernetes resources
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
Demo slow version
Kubetui offers the following features to help you monitor and manage your Kubernetes resources:
-s v|h).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.
To install kubetui, you can use the following methods:
Kubetui is available on homebrew, the package manager for macOS and Linux. Install it by running the following command:
brew install kubetuiKubetui is available in the official repositories. Install it by running the following command:
pacman -S kubetuiIf you are using Windows with scoop, you can add the necessary buckets and install kubetui with the following commands:
# Add the 'extras' bucket for vcredist2022
scoop bucket add extras
scoop bucket add https://github.com/sarub0b0/scoop-bucket
scoop install /kubetuiIf you prefer using winget, the Windows package manager, you can install kubetui with the following command:
winget install kubetuiKubetui is available on Chocolatey, the package manager for Windows. Install it by running the following command:
choco install kubetuiFor openSUSE Tumbleweed, you can install kubetui using the zypper package manager. Run the following command to install:
zypper install kubetuicargo installKubetui is available on crates.io, the official Rust package registry. Install it by running the following command:
cargo install kubetuiMake sure you have Rust and Cargo installed before running the command.
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.
kubetui…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.
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=wideNotes:
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.Press t while a table is focused (Pod / Node / Config / Network) to open the column selection dialog.
NAME are always enabled and fixed.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.
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/nameRegistered label columns are also valid:
--pod-columns / --node-columns (e.g. --node-columns=name,status,zone).app:nginx, zone:asia-northeast1-a).Define reusable presets under theme.pod.column_presets / theme.node.column_presets, and set a startup default with default_preset.
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 columnResolution order at startup: CLI flag (---columns) > preset (---columns-preset) > theme..default_preset > builtin default.
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.
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. |
STATUS:Running STATUS:Pending → STATUS in (Running, Pending).NAME:web STATUS:Running → NAME~web AND STATUS~Running.-, and _.STATUS:"CreateContainerConfigError". Escape ", ', or \ inside quotes with \.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.
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.namespace concept; namespace: is treated as a plain unknown-column error.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
No open issues yet, or sync has not completed.