k9s is a terminal-based UI to interact with Kubernetes clusters. It provides a more intuitive way to navigate, observe, and manage applications in development and production environments.
📑 Table of Contents
Key Features
- Real-Time Updates: Live cluster state
- Navigation: Easy resource browsing
- Port Forwarding: Quick service access
- Log Viewing: Stream container logs
- RBAC Support: Respects permissions
Installation
Install k9s on Linux:
# Via snap
sudo snap install k9s
# Via brew
brew install derailed/k9s/k9s
# Download binary
curl -sS https://webinstall.dev/k9s | bash
Usage Examples
k9s commands:
# Launch k9s
k9s
# Specific namespace
k9s -n kube-system
# All namespaces
k9s --all-namespaces
# Keyboard shortcuts
:pods # View pods
:svc # View services
:deploy # View deployments
/pattern # Filter resources
ctrl+d # Delete resource
l # View logs
Benefits
k9s makes Kubernetes management intuitive and efficient. Its terminal UI provides quick access to cluster resources without memorizing kubectl commands.
Was this article helpful?