Page MenuHomePhabricator

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


The webservice command currently uses for talking to the kubernetes API. 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 project: Cloud-Services. · View Herald TranscriptMar 7 2017, 11:59 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
bd808 moved this task from Triage to Tools on the Cloud-Services board.Mar 26 2017, 9:00 PM
bd808 edited projects, added Kubernetes; removed Toolforge.Jul 28 2017, 11:01 PM

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.

Also adding to this task that this blocks us from upgrading to 1.16.

bd808 closed this task as Resolved.May 19 2020, 11:50 PM
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.