-
Notifications
You must be signed in to change notification settings - Fork 3
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
Live notes towards a test deployment and demo #19
Comments
Status updateThe demo to deploy and use a binderhub in a "build only" mode through its REST API is now demonstrated, and the checkboxes for this issue is resolved. Future work is planned in #27, and below is a gif animation of using the CLI binderhub the software accepts "build_only=true"@GeorgianaElena has made jupyterhub/binderhub#1647 functional, and we have also worked to make a Helm chart deploy binderhub using that not yet merged feature-branch. binderhub-service running, and REST API functionalWhen the image is built and pushed, we don't directly launch. BinderHub has started without coupling to JupyterHub, built an image, and pushed it to a container registry. Images pushed to container registry |
Development
For a test deployment and demo we need a few things to come into place.
Software preparation
c.BinderHub.require_build_only
Allow building the image without needing to launch it jupyterhub/binderhub#1647
Chart preparation
Allow binderhub to be configured via config and extraConfig #18
Testing
Testing deployment
We can test things locally or in a CI system, but we have setup a k8s cluster to test things in a production similar environment for now to also enable easier demoing of the results.
Write notes about the k8s cluster we have for testing things
Write notes about the helm commands to install / upgrade, and with what config
Once installed, we can access the binderhub REST API. @GeorgianaElena and I have done this in a not convenient way of first opening a network connection to binderhub's UI:
Then we were able to make a build from curl like this:
Setup a GCP based container registry we can work against
KubernetesBuildExecutor.push_secret
Testing procedure
I think straight up
curl
to for examplehttp://localhost:8585/build/gh/binderhub-ci-repos/cached-minimal-dockerfile/HEAD?build_only=true
is sufficient.We have tested against a GKE Artifact registry (includes docker container registry)
The text was updated successfully, but these errors were encountered: