Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flyhope/kubetea
kubernetes simple cli ui client
https://github.com/flyhope/kubetea
cli command kubernetes ui
Last synced: about 1 month ago
JSON representation
kubernetes simple cli ui client
- Host: GitHub
- URL: https://github.com/flyhope/kubetea
- Owner: flyhope
- License: mit
- Created: 2024-07-15T13:43:24.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-04T23:41:28.000Z (4 months ago)
- Last Synced: 2024-09-13T14:08:55.489Z (3 months ago)
- Topics: cli, command, kubernetes, ui
- Language: Go
- Homepage:
- Size: 112 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kubetea
kubernetes simple cli ui client
🎈 Easy to use
🚀 Quick to get started
⌨️ Use command-line UI instead of window UI
💫 Improve work efficiency
## Install
1. Download the latest release from the [releases page](https://github.com/flyhope/kubetea/releases) to you bin $PATH, and rename to `kubetea`.
2. cd your bin path and `chmod +x kubetea`.
3. fist start well write config to default config path `~/.kubetea/config.yaml`.## Usage
### main ui
```bash
kubetea
```key map (select line for table or page)
| Key | Description |
|------------|-----------------------|
| j,↓ | table row select down |
| k,↑ | table row select up |
| PageDown,f | page up |
| PageUp,b | page down |
| d,ctrl+d | page half down |
| u,ctrl+u | page half up |
| G,end | go to end |
| g,home | go to home |
| 1-9 | sort by column index |
| 0 | reset default sort |key map (table)
| Key | Description | cluster | pod | container |
|--------|--------------------|:--------:|:---:|:---------:|
| esc | exit or go back | ✅️ | ✅️ | ✅️ |
| ctrl+c | exit | ✅️ | ✅️ | ✅️ |
| / | search input focus | ✅️ | ✅️ | ✅️ |
| i | pod infomation | ❌️ | ✅️ | ✅️ |
| e | pod describe | ❌️ | ✅️ | ✅️ |
| s | shell | ❌️ | ❌️ | ✅️ |page key map (exmaple: pod infomation)
| Key | Description |
|------------|--------------------------|
| / | search input focus |
| esc | search input blur |
| enter | search mode |
| n | next match (search mode) |
| N | prev match (search mode) |### quick enter a pod container list
```bash
kubetea $ipOrPodname
# example
# kubetea 192.168.0.1
# kubetea nginx-pod-5b7f7d7d8-7j7j2
```## Feature
- [x] support krs-auth
- [x] support kubeconfig
- [x] support context
- [x] support namespace
- [x] support i18n multi language (en/zh/custom)## Thanks
* kubectl https://github.com/kubernetes/kubectl
* bubbletea https://github.com/charmbracelet/bubbletea
* lingma https://tongyi.aliyun.com/lingma