Skip to main content

Simple utility for getting an overview of set requests and limits in a kubernetes cluster

Project description


Install using pip3 install kuberesources


Utility for retrieving the status of resource requests across nodes in a Kubernetes cluster.
Useful for planning capacity.

kresources gives an overview of the reserved capacity for each node as well as total for the cluster
kresources -v lists pods' resource requests on each node, as well.

Sample output

sample output

Known issues

If using Azure AD as authentication, you might run into errors where it fails to authenticate.

Since this script merely loads your kubeconfig, it doesn't do any token refresh or anything like that - so, if when this problem pops up you can just issue a kubectl <something> command against your cluster and the tokens should be refreshed and the script can run.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for kuberesources, version 1.5.1
Filename, size File type Python version Upload date Hashes
Filename, size kuberesources-1.5.1-py3-none-any.whl (8.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size kuberesources-1.5.1.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page