Hello, I would like to run Jupyterhub on Kubernetes (via GCP) with https enabled.
I have reserved a domain name (humbio51.stanford.edu) and a corresponding static ip address (126.96.36.199).
The static IP was reserved on GCP, as follows:
I have tried to associate it with the forwarding rule for the jupyterhub load-balancer, and it does show up as associated with that.
In my config.yaml file (in accordance with the Zero to Jupyterhub on Kubernetes tutorial),I have added the following:
proxy: secretToken: "bunchofsecretnumbersthatareomitted" https: hosts: - humbio51.stanford.edu letsencrypt: contactEmail: email@example.com hub: service: loadBalancerIP: 188.8.131.52 extraConfig: jupyterlab: | c.Spawner.cmd = ['jupyter-labhub']
I have executed the helm update command:
helm upgrade jhub jupyterhub/jupyterhub --version=0.8.2 --values config.yaml
But my proxy-publici loadBalancer IP address has not been updated –
kubectl --namespace=jhub get svc proxy-public NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE proxy-public LoadBalancer 10.11.251.57 184.108.40.206 80:32579/TCP,443:30986/TCP 16d
I have also tried updating it through the GCP web interface (can’t post screenshot as a new user, but the yaml I was editing is reproduced below):
spec: clusterIP: 10.11.251.57 externalTrafficPolicy: Cluster ports: - name: http nodePort: 32579 port: 80 protocol: TCP targetPort: 80 - name: https nodePort: 30986 port: 443 protocol: TCP targetPort: 443 selector: component: autohttps release: jhub sessionAffinity: None type: LoadBalancer status: loadBalancer: ingress: - ip: 220.127.116.11 --> updated this to 18.104.22.168
I save the updated yaml, there is no error message, but the IP does not update.
Any advise on how to get the proxy-public service to use my desired static IP address?
Thanks so much!