kutil

module
v0.9.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2020 License: GPL-2.0

README

GitHub go.mod Go version kubernetes version OpenShift version Twitter Follow

kutil

Display a summary of Kubernetes node, namespace, and cluster resource utilization by memory, cpu, and pods

Screenshots

screenshot 1 screenshot 2

Installation

To install the latest pre-built binary for linux:
wget https://github.com/jedrecord/kutil/releases/latest/download/kutil-linux-amd64.tar.gz \
  && tar xvf kutil-linux-amd64.tar.gz
sudo mv kutil /usr/bin/kutil && sudo chmod 755 /usr/bin/kutil

To install from source (requires Go)
make build
sudo make install

or with go get:
GO111MODULE=on go get github.com/jedrecord/kutil/cmd/kutil

Source

The source code is well commented with the main command package located in the project cmd/kutil directory. You will find the meat of this program is in the resources package located in the pkg/resources directory. To build a binary from source, navigate to the cmd/kutil directory and run "go build".

Platforms

Currently, in the first release, only linux is supported. Look for Windows support in an upcoming release.

Directories

Path Synopsis
cmd
pkg
resources
Package resources Data structures and functions to manipulate Kubernetes utilization resources
Package resources Data structures and functions to manipulate Kubernetes utilization resources
utils
Package utils Some basic formating and maths for Kubernetes resource quantaties
Package utils Some basic formating and maths for Kubernetes resource quantaties

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL