Terminal UI Guide

The KubeGraf terminal UI provides a fast, keyboard-driven interface for managing Kubernetes clusters. Inspired by vim, it's designed for engineers who prefer staying in the terminal.

Launching the TUI

kubegraf

The TUI automatically connects to your current kubectl context.

Navigation

KeyAction
j / Move down
k / Move up
gGo to top
GGo to bottom
Ctrl+dPage down
Ctrl+uPage up
TabNext tab
Shift+TabPrevious tab
1-9Jump to tab by number

Resource Tabs

Switch between resource types using Tab or number keys:

KeyResource
1Pods
2Deployments
3Services
4Ingresses
5ConfigMaps
6Secrets
7Nodes

Actions

KeyAction
EnterView resource details / YAML
lView logs (pods only)
sShell into container
dDescribe resource
eEdit resource (opens $EDITOR)
yCopy resource YAML to clipboard
DeleteDelete resource (with confirmation)

Filtering & Search

KeyAction
/Start search/filter
EscClear filter
nChange namespace
cChange context/cluster

Workload Operations

KeyAction
RRestart deployment/statefulset (rollout restart)
SScale replicas
pPort forward

General

KeyAction
rRefresh
?Show help / all keybindings
:Command mode
qQuit

Pro tip: Press ? at any time to see context-sensitive keybindings for the current view.

Log Viewer

When viewing logs (l on a pod):

KeyAction
fToggle follow mode
wToggle line wrap
/Search in logs
nNext search match
NPrevious search match
tToggle timestamps
Esc / qExit log viewer

Customization

You can customize keybindings in the configuration file. See Configuration for details.