k9s is a terminal-based UI to interact with your Kubernetes clusters. It provides a streamlined way to navigate, observe, and manage your deployed applications. With real-time updates, resource browsing, and quick actions, k9s makes Kubernetes management significantly more efficient than using kubectl commands alone.
📑 Table of Contents
Key Features
- Real-time Updates – Watch resources change live
- Multi-Cluster – Switch between clusters easily
- Resource Navigation – Browse pods, deployments, services, and more
- Log Streaming – View and follow container logs
- Shell Access – Exec into containers instantly
- Port Forwarding – Quick port-forward setup
- Customizable – Themes, aliases, and hotkeys
Installation
# Homebrew
brew install derailed/k9s/k9s
# Linux binary
curl -sS https://webinstall.dev/k9s | bash
# Arch Linux
sudo pacman -S k9s
# Snap
sudo snap install k9s
Usage
# Launch k9s
k9s
# Key commands:
# : - Command mode (type resource names)
# / - Filter resources
# d - Describe resource
# l - View logs
# s - Shell into container
# ctrl-d - Delete resource
# ? - Help
# :q - Quit
Use Cases
k9s is essential for Kubernetes administrators, developers debugging applications, DevOps engineers, and anyone managing containerized workloads.
Was this article helpful?