jupyter-server / enterprise_gateway

A lightweight, multi-tenant, scalable and secure gateway that enables Jupyter Notebooks to share resources across distributed clusters such as Apache Spark, Kubernetes and others.
https://jupyter-enterprise-gateway.readthedocs.io/en/latest/
Other
620 stars 223 forks source link

Bump the min version of Python Kubernetes client #1148

Closed rahul26goyal closed 2 years ago

rahul26goyal commented 2 years ago

On JEG v2.6, were seeing exception while executing terminate_container_resources :terminate_container_resources

Error occurred deleting pod: argument of type 'V1PodStatus' is not iterable

The issue was fixed as part of the following PR: https://github.com/jupyter-server/enterprise_gateway/pull/1084

But the change is not compatible with older version of kubernetes client <= 17.17.0.

Thus, bumping the min version of the kubernetes client to next stable release of 18.20.0: https://github.com/kubernetes-client/python/tree/v18.20.0