Extend List of JWA Default Images

This guide will walk you through extending the list of the Jupyter Web App (JWA) default images and enabling JWA to use your custom image.

What You’ll Need

Procedure

  1. Go to your GitOps repository, inside your rok-tools management environment:

    root@rok-tools:~# cd ~/ops/deployments
  2. Edit the Jupyter Web App config at kubeflow/manifests/apps/jupyter/jupyter-web-app/upstream/overlays/deploy/patches/config-map.yaml and add your custom image to the Jupyter Web App configuration:

    data: spawner_ui_config.yaml: | spawnerFormDefaults: image: # The container Image for the user's Jupyter Notebook # If readonly, this value must be a member of the list below value: <your_custom_image> # <-- Update this line with the name of your custom image # The list of available standard container Images options: - <your_custom_image> # <-- Update this line with the name of your custom image. - gcr.io/arrikto/jupyter-kale:4a5d7e63-9f74f267
  3. Commit your changes:

    root@rok-tools:~/ops/deployments# git commit -am "kubeflow: Update Jupyter Web App image list"
  4. Reapply the kustomization:

    root@rok-tools:~/ops/deployments# rok-deploy --apply kubeflow/manifests/apps/jupyter/jupyter-web-app/upstream/overlays/deploy

What’s Next

Check out how to specify preselected notebook configurations for JWA.