-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify bind and connect addresses throughout JupyterHub #1289
Comments
+1 |
I completely agree with that, I just didn't wanted to implement that for 0.8 with all the already existing changes. I would like to push for a non-py config files as default (traitlets works perfectly with Json), that would allow to have a command to upgrade config files. |
Yeah, I agree we shouldn't do this for 0.8. We don't really need to support unix domain sockets for 0.8 tho - our performance bottlenecks are elsewhere still (mostly in sqlalchemy blocking main thread now, I think). |
Adding to the 0.9 milestone. |
Since connect_ip and port will be new in 0.8, maybe we should drop those in favor of |
On second thought, I think connect_ip is a special case - Hub listening on all interfaces by having to specify a connect IP is common to all distributed deployments (even local docker), which is what prompted bringing it upstream out of DockerSpawner. Specifying anything else (connect_port, otherwise different full URL) is on a quite different level. So I'm inclined to keep connect_ip as it is now, and maybe trade only connect_port for a full connect_url (should include |
Currently we use
ip
,port
,connect_ip
,connect_port
for various things. It's a little confusing, and not very clear what is what when reading code.I propose for 0.9, we do the following:
ip
andport
,connect_ip
andconnect_port
. They'll still workip
andport
intobind_address
, which can be ip:port combo, unix domain socket, just ip, etc.connect_ip
andconnect_port
intoconnect_address
, which would do the sameThe text was updated successfully, but these errors were encountered: