azure - 如何使 2 个不同的 kubernetes 集群中的 2 个服务在 azure 中安全地相互通信?

标签 azure kubernetes azure-aks

我在 Azure 中有 2 个 kubernetes 集群。我们将它们称为 LegacyCluster 和 NewCluster。 NewCluster 使用 Terraform 进行配置。 每个都有 LegacyService 和 NewService。我需要 NewService 来安全地调用 LegacyService 而不是休息。我怎样才能做到这一点? Kubernetes 或 Azure 中是否有一项功能可以使两个网络表现得像一个网络?

最佳答案

您可以使用virtual network peering和/或 site-2-site VPN .

网络地址空间不得重叠

关于azure - 如何使 2 个不同的 kubernetes 集群中的 2 个服务在 azure 中安全地相互通信?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58982501/

相关文章:

Azure 管道条件

Azure 点到站点 : Is it possible to read the Public certificate data from Key Vault instead of storing it as plain text in the Point-to-Site Config

mysql - 运行 nginx 入口 Controller kubernetes 时需要服务的(内部)名称

docker - 使用KinD创建本地集群,CPU保持高使用率

azure - 如果我在 Azure 云中使用 k8 集群,是否需要 minikube?

windows - 在 Windows Azure (VM) 上托管 dns 名称服务器

amazon-s3 - Amazon S3 的端点有哪些?

apache-spark - Spark 异常 : Task failed while writing rows (Spark on Kuberenetes)

kubernetes 更新后,kubernetes 上的 mongodb StatefulSet 不再工作

python - 通过 Azure DevOps Python API 创建 VSTS PBI