首页 > 解决方案 > Is it that I can't edit an AKS cluster on Azure?

问题描述

Now I want to integrate Azure AD with AKS as Integrate Azure Active Directory with Azure Kubernetes Service.

It is necessary to set these attributes to the AKS cluster:

It can do like this:

az aks create \
  --resource-group myResourceGroup \
  --name myAKSCluster \
  --generate-ssh-keys \
  --aad-server-app-id b1536b67-29ab-4b63-b60f-9444d0c15df1 \
  --aad-server-app-secret wHYomLe2i1mHR2B3/d4sFrooHwADZccKwfoQwK2QHg= \
  --aad-client-app-id 8aaf8bd5-1bdd-4822-99ad-02bfaa63eea7 \
  --aad-tenant-id 72f988bf-0000-0000-0000-2d7cd011db47

From the az aks command list I didn't find an edit feature. So if I have created an AKS cluster, isn't there a way to set the Azure AD application IDs on the Kubernetes cluster?

标签: azurekubernetesazure-active-directoryazure-aks

解决方案


不幸的是,目前不支持在现有集群上启用 RBAC。您将需要显式创建新集群。

当您开始使用 AKS 时,您会想知道一些事情。按照此链接查看更多详细信息。


推荐阅读