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

Add support for arm64 in singleuser-sample image #2316

Merged
merged 2 commits into from
Jul 17, 2021

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Jul 17, 2021

This is the result of a lot of work in jupyter/docker-stacks surrounding jupyter/docker-stacks#1019!

Thank you everyone involved! Thank you @sakuraiyuta, @holdenk, @mathbunnyru, @manics, @jiwidi, @parente, @AvverbioPronome, @step21, @akitanaka, and @romainx!

It makes me very happy to finally get the JupyterHub Helm chart 100% arm64 compatible!

Closes #2145


Update 1

This PR can't be merged until jupyter/docker-stacks#1411 is resolved sadly.


Update 2

Wait what... the singleuser-sample could build without an arm64 compatible image was published? I'm not sure why that is... @manics do you think jupyter/docker-stacks#1368 was sufficient? I'm very confused why the build of our singleuser-sample with arm64 succeeded if has a FROM statement from an image that doesn't list arm64 in its manifest.

Why did https://github.com/jupyterhub/zero-to-jupyterhub-k8s/runs/3090822567 not fail!?

Update 3

I'm still very confused: why was it possible for our singleuser-sample to build an arm64 image from a Dockerfile that had a FROM statement referencing an amd64 image?

No matter what though, I'll go for a merge now, because we now have arm64 compatible images pushed and when retriggering the tests they still succeed.

Conclusion

If anyone can verify that this Helm chart can install and run the default user image on a arm64 based k8s, that would be great! This probably works, but does it really?

@consideRatio consideRatio marked this pull request as draft July 17, 2021 00:32
@consideRatio consideRatio marked this pull request as ready for review July 17, 2021 01:36
@consideRatio consideRatio merged commit fa849ce into jupyterhub:main Jul 17, 2021
consideRatio pushed a commit to jupyterhub/helm-chart that referenced this pull request Jul 17, 2021
@sakuraiyuta
Copy link

I checked release 1.0.1-n043.he0658ec0 on my 4-nodes RPi4 cluster.

helm repo update
helm upgrade \
  --cleanup-on-fail \
  --install jhub jupyterhub/jupyterhub \
  --namespace jupyterhub \
  --create-namespace \
  --version 1.0.1-n043.he0658ec0 \
  --values jupyter-hub-config.yaml

It seems to work perfectly. Great work.

@consideRatio
Copy link
Member Author

Wieee thank you @sakuraiyuta!!!

@holdenk
Copy link

holdenk commented Jul 20, 2021

I'm so stoked for this changes, thanks everyone :) Now I can delete a bunch of custom hacks I have in my own repos :D Y'all rock :D

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

Successfully merging this pull request may close these issues.

Support arm64 in the singleuser-sample container image
3 participants