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

如何修改rpc调用的时候的ip #4521

Open
TCsteven opened this issue Sep 14, 2024 · 1 comment
Open

如何修改rpc调用的时候的ip #4521

TCsteven opened this issue Sep 14, 2024 · 1 comment

Comments

@TCsteven
Copy link

在istio中打开mtls之后无法在一个pod里面使用ip:port去调用另一个pod,只能使用istio分配的固定的内部域名去调用,有什么方法可以在rpc调用的时候把ip:port映射成内部域名吗?

@liubao68
Copy link
Contributor

istio场景似乎不需要注册发现,可以考虑本地配置(local discovery)。 当然还有很多其他可选方案,比如注册的时候,注册内部域名等;使用handler拦截(参考loadbalance模块实现)等。

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

No branches or pull requests

2 participants