Helm Install from DockerHub image - DockerHub Image 下载失败

Helm Install from DockerHub image - DockerHub Image download fails

当运行以下命令时:

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

我收到以下错误:

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

我也尝试过使用不同的标签,使用语义版本控制 (tag="1.0.0") 并且在 DockerHub 存储库(Public)上有一个标签为“最新”的图像[= =13=]

这也适用于基本 JuPyTerHub 图像 jupyterhub/jupyterhub

根据来自 jupyterhub for kubernetes site 的信息,要使用来自 jupyter/docker-stacks 的不同图像,需要执行以下步骤:

  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.