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.
Metadata
Release files for kuberesources 1.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kuberesources-1.5.1.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kuberesources-1.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 kB
Release files / kuberesources-1.5.1.tar.gz
| Download URL | kuberesources-1.5.1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c347f34662ccfbc5357843b17acb2a0e72ea72af7364b745c718935d32c979ff
|
|
BLAKE2b-256 checksum How to use checksums |
6270ba70e2f5fe6b78928612e15bad0c61919f147ab1a1d79eeddb3401dd7523
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / kuberesources-1.5.1-py3-none-any.whl
| Download URL | kuberesources-1.5.1-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0672a0f85a0906f83fe684b317cebabebff3d481b3c47c015276d8ba666f6a15
|
|
BLAKE2b-256 checksum How to use checksums |
9550249940bee43bcf3d3920c3930e4b17c8c212beb8b0347f479153bda7a07f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|