Hi,
I’m not able to get jhub working with external ip, see the info:
k get svc -A
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default gpu-operator-1606212060-node-feature-discovery ClusterIP 10.100.207.172 <none> 8080/TCP 5h31m
default kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 6h45m
gpu-operator-resources nvidia-dcgm-exporter ClusterIP 10.108.60.184 <none> 9400/TCP 4h44m
ingress-nginx ingress-nginx-controller LoadBalancer 10.110.95.159 my real external IP 80:30144/TCP,443:31509/TCP 40m
ingress-nginx ingress-nginx-controller-admission ClusterIP 10.106.200.197 <none> 443/TCP 40m
jhub hub ClusterIP 10.104.196.30 <none> 8081/TCP 7m15s
jhub proxy-api ClusterIP 10.103.186.81 <none> 8001/TCP 7m15s
jhub proxy-public LoadBalancer 10.111.40.176 <pending> 80:30355/TCP 7m15s
kube-system kube-dns ClusterIP 10.96.0.10 <none> 53/UDP,53/TCP,9153/TCP 6h45m
I’m wondering why jhub proxy-public is still pending…
Accessing in a browser: http:// my real external IP give me nginx error, but it means nginx is accessible from outisde.
Ok some news now. If I add one more ip in the Metallb pool, it get added to the proxy-public. But then my question is, how to use nginx controller only to access the jupyterhub hub ? Because then I have to use another ip…
and my jupyterhub config like in the doc:
proxy:
secretToken: 'MYTOKEN'
ingress:
enabled: true
hosts:
- my_real_ip