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

[KubeIngressProxy] breaking: migrate to networking.k8s.io/v1 api for Ingress resources #598

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Mar 22, 2022

Closes #597. With the latest release of kubernetes_asyncio version 22 (mapping to k8s 1.22), we had a failure related to outdated k8s API references extensions/v1beta1. This PR makes KubeIngressProxy generate Ingress resources assuming the networking/v1 API for Ingress resources instead.

Someone installing KubeSpawner 3.0.3 that includes this PR for KubeIngressProxy should clean up all the old Ingress resources for user servers, because they will be orphaned going onwards and could cause collisions etc. I encourage people using KubeIngressProxy to help out documenting more detailed migration steps etc - for example as comments in this PR as it will be linked from the changelog.

This pr should be merged after #599 I think, which it currently includes as well.

@consideRatio consideRatio added bug KubeIngressProxy KubeIngressProxy is a separate class from KubeSpawner! labels Mar 22, 2022
@consideRatio
Copy link
Member Author

consideRatio commented Mar 22, 2022

@ondave we aren't able to maintain the KubeIngressProxy class very well in general as it is not actively in use by any JupyterHub team member and bundled in this repo and python package for legacy reasons (#568 describes legacy reasons).

If you have the capacity, I'd love your review and input regarding this breaking change for users of KubeIngressProxy.

@ondave
Copy link
Contributor

ondave commented Mar 22, 2022

I think v1.19.16 is also OK with this change, although 1.19 is now EOL, and it would make sense to drop support for 1.17-1.19 in line with #599. The PR looks good and works fine on our minikube v1.21.6 test cluster.

@consideRatio consideRatio merged commit ea9a13b into jupyterhub:main Mar 23, 2022
@consideRatio consideRatio changed the title [KubeIngressProxy] Migrate to networking.k8s.io/v1 api for Ingress resources [KubeIngressProxy] breaking: migrate to networking.k8s.io/v1 api for Ingress resources Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking bug KubeIngressProxy KubeIngressProxy is a separate class from KubeSpawner!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KubeIngressProxy incompatible with kubernetes_asyncio v22
2 participants