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.
Join us in the #krex
channel in the Kubernetes Slack community.
Handy tool for exploring applications in Kubernetes
Global tool for exploring all things in Kubernetes
We use the C ncurses
tool internally in Krex to navigate the terminal.
First install ncurses
brew install ncurses
Export the PKG_CONFIG_PATH
variable
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.
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
make build
and add to your path
mv krex /usr/local/bin