Skip to main content

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.

Drag Racing

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 Distribution

k8sfoams-1.1.1.tar.gz (124.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

k8sfoams-1.1.1-py3-none-any.whl (129.1 kB view details)

Uploaded Python 3

File details

Details for the file k8sfoams-1.1.1.tar.gz.

File metadata

  • Download URL: k8sfoams-1.1.1.tar.gz
  • Upload date:
  • Size: 124.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for k8sfoams-1.1.1.tar.gz
Algorithm Hash digest
SHA256 81a56204526076aff0277ca77d6f9388cd2f893020335ee46c7f445b9881d730
MD5 8ba1e83b0d23d95e9a776cf9213555f0
BLAKE2b-256 37262df4a27d4e8b277d4ff261ba7d85b7ff8932b446a52286d39ef165e25735

See more details on using hashes here.

File details

Details for the file k8sfoams-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: k8sfoams-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 129.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for k8sfoams-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 795b5799baf63130066e0811e69c123644480c0c66b7298441dced79f656f846
MD5 3db2eae026e78e05ebf6e0bcb095e784
BLAKE2b-256 9e766406d4e367e4901e6d265a3d3e8fe22770129f5eec3bf50ae6821fb6e014

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page