Bump Kubernetes to 1.22.X impossible with current python-kubernetes version #3487
Labels
complexity:medium
Something that requires one or few days to fix
kind:bug
Something isn't working
priority:urgent
Any issue we should jump in as soon as possible
release:blocker
An issue that blocks a release until resolved
state:question
Further information is requested
Milestone
Component:
'build'
What happened:
Currently, our salt module to interact with APIServer use python-kubernetes but python-kubernetes is a bit late on nowadays Kubernetes version (still at Kubernetes 1.18 (in beta) when creating this ticket, Kubernetes 1.22.0 just came out).
https://github.com/kubernetes-client/python#compatibility
Due to this old python-kubernetes version some APIs/Models are not available, like
Ingress
as part ofnetworking.k8s.io/v1
API and since Kubernetes 1.22.0Ingress
Beta APIs get removed so with the current Python-kubernetes version we cannot manageIngress
objects when calling APIServer 1.22.0+.https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-22
What was expected:
Our salt module interacting with APIServer should be compatible with the Kubernetes version embedded as part of MetalK8s.
Resolution proposal (optional):
TBD
Several solutions possible (non ordered and maybe not exhaustive):
The text was updated successfully, but these errors were encountered: