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

Uploaded Source

Built Distribution

kuberesources-1.3-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kuberesources-1.3.tar.gz
  • Upload date:
  • Size: 3.9 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.3.tar.gz
Algorithm Hash digest
SHA256 67fa8cf782b85aefa9da02e66cbf453cfe73958c869f145fa4cb7d64b905c114
MD5 bd903e27a2a7e8165c04891dc302567c
BLAKE2b-256 6c5777f60640c35a51706db94a6e30b0ec0afe0f2adf1a8ac1dcefc88a2136b6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kuberesources-1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 48ebdd3d5e738232e9729249f452d1050da7d6f9c8dfbaef1e7632e732ad5f82
MD5 f6100aab71b62805863ce2a9f03bf4a4
BLAKE2b-256 64c4f4b695350d96ce2ec9339a6215a8347ba4ba4819c6c65330b77b82f42983

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