-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
k8s pod对接非k8s环境apollo疑问 #4988
Comments
🤖 您的Kubernetes(k8s)环境下的应用pod可以对接部署在非k8s环境的Apollo。Apollo通过 关于Apollo如何处理实例的IP地址,Apollo通过使用属性文件来处理其配置管理系统中实例的IP地址。在提供的 至于IP地址的变化问题,我找到了一个类似的已解决问题:k8s 集群外部客户端访问,Apollo无法正确记录客户端ip。建议的解决方案是:在访问configservice时向HTTP请求添加'X-FORWARDED-FOR'头。这允许Apollo正确记录客户端IP。 Sources
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
只要网络通就可以
这个取决于 pod 的生命周期 |
如果一个宿主机里的多个pod同时访问apollo,pod出去的话如果是宿主机ip的话,那apollo实例里面岂不是可以看到很多相同的ip?那怎么来做灰度呢? |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions. |
目前我的apollo部署在虚拟机非k8s环境,那么我的部署在k8s下的应用pod能对接apollo吗?如果能对接apollo,那么在apollo界面实例列表里的貌似只有ip字段,是不是经常会变?
The text was updated successfully, but these errors were encountered: