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

[yurt tunnel]support proxy nodeIP:port request to access 127.0.0.1 address on the edge #415

Closed
rambohe-ch opened this issue Aug 9, 2021 · 0 comments · Fixed by #443
Closed
Labels
kind/enhancement kind/enhancement kind/feature kind/feature

Comments

@rambohe-ch
Copy link
Member

What would you like to be added:
Support to switch http request host from nodeIP to localhost for specified ports after backend agent selected, so yurt-tunnel can proxy nodeIP:port http(s) requests to 127.0.0.1 on the edge.

Why is this needed:
Some components on the edge serve metrics at 127.0.0.1 address for security consideration, but prometheus usually use NodeIP:Port to collect components metrics, so yurt-tunnel should switch nodeIP to localhost after backend agent selected so yurt-tunnel-agent can proxy request to 127.0.0.1.

others
/kind feature

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

Successfully merging a pull request may close this issue.

1 participant