Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade python-kubernetes version in salt-master #2029

Open
TeddyAndrieux opened this issue Nov 8, 2019 · 3 comments
Open

Upgrade python-kubernetes version in salt-master #2029

TeddyAndrieux opened this issue Nov 8, 2019 · 3 comments
Labels
complexity:medium Something that requires one or few days to fix kind:debt Technical debt topic:build Anything related to building steps

Comments

@TeddyAndrieux
Copy link
Collaborator

TeddyAndrieux commented Nov 8, 2019

Component:

'kubernetes', 'build'

Why this is needed:

Currently we use the python2-kubernetes version available in epel repository which is not the last one so we need to do some tricks to try to handle object with older APIs for example in this commit for Ingress using networking.k8s.io/v1beta1 Api a008d38.
https://github.com/kubernetes-client/python#compatibility

What should be done:

Upgrade python kubernetes in salt-master container to have a version able to handle each and every object of current kubernetes version we use.

Implementation proposal (strongly recommended):

TBD
Some possibility:

  • Package python-kubernetes version we want and install it in the salt-master container
  • Install python kubernetes directly in the salt-master dockerfile (using pip or something else)
@TeddyAndrieux TeddyAndrieux added moonshot topic:build Anything related to building steps kind:debt Technical debt complexity:medium Something that requires one or few days to fix labels Nov 8, 2019
@gdemonet
Copy link
Contributor

gdemonet commented Nov 8, 2019

Sadly, it seems github.com/kubernetes-client/python does not have (yet) released versions for K8s 1.15 or 1.16... Although 1.15 seems to be in progress (see the 11.0-alpha1)

@NicolasT
Copy link
Contributor

NicolasT commented Nov 8, 2019

Then maybe we can help maintaining that library? ;-)

@gdemonet gdemonet added this to the MetalK8s 2.5.0 milestone Nov 13, 2019
@gdemonet gdemonet added this to To do in Week 46/2019 via automation Nov 13, 2019
@thomasdanan thomasdanan added this to To do in Week 47/2019 Nov 17, 2019
@thomasdanan thomasdanan added this to To do in Week 48/2019 via automation Nov 21, 2019
@thomasdanan thomasdanan removed this from To do in Week 47/2019 Nov 21, 2019
@TeddyAndrieux
Copy link
Collaborator Author

Version 1.10.1 just get pushed in epel repository so a008d38 is not longer an issue.

But something still need to be done to have a python kubenretes version able to support the k8s version deployed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity:medium Something that requires one or few days to fix kind:debt Technical debt topic:build Anything related to building steps
Projects
No open projects
Week 46/2019
  
To do
Week 48/2019
  
To do
Development

No branches or pull requests

4 participants