kubernetes服务到服务通信的API

发布于 2025-02-13 01:21:37 字数 141 浏览 1 评论 0原文

我是K8S Newbie建筑2服务,服务A和服务B,位于K8S集群中。服务A需要致电服务B作为服务A代码的一部分。关于服务B的API,我有什么选择?是使用Python烧瓶构建的REST API,例如,通常用于K8S群集内这种服务到服务通信的选项吗?我还有什么其他选择?

I'm K8s newbie building 2 services, service A and service B, in a K8s cluster. Service A needs to call service B as part of service A's code. What are my options in terms of the API should I have for service B? Is a REST API, e.g., built using Python Flask, an option typically used for this kind of service-to-service communication within a K8s cluster? What other options do I have?

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

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

发布评论

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