azure - 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:
- aad-server-app-id
- aad-server-app-secret
- aad-client-app-id
- aad-tenant-id
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?
解决方案
不幸的是,目前不支持在现有集群上启用 RBAC。您将需要显式创建新集群。
当您开始使用 AKS 时,您会想知道一些事情。按照此链接查看更多详细信息。
推荐阅读
- django - django 和 kubernetes 中的线程化 websocket
- python - 使用 Python 条件将空值替换为其他值
- javascript - 使用 JavaScript 生成器重构
- postgresql - 如何在 postgresql 中创建多边形
- asp.net-core - 在测试中使用 MediatR 时无法访问已处置的对象 (IServiceProvider)
- ruby-on-rails - 为什么 'rails s' 不适用于 127.0.0.1 但仅适用于我的 Rails 5 项目中的 localhost ?(我使用的是 MacBook Pro M1 2020)
- sql - SQL 转换/将 Varchar 转换为日期
- antd - 如何在antd中限制表单列表?
- shopify - 如何通过shopify restful API设置中国海关税的居民身份证号码
- flask - Flask SQLAlchemy 循环依赖