Attach:

A meow blog :w-blog.cn

KubeBox’s official Git address :github.com/astefanutti…

PS: KubeBox depends on the local kuberctl to start properly

Introduction and installation of KubeBox

Now we can control K8S through Dashboard and Kubectl, but because the author uses The K8S cluster of Ali Cloud, K8S-Dashboard has been transformed by Ali Cloud to be independent of the cluster, which leads to the break of CMD command line in a short time, which is not convenient for development, debugging and log viewing. Finally I found KubeBox.

Although KubeBox is not as powerful as Kubectl, it can limit the permissions of development very well. If you open Dashboard directly, it may be misoperated and cannot be used.

The installation methods of different systems are as follows:

# $curl Linux - Lo kubebox https://github.com/astefanutti/kubebox/releases/download/v0.6.0/kubebox-linux && chmod + x Kubebox # OSX $curl - Lo kubebox https://github.com/astefanutti/kubebox/releases/download/v0.6.0/kubebox-macos && chmod +x kubebox # Windows $ curl -Lo kubebox.exe https://github.com/astefanutti/kubebox/releases/download/v0.6.0/kubebox-windows.exeCopy the code

Two, basic use

The basic usage mode is as follows (mouse operation can be used for selection) :

  • Press enter to select
  • M Check the memory usage
  • C Check the CPU usage
  • T Check network usage
  • R Enter the CMD terminal
  • Q exit

Run the./kubebox command to run the program and see the following interface, press Enter to select Namespace and POD:

The log is at the bottom, and the resource usage on the right can be switched to view:

Press R to perform command line operations: