kubeasy
is an interactive wrapper around kubectl
to help you manage your Kubernetes clusters.
-
Install kubectl
-
Install
kubeasy
by downloading the latest version from Github
git clone https://github.com/marcenacp/kubeasy.git
cd kubeasy/
npm install
npm link
- Use it with the command:
kubeasy
I use blessed to render the command-line interface, and Node's EventEmitter to propagate data between hooks and widgets.
-
Hooks (in
src/hooks
) get data from Kubernetes usingkubectl
and store it in the state. -
Widgets (in
src/widgets
) watch inputs from user and render the command-line interface according to the state.