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

Uploaded Source

Built Distribution

kuberesources-1.5-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kuberesources-1.5.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

Hashes for kuberesources-1.5.tar.gz
Algorithm Hash digest
SHA256 50750c9d9c63a9612349b742c9a7279657f88202ce7fec5e50ecd4513235305f
MD5 7621fbabc4b08c6baace499368e32561
BLAKE2b-256 2a097fce4f8520efc06d27b3f249dcb990859010f2e2f0c8afff27fd5916d8e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kuberesources-1.5-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

Hashes for kuberesources-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a2dfb991228f9b313f79178bc521980e8e2675c27077a9607fce97d10cc97963
MD5 1fb51ec2dfc25cb423cd89b589587cdc
BLAKE2b-256 4eb29631c22a64a55d7c29e395ca469754e5f7bae416cebed41c0764696c4504

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