6eb907cc89
We depend on the Kubernetes Python client for several things such as health checks & metrics polling. Those are both run inside periodic jobs which spawn in greenthreads. The Kubernetes API uses it's own thread pools which seem to use native pools and cause several different deadlocks when it comes to logging. Since we don't make extensive use of the Kubernetes API and we want something that doesn't use any threadpools, we can simply use a simple wrapper using Requests. This patch takes care of dropping the dependency and refactoring all the code to use this simple mechansim instead, which should reduce the overall dependency list as well as avoid any deadlock issues which are present in the upstream client. Change-Id: If0b7c96cb77bba0c79a678c9885622f1fe0f7ebc |
||
---|---|---|
.. | ||
handlers | ||
tasks | ||
__init__.py | ||
test_k8s_api.py | ||
test_monitors.py | ||
test_rpcapi.py | ||
test_scale_manager.py | ||
test_utils.py |