Helm Install from DockerHub image - DockerHub Image download fails

When running the following command:

helm upgrade --cleanup-on-fail \
    -- install $releaseName $dockerHubName/$dockerHubRepo:$tag \
    -- namespace $namespace \
    -- create-namespace \
    -- values config.yaml

I get the following error:

Error: Failed to download "$dockerHubName/$dockerHubRepo"

I've also tried with different tags, with semantic versioning (tag="1.0.0") and there's a image with the tag "latest" on the DockerHub repo (which is Public)

This also works with the base JuPyTerHub image jupyterhub/jupyterhub


Based on information from the jupyterhub for kubernetes site, to use a different image from jupyter/docker-stacks, the following steps are required:

  1. Modify your config.yaml file to specify the image. For example:
     singleuser:
       image:
         # You should replace the "latest" tag with a fixed version from:
         # https://hub.docker.com/r/jupyter/datascience-notebook/tags/
         # Inspect the Dockerfile at:
         # https://github.com/jupyter/docker-stacks/tree/HEAD/datascience-notebook/Dockerfile
         name: jupyter/datascience-notebook
         tag: latest
  1. Apply the changes by following the directions listed in apply the changes.

If you have configured prePuller.hook.enabled, all the nodes in your cluster will pull the image before the hub is upgraded to let users use the image. The image pulling may take several minutes to complete, depending on the size of the image.

  1. Restart your server from JupyterHub control panel if you are already logged in.