55 Commits

Author SHA1 Message Date
Henning Jacobs
43c19c400d make json_delta faster 2023-05-10 13:24:12 +02:00
Henning Jacobs
5f139bbac0 update dependencies 2023-02-09 22:04:18 +01:00
Henning Jacobs
1d09479a6a update dependencies 2022-05-20 11:17:25 +02:00
Khachatur Ashotyan
89c143d3aa Add ROUTE_PREFIX parameter for working with reverse proxies. (#256)
* Add ROUTE_PREFIX parameter for working with reverse proxies.

* [flake8/E304] remove blank line after function decoder

* Add APPLICATION_ROOT and use route_prefix in requests.

* [black/code-styling] use double quotes instead of single.

* handle right events url depending route path

* properly handle redirects

* [flake8] remove unused module, fix styling issues

Co-authored-by: Henning Jacobs <henning@jacobs1.de>
2020-08-23 15:27:34 +02:00
Henning Jacobs
76a498bacc pre-commit linting (#259)
* pre-commit linting

* fix pydocs
2020-04-25 21:01:21 +02:00
Henning Jacobs
d8b94db671 Switch to Poetry and Black (#254)
* Pipenv -> Poetry

* poetry and black
2019-12-23 20:07:46 +01:00
Henning Jacobs
07d5e6e2bc --node-link-url-template and --pod-link-url-template for external links 2019-08-09 22:37:45 +02:00
Petter Solberg
2c5af20fac Added missing http-headers (#232)
To be able to pass traffic through http proxies.
This is to disable caching/buffering of responses.
2019-06-04 20:10:08 +02:00
jarik2995
813a7d513d Fix definition of OAuth2 scope parameter (#222) 2019-03-29 08:57:30 +01:00
Henning Jacobs
047967121e mock cluster without master nodes 2019-03-23 12:27:03 +01:00
Henning Jacobs
27b34492dc use f-literal 2019-03-23 11:55:16 +01:00
Henning Jacobs
5d0a8e05c7 fix oauth + github example 2019-03-23 11:03:11 +01:00
Henning Jacobs
a897aa7494 use Flask Dance instead of deprecated flask-oauthlib 2019-03-22 22:12:13 +01:00
Henning Jacobs
2dd4f437b8 fix API query 2019-03-21 17:38:55 +01:00
Henning Jacobs
1838a07b57 use pykube-ng to query Kubernetes API 2019-03-21 17:23:38 +01:00
Henning Jacobs
aefbf446ba replace kubernetes client with pykube-ng 2019-03-19 18:37:01 +01:00
Tomek Święcicki
8efc01d640 Dynamic sizing nodes (#208)
* dynamic sizing nodes

* remove whitespaces
2019-03-06 20:29:16 +01:00
Tomek Święcicki
0c320061f8 Generate more real data (#207)
* try to generate more real data

* remove blank line
2019-02-27 21:09:42 +01:00
jarik2995
e265ca4d79 Add support for OAuth2 scope parameter (#199)
* Add support for OAuth2 scope parameter

* Add description for OAuth2 scope parameter

* Update docs with OAuth2 scope parameter

* Make request params None if no scope
2019-01-30 19:58:50 +01:00
Henning Jacobs
e4d925e101 update dependencies (#185)
* update dependencies

* fix Travis build (NPM cache path)
2018-12-11 19:37:06 +01:00
Warren Seymour
384ea8f06d Replace Heapster with Metrics API (#177)
* Replace Heapster with Metrics API call

* Add `n` factor

Metrics API likes to report CPU usage in `n`-suffixed units, so make
sure its represented correctly.
2018-11-03 12:03:07 +01:00
Henning Jacobs
933b8fc226 #164 fix in-cluster config (#165) 2018-05-03 09:30:35 +02:00
Henning Jacobs
07df4e81c3 Update dependencies (#163)
* update dependencies

* fix kubeconfig loader

* use pipenv

* add missing pipenv shell

* tox-pipenv

* pipenv on Travis

* add cache files to gitignore
2018-05-01 14:46:37 +02:00
Drew Rapenchuk
74bf801bc3 Filter out "Evicted" pods (#158)
* Update kubernetes.py

* add failed pod phase

- Add mock data for failed pods
- Failed pods do not get a 'ready' or 'state' key in api. ( see issue #157 )
2018-03-26 18:36:08 +02:00
Tomasz Pawelczak
e020a802de Respect new node role label to detect master nodes (#149) 2018-01-15 18:25:20 +01:00
Tomasz Adamski
f4dd7e68de codestyle fix 2018-01-09 22:43:35 +01:00
Tomasz Adamski
eb01d4f53c Random pod labels in 'mock' mode 2018-01-09 22:36:56 +01:00
Henning Jacobs
5bdef77b45 #129 handle pods in strange error state 2017-02-28 13:16:51 +01:00
Henning Jacobs
ce452d2fc3 #125 hide failed pods after one hour (same as completed jobs) 2017-02-19 20:21:37 +01:00
Henning Jacobs
ea27747666 #121 show and honor node allocatable 2017-02-12 14:11:33 +01:00
Henning Jacobs
ba1443def5 increase read timeout to 15s 2017-01-31 17:35:26 +01:00
Henning Jacobs
d4f35a0952 #114 hide completed jobs after one hour 2017-01-24 11:36:42 +01:00
Henning Jacobs
da15cbd3d9 #108 do not animate pod creation while bootstrapping 2017-01-19 19:16:56 +01:00
Henning Jacobs
08dff18928 #94 indicate outdated cluster data by pulsating 2017-01-15 22:14:53 +01:00
Henning Jacobs
17d9c1e1a2 move Redis key formatting to AbstractStore 2017-01-15 20:33:01 +01:00
Henning Jacobs
5dc172e2fa just warn if Heapster is not deployed (Minikube is missing it) 2017-01-15 18:36:49 +01:00
Henning Jacobs
580b042d33 #95 fix CLI help text 2017-01-15 18:18:18 +01:00
Henning Jacobs
e54a0fb5f5 #72 suppport client-side SSL certs from kubeconfig file 2017-01-15 18:15:17 +01:00
Henning Jacobs
747f520d26 #96 configurable query interval and 1 minute max backoff 2017-01-15 17:19:47 +01:00
Henning Jacobs
1b3819a290 #96 query clusters in 5 second interval 2017-01-15 17:12:28 +01:00
Henning Jacobs
a60f1b58b3 #96 implement exponential backoff 2017-01-15 16:37:12 +01:00
Henning Jacobs
c811281d2a #96 move error handling into update loop 2017-01-15 15:13:40 +01:00
Henning Jacobs
0c665e2339 #95 add --kubeconfig-path and KubeconfigDiscoverer 2017-01-15 14:14:32 +01:00
Henning Jacobs
c647f152f9 #73 we need to authenticate.. 2017-01-15 00:53:47 +01:00
Henning Jacobs
4f524fb1b2 #73 implement --cluster-registry-url option 2017-01-15 00:42:00 +01:00
Henning Jacobs
7e91024f68 fix request 2017-01-14 20:32:24 +01:00
Henning Jacobs
be7063a187 cluster auth 2017-01-14 20:25:56 +01:00
Henning Jacobs
d9a1e2b4a3 incluster detection 2017-01-14 20:03:16 +01:00
Henning Jacobs
43bf0040cb add version 2017-01-14 17:54:27 +01:00
Henning Jacobs
e24919bf90 #90 click for CLI options instead of os.getenv directly 2017-01-14 16:36:09 +01:00