Comments (4)
So, after spending more time on that issue I can tell you it's not that easy to reproduce.
I haven't been able to reproduce yet and I think it's related to NetworkPolicies, the issue seems very similar to this issue: jupyterhub/zero-to-jupyterhub-k8s#1863
I will try to have a reproducible case.
from ml-hub.
I was able to confirm that the issue is between the ingress and the service, most likely a firewall issue.
I'm getting connection resets between the ingress controller and the service. 10.56.2.25 is the proxy-public service enpoint while .16 is the nginx ingress controller
from ml-hub.
I think I found the issue: the proxy-public service points to the port 8080 of the proxy pod but this one doesn't listen to this port and instead listen to the port 8000... editing the service to use the 8000 fixed the issue. After more digging in the values it seems I needed to use proxy.https.type: offload
in combination with mlhub.env.SSL_ENABLED: true
. This configure the service "properly", but then, the ingress don't work at all as the target port is hardcoded to servicePort: 80
. So I disabled the ingress templating and created it manually as a temporary workaround.
I still don't understand how restarting the proxy pod made it work all of the sudden. I think it have to do with the environment variables being set and the behavior of the proxy itself but I guess if you launch the container with the option --port 8000
you should probably use that port anyway.
I'll make a pull request in that direction soon
from ml-hub.
The issue is already fixed in the jupyterhub chart so instead of doing things twice I'd rather prefer using this as dependency for this chart as discussed in #25
from ml-hub.
Related Issues (20)
- Docker 19.03 GPU support
- Volume Mounting HOT 2
- endless redirect loop from /hub/user/[username] to /user/[username]
- Compile to ARM64 arch HOT 3
- LDAP authenticator HOT 1
- Support GPUs on multiple machines (via docker-swarm or kubernetes)? HOT 1
- Payment gateway like stripe
- Adding support for R in ml-hub HOT 1
- add authentication for private docker repositories
- mlspawner uses Subnets from the internet HOT 1
- Using newer version of vs code server HOT 9
- upgrade to adopt the latest jupyterhub feature HOT 2
- Readiness probe failed when hub pod created
- Could not connect mlhub to the network / spawner fails
- JupytherHub 2.0
- Helm chart compatibility with Kubernetes 1.22
- Helm chart configuration change doesn't trigger a pod restart
- Docker images not up to date? HOT 1
- Can not install the k8s-hub
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ml-hub.