https://github.com/krisnova/krex
Kubernetes Resource Explorer
https://github.com/krisnova/krex
Last synced: about 1 year ago
JSON representation
Kubernetes Resource Explorer
- Host: GitHub
- URL: https://github.com/krisnova/krex
- Owner: krisnova
- License: apache-2.0
- Created: 2018-07-03T03:28:49.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-04T12:06:13.000Z (over 7 years ago)
- Last Synced: 2025-03-27T19:41:55.874Z (over 1 year ago)
- Language: Go
- Size: 36.2 MB
- Stars: 135
- Watchers: 9
- Forks: 19
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# krex
Kubernetes Resource Explorer
Krex works by building a directional graph (digraph) in memory of
various Kubernetes resources, and then giving you the graph one layer at
a time to explore using an interactive drop down menu. Explore
Kubernetes right from your terminal.
## Get Involved
Join us in the `#krex` channel in the [Kubernetes Slack community].
## Current state of krex
Handy tool for exploring applications in Kubernetes
## Future of krex
Global tool for exploring all things in Kubernetes
## Building krex
### Mac OSX
We use the C `ncurses` tool internally in Krex to navigate the terminal.
First install `ncurses`
``` bash
brew install ncurses
```
Export the `PKG_CONFIG_PATH` variable
``` bash
export PKG_CONFIG_PATH=/usr/local/opt/ncurses/lib/pkgconfig
```
Then use symbolic links to adjust the library for `pkg-config`. (Note:
more information can be found [here].
``` bash
ln -s /usr/local/opt/ncurses/lib/pkgconfig/formw.pc /usr/local/opt/ncurses/lib/pkgconfig/form.pc
ln -s /usr/local/opt/ncurses/lib/pkgconfig/menuw.pc /usr/local/opt/ncurses/lib/pkgconfig/menu.pc
ln -s /usr/local/opt/ncurses/lib/pkgconfig/panelw.pc /usr/local/opt/ncurses/lib/pkgconfig/panel.pc
```
Then build the binary
``` bash
make build
```
and add to your path
``` bash
mv krex /usr/local/bin
```
[Kubernetes Slack community]: http://slack.k8s.io/
[here]: https://gist.github.com/cnruby/960344