DEV Community 👩‍💻👨‍💻

Cover image for Kubelive - kubectl tool reinvented to be more reactive and interactive
Ameer Jhan
Ameer Jhan

Posted on

Kubelive - kubectl tool reinvented to be more reactive and interactive

What is this?

This tool helps you to get live data on pods, services, replicationcontrollers and nodes from your Kubernetes cluster and also lets you to delete them or copy their names right from the console. It is built using React. It is an opensource project and it is available here https://github.com/ameerthehacker/kubelive

Motivation

I felt that the output from kubectl get pod -w is very cluttered and it is a pain in my ass to understand which pod is running, which pod is exactly terminating so I built kubelive which updates the status of the pods in realtime without cluttering the terminal

Installation

Make sure you have node installed and then run the command

npm install -g kubelive

Available commands

  • List the pods in the clutser
kubelive get pods
  • List the services in the clutser
kubelive get services
  • List the replication controllers in the clutser
kubelive get replicationcontrollers
  • List the nodes in the clutser
kubelive get nodes
  • List the pods in the cluster in a jiffy
kubelive

Actions

  • You can use the ⬅️ and ➡️ keys to switch between available namespaces

  • You can use the ⬆️ and ⬇️ keys to select a pod

  • You can press the D key to delete the selected pod

  • You can press the C key to copy the name of the selected pod

Top comments (0)

This post blew up on DEV in 2020:

js visualized

🚀⚙️ JavaScript Visualized: the JavaScript Engine

As JavaScript devs, we usually don't have to deal with compilers ourselves. However, it's definitely good to know the basics of the JavaScript engine and see how it handles our human-friendly JS code, and turns it into something machines understand! 🥳

Happy coding!