Skip to main content

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

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

kuberesources-1.4.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

kuberesources-1.4-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file kuberesources-1.4.tar.gz.

File metadata

  • Download URL: kuberesources-1.4.tar.gz
  • Upload date:
  • Size: 4.3 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

Hashes for kuberesources-1.4.tar.gz
Algorithm Hash digest
SHA256 d658ba421fc5f0f53c8fa757147b598dc834ddacc67f6dbac4e1ee9a722ec232
MD5 cc43753802a2b9272a9c70e05479dee5
BLAKE2b-256 5b79a48e9fd534f9dfdd07deccb11c7230d11d0c9d09794a5fc9bc415f9620f5

See more details on using hashes here.

File details

Details for the file kuberesources-1.4-py3-none-any.whl.

File metadata

  • Download URL: kuberesources-1.4-py3-none-any.whl
  • Upload date:
  • Size: 6.2 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

Hashes for kuberesources-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 df87d8844db6b0769bbd3394a1c20a1abbf2f784e95bc6ea2a038235cfae72e2
MD5 6644c9ff3bc26c057068cb67a9547a85
BLAKE2b-256 9d75a412f0eba891e80bf7285652c8cd82328959331f7c618e223bd1b3c4b3ae

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page