Conversation
Contributor
zachsmith1
commented
Feb 4, 2026
- this PR enables an optional mode for binding to a unix-socket instead of the default host/port listener
- this allows us to decouple the iroh-gateway container from the envoy pod deployment
- previously, if we wanted to bump the iroh-gateway version it would be rolling out the envoy pod since the iroh-gateway container runs inside it. this new model will allow us to run iroh-gateway as a daemonset next to envoy daemonset and then share the nodes unix socket. the other option would be to use a svc with locality but that adds overhead and an extra network hop (kube-proxy/IPVS/iptables and TCP stack).
- UDS model is low overhead and strictly node-local
Contributor
Author
|
Putting this in wip until we split out some things due to windows build complaining due to shared libs |
Collaborator
|
I can just add UDS support to iroh-proxy-utils, it'll save you the additional TCP connection. |
Collaborator
|
I added UnixListener support to iroh-proxy-utils: n0-computer/iroh-proxy-utils#10 #66 contains the bump to latest iroh-proxy-utils - feel free to merge that and then update your PR here afterwards. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.