Get rid of kubernetes python module (#1586)

The official python kubernetes client contains a lot of auto-generated code and therefore very heavy, but we need only a little fraction of it.
The naive implementation, that covers all API methods we use, takes about 250 LoC, and about half of it is responsible for the handling of configuration files.

Disadvantage: If somebody was using the `patronictl` outside of the pod (on his machine), it might not work anymore (depending on the environment).
This commit is contained in:
Alexander Kukushkin
2020-07-17 08:31:58 +02:00
committed by GitHub
parent ba15806592
commit a68692a3e4
7 changed files with 369 additions and 43 deletions
-1
View File
@@ -10,4 +10,3 @@ prettytable>=0.7
python-dateutil
psutil>=2.0.0
cdiff
kubernetes>=2.0.0,<=10.0.1,!=4.0.*,!=5.0.*