https://github.com/lywwkka-ad/k4s
Terminal UI for K3s cluster management with SSH node access - inspired by k9s
https://github.com/lywwkka-ad/k4s
cli crictl devops go golang k3s kubectl kubernetes ssh terminal tui
Last synced: about 2 months ago
JSON representation
Terminal UI for K3s cluster management with SSH node access - inspired by k9s
- Host: GitHub
- URL: https://github.com/lywwkka-ad/k4s
- Owner: LywwKkA-aD
- License: mit
- Created: 2026-02-02T21:53:21.000Z (about 2 months ago)
- Default Branch: master
- Last Pushed: 2026-02-07T01:31:39.000Z (about 2 months ago)
- Last Synced: 2026-02-07T11:15:28.431Z (about 2 months ago)
- Topics: cli, crictl, devops, go, golang, k3s, kubectl, kubernetes, ssh, terminal, tui
- Language: Go
- Homepage: https://k4s.pwnx.eu/
- Size: 167 KB
- Stars: 18
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# k4s
A lightweight Terminal UI for K3s/Kubernetes cluster management, built on [Charm](https://charm.sh/).



## Screenshots
Kubeconfig selector — choose between multiple clusters
Namespaces view with sidebar navigation
Pods view with real-time CPU/Memory metrics
Streaming log viewer with timestamps and search
Cluster events with follow mode and warning filtering
## Features
- **Real-time Monitoring** - Live pods, deployments, services, events with auto-refresh
- **Resource Metrics** - CPU/Memory usage (requires metrics-server)
- **Multi-Pod Log Tailing** - Stream logs from multiple pods simultaneously with `Shift+L`
- **Streaming Logs** - Follow logs with search & highlighting
- **Crush-Inspired UI** - Purple-accented theme with sidebar layout and transparent overlays
- **SSH Integration** - Connect to nodes and inspect containers via crictl
- **Keyboard-driven** - Vim-style navigation
## Quick Start
```bash
# From source
git clone https://github.com/LywwKkA-aD/k4s.git
cd k4s && make install
# Or download from releases
# https://github.com/LywwKkA-aD/k4s/releases
```
Configuration is stored at `~/.k4s/config.yaml` (auto-created on first run).
## Keybindings
| Key | Action |
|-----|--------|
| `?` | Help |
| `1-5` | Switch views (Namespaces/Pods/Deployments/Services/Events) |
| `9` | SSH Hosts |
| `j/k` | Navigate |
| `Enter` | Select |
| `l` | Logs |
| `L` | Multi-pod logs |
| `q` | Quit |
See full documentation in [docs/](docs/).
## Contributing
Contributions welcome! Please check our [issues](https://github.com/LywwKkA-aD/k4s/issues) or open a new one.
## License
MIT License - see [LICENSE](LICENSE)
---
[](https://github.com/LywwKkA-aD/k4s/stargazers)