我正在使用Zero to jupyterhub with kubernetes中的说明在小型机中安装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 {}
答案 0 :(得分:1)
我已使用提供的教程在minikube上正确部署了Jupyterhub,然后使用helm delete删除了Jupyterhub,并尝试使用helm upgrade --install
重新部署。您发布了类似的错误消息。对我来说使用:
helm delete --purge jhub
解决了这个问题。
PS:如果这对您没有帮助,请提供更多详细信息,例如helm version
,kubectl get pods --all-namespaces