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.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: kuberesources-1.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 ff99e95bc14f7e45b87990e0f6886620fe118afdeb7ad8f769bada47a1191559
MD5 9af4651c2fd07d8dc287e4e945917abc
BLAKE2b-256 d4944fa7b7cba572e828ff0c886c509a0d6b2de8e18303a6b9b390f59747358a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kuberesources-1.4.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 34b4329e10c01f9220ba352a38f289c697882c8ab0d235c3b44d0b0f18489518
MD5 e1df5ecc555f4e0dd0c746996f720bcd
BLAKE2b-256 f34856da5b81fc6d07d7f459e220a9ee770b7eadbf64e8f57e0844562a64657e

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