Skip to content
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

Add ES port tunneling to the spawner #27

Closed
andrewgdotcom opened this issue Sep 12, 2018 · 4 comments
Closed

Add ES port tunneling to the spawner #27

andrewgdotcom opened this issue Sep 12, 2018 · 4 comments
Assignees

Comments

@andrewgdotcom
Copy link
Contributor

Stéphane Campinas
I forwarded each of the 3 ES nodes to a different port on my local
as I wanted to be able to access any of the 3
thanks for taking the time through that tunnelling!

Andrew Gallagher
sweet!
I think we should absorb some of that code into the spawner though
so that instead of having to run your own ssh tunneling from the job, the spawner will automatically generate port forwarding on the es-controller (edited)
if we do that, then you can connect to es-controller:42003, es-controller:42004, es-controller:42005 etc.
what do you think?
note that you will still need to parse the spawner output to find out what the ports will be

Stéphane Campinas
that would be a plus for the spawner to have that, maybe other people will find it useful (edited)
I can propose a PR ;o)

Andrew Gallagher
hehe
let me have a look at what you have, so I can see if I can scavenge any of it

Stéphane Campinas
sure
https://github.com/sirensolutions/siren-platform/commit/7199f7a351c91915b75c1bf15177adf6951c3e9a#diff-20e618800303173f6b8d9d05382ebdeaR228

@itudoben
Copy link
Contributor

@andrewgdotcom looks like this issue has been solved somehow, doesn't it?

@andrewgdotcom
Copy link
Contributor Author

@itudoben no, it's being worked around by ssh tunneling but it would be nice not to have to manually set it up

@andrewgdotcom
Copy link
Contributor Author

@andrewgdotcom
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants