Skip to content

Instantly share code, notes, and snippets.

View ssccio's full-sized avatar

Ken Trenkelbach ssccio

View GitHub Profile
@ssccio
ssccio / README.md
Created May 25, 2021 13:38 — forked from gorenje/README.md
Retrieving Allocated Resources from a Kubernetes Node

Used to retrieve the allocatable resources of a Kubernetes cluster.

Assumes that this is being executed within the K8s cluster.

Tested using python 2.7 and requires the installation of two pip libraries:

pip install pint
pip install kubernetes