← Back to tools
View AGENTS.md for K9s
K9s
Kubernetes CLI to manage your clusters in style
Description
K9s provides a terminal UI to interact with Kubernetes clusters. It continuously watches for changes, offers a rich set of commands for managing resources, and provides real-time views of logs, events, and resource utilization.
Install
homebrew
brew install derailed/k9s/k9spacman
sudo pacman -S k9sAI Summary
A terminal UI for Kubernetes cluster management. Provides real-time views of pods, deployments, services, and logs with vim-style navigation and resource management.
Capabilities
- + Real-time views of Kubernetes resources
- + Pod logs, shell access, and port-forwarding
- + Resource filtering and sorting
- + Multi-cluster and multi-namespace support
Use When
- → Monitoring and managing Kubernetes clusters interactively
- → Debugging pods with quick access to logs and shell
- → Want a faster workflow than kubectl for cluster operations
Avoid When
- x Scripting Kubernetes operations (use kubectl)
- x Don't work with Kubernetes
Usage Patterns
Launch Kubernetes TUI
k9s Opens the interactive Kubernetes cluster manager
View specific namespace
k9s -n my-namespace Opens K9s focused on a specific namespace