Skip to content

Jmainguy/k8sCapcity

Repository files navigation

k8sCapcity

Go Report Card Release Coverage Status

This command is designed to assist in capacity planning, by showing capacity

Usage

Login to your kubernetes cluster, then run

./k8sCapcity

-nodelabel flag allows you to select on only the nodes you care about

./k8sCapcity -nodelabel node-role.kubernetes.io/compute=true

-namespace flag allows you to focus on a single namespaces usage

./k8sCapcity -namespace "aebot"

-json flag allows you to output in json format

./k8sCapcity -json

-daemon flag allows you run in daemon mode, where it outputs info every 5 minutes, in json format

./k8sCapcity -daemon

Fields and their meaning

See Fields

PreBuilt Binaries

Grab Binaries from The Releases Page

Build

go build