-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Kubernetes Tasks only work with k8s 1.13, 1.14, 1.15 #3195
Comments
Thanks for opening @gabrielcalderon! I'm going to have to pull |
@joshmeek I was able to list my deployments using k8s client directly with AppsV1Api |
@joshmeek They are about to merge version 12.0 :-) |
@gabrielcalderon Awesome! Do you want to update the tasks to no longer use the |
@joshmeek Sure, I can take a look during the weekend. They just did the official release. https://github.com/kubernetes-client/python/releases/tag/v12.0.0 |
Description
The official kubernetes python client only supports up to k8s 1.15. As stated on their github page.
Compatibility matrix
k8s 1.15 is EOL and k8s 1.16 will be EOL in 10-2020.
See: https://github.com/kubernetes/sig-release/blob/master/releases/patch-releases.md
This issue is for tracking the release of Python Kubernetes Client 12.0.0 which will support k8s 1.16 and others.
Behavior
Currently if you try to deploy with CreateNamespacedDeployment Task or any kind of k8s Task, you will get a 404 error from the Kubernetes API due to the fact that both ExtensionsV1beta1Api and AppsV1beta1Api are deprecated in Kubernetes 1.16 and forward.
See: kubernetes-client/python#1232
See: kubernetes-client/python#1052
The text was updated successfully, but these errors were encountered: