Jupyterhub behind ingress controller – Zero to JupyterHub on Kubernetes

I am trying to host a jupyterhub on kubernetes .

I have deployed the helm chart and set the ingress resource . when i visit the site loads properly as well
the websocket connection fails.

i read on the nginx ingress controller docs that websocket is supported out of the box.
I read that we need to make the ingress controller to speak TCP .

I am using a classic ELB with nginx ingress controller.

I would like to know if i missing any concept on networking here .Thanks :pray:

Things i tried:

  • exposed the svc as loadbalancer , works without error
  • tried using this svc as part of ingress resource – websocket error
  • tried seting the svc to clusterIP and again same error
  • tried setting headers to max timeout for 3600 (string) . again websocket error

on loadbalancer i see 2 rules. http 80 and https 443(with ACM certificate).


Read more here: Source link