在 linux 机器上的 minikube 中安装 jupyterhub

Installing jupyterhub in minikube on a linux machine

我正在使用 Zero to jupyterhub with kubernetes 中的说明在 minikube 中安装 jupyterhub:

当我运行下面步骤2中的命令时:

RELEASE=jhub   
NAMESPACE=jhub

~/minik$ helm upgrade --install $RELEASE jupyterhub/jupyterhub   --namespace $NAMESPACE    --version 0.7.0   --values config.yaml  --debug --dry-run

我收到这个错误:

[debug] Created tunnel using local port: '42995'

[debug] SERVER: "127.0.0.1:42995"

[debug] Fetched jupyterhub/jupyterhub to
 /home1/chrisj/.helm/cache/archive/jupyterhub-0.7.0.tgz

Release "jhub" does not exist. Installing it now.
[debug] CHART PATH: /home1/chrisj/.helm/cache/archive/jupyterhub-0.7.0.tgz

Error: render error in "jupyterhub/templates/proxy/autohttps/service.yaml": template: jupyterhub/templates/proxy/autohttps/service.yaml:1:26: executing "jupyterhub/templates/proxy/autohttps/service.yaml" at <.Values.proxy.https....>: can't evaluate field https in type interface {}

我已经使用提供的教程在 minikube 上正确部署了 Jupyterhub,然后我使用 helm delete 删除了它,并尝试使用 helm upgrade --install 再次部署它。我收到了与您发布的类似的错误。对我来说使用: helm delete --purge jhub 解决了问题。

PS:如果这对您没有帮助,请提供更多详细信息,例如 helm versionkubectl get pods --all-namespaces