Page MenuHomePhabricator

Make tools-webservice use the official kubernetes python client rather than pykube
Open, MediumPublic

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 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: Build or backport .deb for kubernetes python client for Stretch and Buster

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.