Skip to content
This repository was archived by the owner on Apr 1, 2021. It is now read-only.

Latest commit

 

History

History
52 lines (35 loc) · 1.85 KB

README.md

File metadata and controls

52 lines (35 loc) · 1.85 KB

kubechonk

License Build Status Go Report Card

Find the "chonkiest" nodes with this kubectl plugin.

Usage

This plugin provides a single command to interact with your Kubernetes cluster. The chonk command returns all the node(s) with the highest number of CPU cores, and all the node(s) with the largest amount of memory.

[user@hostname:~]
% kubectl chonk
NODE                         RESOURCE   VALUE
gke-cluster-cpu2mem1-alpha   cpu        2
gke-cluster-cpu2mem1-beta    cpu        2
gke-cluster-cpu1mem3-alpha   memory     3785940Ki
gke-cluster-cpu1mem3-beta    memory     3785940Ki

Getting Started

You can install (and uninstall) this plugin by using krew, or by downloading the binary manually.

Krew

Clone this repository and run the following.

kubectl krew install --manifest=.krew.yaml

You can uninstall the plugin with krew as well.

kubectl krew uninstall chonk

Manual

Download the latest GitHub release for your operating system and architecture. Move the binary to your PATH to get started.

To completely uninstall the plugin, delete the binary from your PATH.

Credits