Page MenuHomePhabricator

Make tools-webservice use the official kubernetes python client rather than pykube
Closed, ResolvedPublic

Description

The webservice command currently uses https://github.com/kelproject/pykube for talking to the kubernetes API. https://github.com/kubernetes-incubator/client-python is newer and more official, and the API design is also (IMO) much better. Let's switch to that.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

This task will be revisited once the k8s infrastructure has moved to Debian Stretch. See also T197930: Replace pykube with a library that works with newer Kubernetes APIs

bd808 triaged this task as Low priority.Jun 25 2018, 4:52 PM
bd808 added a subscriber: bd808.

Triaging as low priority after @Nehajha's initial investigation.

Bstorm raised the priority of this task from Low to Medium.Nov 27 2019, 4:44 PM
Bstorm added a subscriber: Bstorm.

Bumping up priority because I don't trust the security or longevity of pykube at this point. The biggest issue is just that it will block k8s upgrades soon.

bd808 claimed this task.

T197930: Replace pykube with a library that works with newer Kubernetes APIs did not switch to the official library, but it did get rid of pykube.