An open API service indexing awesome lists of open source software.

https://github.com/onuar/kubectl-resource

Sums clusters' cpu/memory up
https://github.com/onuar/kubectl-resource

Last synced: 4 months ago
JSON representation

Sums clusters' cpu/memory up

Awesome Lists containing this project

README

        

# kubectl-resource
Useful for overall cluster resources (cpu and mem limit). It works on ```kubectl config current-context```. So you should be sure that you are working on right context.

## Prerequisites
* Kubectl
* Jq (Jid for debugging and finding Jq pattern out)

## Install
`npm i`

## Run
```npm run start -- --namespace=my-team --clusterCount=3```

## For service level details
```npm run start -- --namespace=my-team --clusterCount=3 --detailed```

## Prints results as csv
```npm run start -- --namespace=my-team --clusterCount=3 --csv```