Setting up binderhub on opennebula

Hi all,

I’m trying to set up binderhub following instructions at https://binderhub.readthedocs.io/en/latest/index.html. Now I’m stuck at point 3.5 (connect binderhub and jupyterhub), in fact I get no external IPs:

    NAME           TYPE           CLUSTER-IP       EXTERNAL-IP   PORT(S)                      AGE
    binder         LoadBalancer   10.103.114.129   <pending>     80:30968/TCP                 3d4h
    hub            ClusterIP      10.106.220.154   <none>        8081/TCP                     3d4h
    proxy-api      ClusterIP      10.97.84.94      <none>        8001/TCP                     3d4h
    proxy-public   LoadBalancer   10.97.128.123    <pending>     80:31372/TCP,443:31029/TCP   3d4h

My best guess is that the issue is due to the fact that opennebula is not one of the listed supported cloud provider and therefore the LoadBalancer type won’t work.
Is there anybody who have already experience this issue or that could point at how to modify the binder type to, perhaps, NodePort?

1 Like

You may want to look into something like MetalLB to provide a load balancing service in the cluster. I have used it with Kubernetes in Docker (KinD) and MiniKube. OpenNuebula is not listed as explicitly supported, but I suspect it can/will. https://metallb.universe.tf/

Thanks for posting here! I don’t know much about what kind of kubernetes cluster with which features you get on opennebula but one thing that might help or expand the things to google for (in addition to looking at the metallb linked above) is to search for “ingress” and “nginx-ingress” and “expose service to public ip” or some such. If you already tried all that then I am out of ideas unfortunately :frowning:

2 Likes