kapct

module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: Apache-2.0

README

kapct

A project determining the cluster capacity the way kubernetes sees it.

This project calculates maximum number of pods that can be scheduled by caulating the remaining resources on each worker node* in the cluster.

It does not calculates resources used by master as long as master is not amongst labeled nodes.

USAGE

$ kapct [options]

options:

-cpulimit string

amount of CPU you desire in m(milicores), use only string formatted interger for cores. (default "100m")

-cpureq string

amount of CPU you desire in m(milicores), use only string formatted interger for cores. (default "100m")

-kubeconfig string

(optional) absolute path to the kubeconfig file (default "/home/tamrakar/.kube/config")

-legends

print legends and exit.

-memlimit string

amount of memory you desire in K(KB),M(MB),G(GB),T(TB) (default "1G")

-memreq string

amount of memory you desire in K(KB),M(MB),G(GB),T(TB) (default "1G")

-replicas int

number of replicas, you may want to deploy. (default 1)

-version

display version and exit.

Directories

Path Synopsis
src
kapct
This program is designed to determine the capability of the cluster to identify the scheduleable number of replicas/pods if provided with a set of resources.
This program is designed to determine the capability of the cluster to identify the scheduleable number of replicas/pods if provided with a set of resources.

Jump to

Keyboard shortcuts

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