Skip to content

atunnel: ingress CONNECT support - #993

Open
Keith Mattix II (keithmattix) wants to merge 7 commits into
agent-substrate:mainfrom
keithmattix:atunnel-ingress-connect
Open

atunnel: ingress CONNECT support#993
Keith Mattix II (keithmattix) wants to merge 7 commits into
agent-substrate:mainfrom
keithmattix:atunnel-ingress-connect

Conversation

@keithmattix

@keithmattix Keith Mattix II (keithmattix) commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

Finishes up the vision from #715 to have atunnel serve CONNECT on the ingress path. This will give us the option to hit actors on other ports besides 80. I haven't wired up atenet router yet because it's nontrivial; we should do that in a second step so we can have a baseline for performance

Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>
Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>
Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>
Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>
Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>
@@ -78,6 +78,7 @@ func buildDeploymentApplyConfig(wp *atev1alpha1.WorkerPool, otel ateomOTelSettin
WithArgs(
"--pod-uid=$(POD_UID)",
"--atunnel-listen-address=0.0.0.0:443",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we even need another listen address? Can't we serve everything here?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logic for doing CONNECT from atenet router - > atunnel is non-trivial and it has some connection pooling implications, so I wanted to start with a separate port to keep the scope of this down. Doing it this way also helps us keep a baseline of current state around for a bit so we can make sure we don't regress by accident

Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>
Comment thread internal/atunnel/egress.go Outdated
Comment thread internal/atunnel/egress.go Outdated
Comment thread internal/atunnel/egress.go Outdated
Signed-off-by: Keith Mattix II <keithmattix2@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants