-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Multiple services per one ExitNode? #92
Comments
If your services use HTTP, I recommend just running it behind a reverse proxy ingress like Traefik or NGINX. |
Thank you. Just for my own understanding, I think what you're saying is to run the chisel server behind a reverse proxy ingress. That way, there can be one VPS handling traffic for two different kubernetes services. I had intuitively already set up something like that using caddyserver.
I manually set up both DNS A records for (example) This isn't the problem I was bringing up in this issue, though. The issue I meant to ask about is on the Kubernetes side. In my case it's a cluster running on localhost on a residential internet with a dynamic IP address. With only one ExitNode kubernetes object, I was wondering if there was a way to reference the exit node from two different kubernetes services. Illustrated example as follows.
With this setup where two services are referencing the same ExitNode, I was seeing that only the first one created was able to establish a chisel tunnel. I might be doing something wrong though. I'll keep fiddling with it. |
Yes. Anyway, the multiple services feature isn't implemented yet, I'm still figuring out whether if Chisel actually supports forwarding multiple processes to the server or not. I also need to change the CRD schema completely, so the new ExitNode CRD would be a breaking change sadly enough. Once I get everything else in order, I'll try to work on chisel-operator and get this going. |
I realized I could use two ExitNodes instead of one, and they each connect to my singular chisel server. Thanks again, I'm getting a lot of value out of this project so I'll be sponsoring. |
I will be fixing this in 0.4. |
anyway I just realized this issue is a dupe of #9, closing this. Let's talk there instead. |
isn't that the opposite? they want to expose one service to multiple exit nodes; this wants to use one exit node to expose multiple services |
Anyway, should be fixed in 0.4 |
Hi thanks for chisel-operator.
I'm looking to use it as a self-hosted ngrok alternative so I can have SSL in my development environment (kind cluster with Tilt.)
I'm trying out chisel-operator and I'm hoping to add two services to one ExitNode. In my case the two services are frontend (next.js) and backend (strapi.js.)
This setup is working. I have my chisel server running on a VPS and I'm seeing the strapi tunnel session established.
A problem arises when I add a second service, the frontend.
With this second service, I don't see any tunnel session started on my chisel server logs. Looking in k9s at chisel-operator logs, I see an error.
The part that sticks out is, "NoAvailableExitNodes".
This led me to look through the docs some more. I wonder if this feature is not implemented? I found the TODO section in README.md which shows what I think is the feature I'm looking for. "Multiple tunnel services per exit node (so you don't have to pay for multiple VMs)."
I'm looking for some clarification of that feature. It looks like that feature has a checkmark as if it's completed, but it's still under the TODO heading so I'm unsure.
Is there a recommended way to do two services per one ExitNode?
The text was updated successfully, but these errors were encountered: