【问题标题】:How to create Azure devops kubernetes service connection for to access private AKS cluster?如何创建 Azure devops kubernetes 服务连接以访问私有 AKS 集群?
【发布时间】:2021-10-04 02:51:37
【问题描述】:

创建服务连接以访问非私有 AKS 群集很简单,但是如果我想为私有 AKS 群集创建服务连接,是否可以从 Azure Devops 中创建服务连接?

【问题讨论】:

  • 服务连接未定义为连接到特定事物。简而言之,例如要获得一个部署到私有资源的管道,我需要配置一个连接到同一个 VNET 的 VM,在那里安装一个 devops 托管的构建代理并使用它来连接。 MS 托管的 buikd 代理将无法连接到私有资源
  • 是的,我想。所以现在我使用自托管 vm 作为 devops 代理,网络配置从 vm 到 AKS 集群,并将其用作构建代理。

标签: azure-devops azure-aks serviceconnection


【解决方案1】:

您可以使用 KubeConfig 选项create New Kubernetes service connection 并单击下拉箭头选择Save without Verification

另见Deploying to Private AKS Cluster

【讨论】:

    猜你喜欢
    • 2020-02-25
    • 1970-01-01
    • 2023-02-09
    • 1970-01-01
    • 2021-11-17
    • 2021-08-28
    • 2018-10-19
    • 2019-08-15
    • 2019-09-26
    相关资源
    最近更新 更多