Azure容器实例,服务器Farbric还是Kubernetes? [英] Azure Container Instances, Server Farbric or Kubernetes?
问题描述
可能是一个简单的问题-但是我还没有在Azure上使用Container的经验.
我想托管一个公开的Web API,并希望有一个容器来对Web API进行运行状况监视.此人不应该公开露面.我怎样才能最好地将它们部署在一个小组中?
如果我使用容器实例进行此操作-是否可以在一个组中同时为Web API提供公开的IP,并为运行状况监视提供专用的部分?
谢谢
我建议您考虑使用AKS.
我们有一个文档,用于设置具有外部连接性的基本入口控制器
https://docs.microsoft.com/en-us/azure/aks/ingress -基本
这将使您可以使用公共IP设置Web API,并使其他服务不暴露于外部流量,但仍可以通过内部网络连接到Web API
Probably a simple question - but I'm not yet experienced in Azure with Containers.
I want to host a web API to public and have a container to perform health monitoring for the web API. This one shouldn't be exposed to public. How can I deploy them best in a group?
If I do this with Container Instances - is it possible to have in a group a public exposed IP for the web API and a private part for the health monitoring?
Thank you
I would suggest you look into using AKS.
We have a doc on setting up a basic ingress controller with external connectivity
https://docs.microsoft.com/en-us/azure/aks/ingress-basic
This would allow you to setup your Web API with a public IP and have other services that are not exposed to external traffic but can still connect to the web API via internal networking
这篇关于Azure容器实例,服务器Farbric还是Kubernetes?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!