建立Azureeventhub& Azurekubernetes

发布于 2025-02-13 22:11:29 字数 349 浏览 1 评论 0原文

我有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 技术交流群。

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

蛮可爱 2025-02-20 22:11:30

您需要在Azure事件网格中注册Azure Kubernetes服务(AKS)。这可以通过 cli powershell 来完成。

您需要执行一组命令来完成任务:

  1. 启用事件网格资源提供商

  2. 使用ak aks create命令

    创建AKS群集

  3. 创建一个AKS群集,使用az eventHubs namespace创建命名空间和事件中心,createaz 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:

  1. Enable the Event Grid resource provider

  2. Create an AKS cluster using the az aks create command

  3. Create a namespace and event hub using az eventhubs namespace create and az eventhubs eventhub create

Refer the official document to implement by using the given examples

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文