Installing jupyterhub in minikube on a linux machine

11/1/2018

I'm using the instructions from Zero to jupyterhub with kubernetes to install a jupyterhub in a minikube:

When I run the command in step 2 shown below:

RELEASE=jhub   
NAMESPACE=jhub

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

I get this error:

[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 {}
-- ChrisJ
jupyterhub
kubernetes
minikube

1 Answer

11/5/2018

I have deployed Jupyterhub on minikube correctly using the provided tutorial, then I deleted it using helm delete, and tried to deploy it again with helm upgrade --install. I got similar error as you have posted. For me using: helm delete --purge jhub solved the problem.

PS: If this will not help you, please provide some more details, like helm version, kubectl get pods --all-namespaces

-- aurelius
Source: StackOverflow