Installng jupyterhub wiht helm failed

Hi ,

This is my first post in this forum .

i am trying ot deploy jupyterhub on Redhat openshift with helm 3 .

I am getting this below errror .

$ helm upgrade --cleanup-on-fail --install $RELEASE jupyterhub/jupyterhub --namespace $NAMESPACE --create-namespace --version=0.10.6 --values config.yaml
Error: UPGRADE FAILED: pre-upgrade hooks failed: timed out waiting for the condition

Any update on this ?

Have you looked at your pods using kubectl ... describe pods?

I have tried again with single subnet but still fails .

looks like the api server subnet is not talking to weave net cni

[root@master ~]# kubectl logs coredns-74ff55c5b-9wbnx -n kube-system
.:53
[INFO] plugin/reload: Running configuration MD5 = db32ca3650231d74073ff4cf814959a7
CoreDNS-1.7.0
linux/amd64, go1.14.4, f59c03d
[ERROR] plugin/errors: 2 519613332737584968.506009032237894752. HINFO: read udp 10.32.0.3:56304->192.168.100.1:53: read: no route to host
[ERROR] plugin/errors: 2 519613332737584968.506009032237894752. HINFO: read udp 10.32.0.3:60726->192.168.100.1:53: read: no route to host
[root@master ~]#

[root@master ~]# kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.96.0.1 443/TCP 17m
[root@master ~]#

192.168.100.0 --. Public IP range of master and worker nodes
10.96.0.1 — cluster IP of api-server
10.32.0.0 – range of weave net cni
10.224.0.0 – IP arange of pod cidr .

Where i am going wrong ?

It sounds like your K8S cluster is having problems. You may be able to get more help on a kubernetes or openshift forum.

I have tried it on Redhat Openshift Sandbox and still doesnt work out . This seems to be some issue with the helm repo .

$ helm upgrade --cleanup-on-fail --install $RELEASE jupyterhub/jupyterhub --namespace $NAMESPACE --create-namespace --version=0.11.1 --values config.yaml
Release “jhub” does not exist. Installing it now.

Error: failed pre-install: timed out waiting for the condition

$ helm upgrade --cleanup-on-fail --install $RELEASE jupyterhub/jupyterhub --namespace $NAMESPACE --create-namespace --version=0.10.6 --values config.yaml
Error: UPGRADE FAILED: pre-upgrade hooks failed: timed out waiting for the condition

This is probably due to Openshift being more restrictive than a standard Kubernetes distribution. You could try running kubectl describe on the failed resources to see if that gives you any clues.

There are a few posts on the internet about people running JupyterHub on OpenShift, so you might find more ideas through Google.