glance

module
v0.0.0-...-fb30e7e Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: Apache-2.0

README

glance - kubectl plugin to view cluster resource allocation and usage

Utility to quickly view Kubernetes cluster resources.

glance is a kubectl plugin written in go that shows cluster resource allocation and utilization. It allows you to quickly see the usage and allocation of CPU and memory across a cluster.

Installation

krew (kubectl plugin manager)
  1. Install krew plugin manager for kubectl.
  2. Run kubectl krew install glance.
macOS

On macOS, plugin can be installed via Homebrew:

brew install davidxarnold/glance https://gitlab.com/davidxarnold/glance

Usage

kubectl glance.

INFO[0000] There are 1 node(s) in the cluster            Host="https://kubernetes.docker.internal:6443"
 NODE NAME       STATUS  PROVIDERID  ALLOCATABLE  ALLOCATABLE  ALLOCATED  ALLOCATED  ALLOCATED  ALLOCATED  USAGE        USAGE     
                                     CPU          MEM (MI)     CPU REQ    CPU LIM    MEM REQ    MEM LIM    CPU          MEM       
 node-1                     4            8053040Ki    1.250      0          396Mi      340Mi      0.186332670  1172148Ki 
 TOTALS                              4            8053040KI    1.250      0.000      396MI      340MI      0.186332670  1172148KI 

Build Instructions

make build

Directories

Path Synopsis
pkg
cmd

Jump to

Keyboard shortcuts

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