Simple utility for getting an overview of set requests and limits in a kubernetes cluster
Project description
Installation
Install using pip3 install kuberesources
Description
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
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.
Source Distribution
Built Distribution
File details
Details for the file kuberesources-1.5.1.tar.gz
.
File metadata
- Download URL: kuberesources-1.5.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c347f34662ccfbc5357843b17acb2a0e72ea72af7364b745c718935d32c979ff |
|
MD5 | 68014265ddfd9fb3085b3a1cf4e903a8 |
|
BLAKE2b-256 | 6270ba70e2f5fe6b78928612e15bad0c61919f147ab1a1d79eeddb3401dd7523 |
File details
Details for the file kuberesources-1.5.1-py3-none-any.whl
.
File metadata
- Download URL: kuberesources-1.5.1-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0672a0f85a0906f83fe684b317cebabebff3d481b3c47c015276d8ba666f6a15 |
|
MD5 | 60a8d16b56bc9361d8114a46fbd9131a |
|
BLAKE2b-256 | 9550249940bee43bcf3d3920c3930e4b17c8c212beb8b0347f479153bda7a07f |