K8s pod foamtree visualizer
Project description
k8s-pod-foamtree
It's web server which uses ~/.kube/config file for presenting resource request set for pods. It uses foamtree package for visualization. Dashboard has two option for visualization:
- cpu
- memory
Foamtree view is refreshed automaticaly every 60 seconds by default. Refresh frequency might be change by range slider.
Node is represented by square shape box. Foams are pods. If pod contains more than one container pod foam is splited into sub-foams. Empty foam represents unused (free) resources avaiable on node.
Memory unit
Below memory units are avaiable for displaing:
- KB
- MB
- GB
- TB
Context
Context combobox allows for switching current k8s context. Context is changed only in k8s-pod-foamtree web server not in ~/.kube/config file.
Run k8s-pod-foamtree
Before run k8s-pod-foamtree run below command:
make build install
This command builds and install package in your local environment. To run it type in your shell:
k8sfoams
Install via PyPi
pip install k8sfoams
Command lines arguments
- host: host IP address on which server listen, default is 127.0.0.1
- port: port number on which server listen, default is 8080
- d: turn on debug mode when server starts
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file k8sfoams-1.0.3-py3.9.egg
.
File metadata
- Download URL: k8sfoams-1.0.3-py3.9.egg
- Upload date:
- Size: 139.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 865cb0b4736e8b8211618700335a7bdc8d3549314d32bd5b02011f755644e758 |
|
MD5 | c57ede4a830389efb05798cca307cffe |
|
BLAKE2b-256 | 66df26c7a0778dd5600bbb5d5ce68103be4176ecede5809d69eeb2c02a28c8c8 |