建立Azureeventhub& Azurekubernetes
我有Azureeventhub设置,并为选定的网络打开了它,这意味着只有白色的IP可以访问。
另一方面,我将Azurekubernetesservice配置为读取来自Azureeventhub的消息。我遇到连接错误,说经纪人不可用,因为kubernetes的IPS未在EventHub中列入白名单。
问题是:我在哪里可以获得可以在Azureeventhub中配置的AK的IP?
已经尝试的是:在AKS群集的概述中,我们有某些IPS如下。
Pod CIDR
Service CIDR
DNS service IP
Docker bridge CIDR
添加上述不起作用!!!
I have AzureEventHub setup and its opened for a selected network, which means, only the IPs that are whitelisted can be accessible.
On the other end, i have AzureKubernetesService configured to read messages from AzureEventHub. I get connection error saying broker not available, because the IPs of kubernetes is not whitelisted in eventhub.
Question is : Where would i get the IPs of AKS that can be configured in my AzureEventHub ?
What is already tried : In Overview of AKS Cluster, we have certain IPs as below.
Pod CIDR
Service CIDR
DNS service IP
Docker bridge CIDR
Adding the above isn't working !!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要在Azure事件网格中注册Azure Kubernetes服务(AKS)。这可以通过 cli 或 powershell 来完成。
您需要执行一组命令来完成任务:
启用事件网格资源提供商
使用
ak aks create
命令创建AKS群集
创建一个AKS群集,使用
az eventHubs namespace创建命名空间和事件中心,create
和az eventHubs eventhubs eventhub create
中心/azure/aks/quickstart-event-rid?tabs = azure-cli“ rel =“ nofollow noreferrer”>官方文档通过使用给定示例实现
You need to register the Azure Kubernetes Service (AKS) in Azure Event Grid. This can be done either through CLI or Powershell.
There is a set of commands you need to perform to complete the task:
Enable the Event Grid resource provider
Create an AKS cluster using the
az aks create
commandCreate a namespace and event hub using
az eventhubs namespace create
andaz eventhubs eventhub create
Refer the official document to implement by using the given examples