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

Refine upgrade pathway to z2jh 4 (JupyterHub 5, KubeSpawner 7, OAuthenticator 17) #5079

Open
2 of 3 tasks
consideRatio opened this issue Nov 13, 2024 · 2 comments
Open
2 of 3 tasks
Assignees

Comments

@consideRatio
Copy link
Member

consideRatio commented Nov 13, 2024

Z2JH 4.0.0 is now out (changelog). This issue tracks refining work to make it get done.

I've already trialed upgrading z2jh from 3 to 4 (beta-4) for a 2i2c deployment (#4916, #4979), and I figure its reasonable for 2i2c to upgrade all hubs to z2jh 4.0.0 at this point in time.


Tasks

  • verify chart changelog breaking changes
  • verify sub-projects new versions breaking changes
  • verify compatibility with user images not using jupyterhub 5

Definition of done

  • Other issues have been created and refined to drive us towards upgrading to z2jh 4 more concretely.
@yuvipanda
Copy link
Member

We would need 2i2c-org/jupyterhub-fancy-profiles#72 merged and deployed as well before we can upgrade

@yuvipanda yuvipanda changed the title Refine work on upgrading to z2jh 4 (JupyterHub 5, KubeSpawner 7, OAuthenticator 17) Refine upgrade pathway to z2jh 4 (JupyterHub 5, KubeSpawner 7, OAuthenticator 17) Nov 27, 2024
@GeorgianaElena
Copy link
Member

TL;DR

I just went through all of the breaking changes mentioned by the chat's changelog and also checked the changelogs of the related sub-projects and basehub dependencies.

I am pasting below my findings. The checked boxes aren't impacting us, whereas the others have an action attached to them that we need to take on the 2i2c side.

The plan is open a planning issue and what's below will be turned into an ordered list of sub-issues

Breaking changes that the chart brings:

  • The chart now require Kubernetes 1.28+, up from 1.23+

  • Python is upgraded in chart images from 3.11 to 3.12

  • KubeSpawner is upgraded from 6.2.0 to 7.0.0

        c.KubeSpawner.volume_mounts = {
            "name": "home",
            "mountPath": "/home/jovyan",
            "subPath": "{escaped_username}",  # matches "{username}" in kubespawner 6
        }
    
  • JupyterHub 4.1.6 has been upgraded to 5.2.1

  • OAuthenticator 16.3.1 has been upgraded to 17.1.0

    • [Generic, OpenShift] OAuthenticator.allowed_groups and OAuthenticator.admin_groups now require OAuthenticator.manage_groups to be set to True, and will otherwise raise an error
      • Action: set manage_groups to True as we're configuring admin_groups pretty much for all hubs
  • LDAPAuthenticator 1.3.2 has been upgraded to 2.0.2

Infrastructure dependencies related actions:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants