Discussion:
[Twisted-Python] [ANN] kubetop 17.4.17.1
Jean-Paul Calderone
2017-04-17 17:24:08 UTC
Permalink
Hello all,

I'm pleased to announce the initial release of kubetop, a command-line tool
in the style of top(1) for displaying current usage and activity of a
Kubernetes cluster.

kubetop 17.4.17.1 will format information about your Kubernetes cluster
like this:

kubetop - 13:02:57
Node 0 CPU% 9.80 MEM% 57.97 ( 2 GiB/ 4 GiB) POD% 7.27 ( 8/110) Ready
Node 1 CPU% 21.20 MEM% 59.36 ( 2 GiB/ 4 GiB) POD% 3.64 ( 4/110) Ready
Node 2 CPU% 99.90 MEM% 58.11 ( 2 GiB/ 4 GiB) POD% 7.27 ( 8/110) Ready
Pods: 20 total 0 running 0 terminating 0 pending
POD (CONTAINER) %CPU MEM %MEM
s4-infrastructure-3073578190-2k2vw 75.5 782.05 MiB 20.76
(subscription-converger) 72.7 459.11 MiB
(grid-router) 2.7 98.07 MiB
(web) 0.1 67.61 MiB
(subscription-manager) 0.0 91.62 MiB
(foolscap-log-gatherer) 0.0 21.98 MiB
(flapp) 0.0 21.46 MiB
(wormhole-relay) 0.0 22.19 MiB


kubetop is meant as a handy tool to use at the spur of the moment. It is
not intended to replace a real monitoring system.

kubetop's presentation is preliminary and a work in progress.
Contributions welcome.

You can find kubetop on PyPI <https://pypi.python.org/pypi/kubetop> and
GitHub <https://github.com/LeastAuthority/kubetop>. Install it in the
usual way:

pip install kubetop


Thanks to Least Authority Enterprises <https://leastauthority.com/> for
sponsoring this development.

Jean-Paul Calderone
http://as.ynchrono.us/
Glyph Lefkowitz
2017-04-18 01:44:28 UTC
Permalink
Post by Jean-Paul Calderone
Hello all,
I'm pleased to announce the initial release of kubetop, a command-line tool in the style of top(1) for displaying current usage and activity of a Kubernetes cluster.
Personally I'm not using Kubernetes much, but this looks SUPER handy. And it seems to install cleanly with `pipsi install kubetop` :-). Thanks for the announcement!

I did see this in my install output though:

Running setup.py bdist_wheel for attr ... done
Stored in directory: /Users/glyph/Library/Caches/pip/wheels/39/a7/44/cce905c824a2266d3e5747b2de72c8d73f9c8e9f0a71f066cd

Is this actually supposed to depend on https://pypi.python.org/pypi/attr <https://pypi.python.org/pypi/attr> ? It seems likely to me that this was a typo somewhere in the dependency chain for https://pypi.python.org/pypi/attrs <https://pypi.python.org/pypi/attrs> .

-glyph
Jean-Paul Calderone
2017-04-18 11:50:56 UTC
Permalink
On Apr 17, 2017, at 10:24 AM, Jean-Paul Calderone <
Hello all,
I'm pleased to announce the initial release of kubetop, a command-line
tool in the style of top(1) for displaying current usage and activity of a
Kubernetes cluster.
Personally I'm not using Kubernetes much, but this looks SUPER handy. And
it seems to install cleanly with `pipsi install kubetop` :-). Thanks for
the announcement!
Running setup.py bdist_wheel for attr ... done
Stored in directory: /Users/glyph/Library/Caches/pip/wheels/39/a7/44/
cce905c824a2266d3e5747b2de72c8d73f9c8e9f0a71f066cd
Is this actually supposed to depend on https://pypi.python.org/pypi/attr ?
It seems likely to me that this was a typo somewhere in the dependency
chain for https://pypi.python.org/pypi/attrs .
Oops! Thanks for pointing that out. It is indeed a mistake.

Jean-Paul

Loading...