
Terminal UI for managing Kubernetes clusters with real-time monitoring and resource interaction
K9s is a terminal-based user interface for managing Kubernetes clusters. It provides a continuously updating view of cluster resources including pods, deployments, services, and logs through a keyboard-driven interface. The tool watches Kubernetes for changes in real-time and offers interactive commands to manage observed resources.
The interface organizes Kubernetes resources into navigable views with aliases for quick access. Users can view pod logs, edit resource definitions, scale deployments, and perform other cluster management tasks without leaving the terminal. K9s supports multiple cluster contexts and namespaces, allowing operators to switch between different environments seamlessly.
K9s includes features like resource filtering, customizable key bindings, and plugin support. It can run in readonly mode to prevent accidental modifications, making it suitable for production environments. The tool requires Kubernetes 1.28+ and integrates with standard kubectl configurations and contexts.
# via Homebrew
brew install derailed/k9s/k9s
# via Snap
snap install k9s --devmode
# via Go
go install github.com/derailed/k9s@latest