通过Kubernetes中的本地容器IP地址向其他容器提供HTTP端点

发布于 2025-02-12 07:56:56 字数 165 浏览 0 评论 0原文

我是微服务的新手,而Kubernetes则是全新的。我正在设计一个微服务,该微服务应为其他微服务提供某些文件,所有这些文件都在Kubernates群集中部署为Docker容器,并且所有这些都使用相同的消息队列。我的想法是将URL(群集内部和IP实际分配给容器)放置在队列上的消息中。它可以起作用还是我没有考虑到什么?

I'm quite new to microservices and totally new with kubernetes. I'm designing a microservice which should provide some files to other microservices, all of them deployed as docker containers in a kubernates cluster and all of them using the same message queue. My idea is to place the URL (internal to the cluster and with the ip actually assigned to the container) to download files in a message on the queue. May it works or there is something I'm not taking into account?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文