Azure / Azure/azure-libraries-for-java

[FEATURE REQ] Azure Container Service (AKS) define with RBACenabled true is not possible?

オープン
#794 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
AKS customer-reported feature-request Mgmt
主要言語
Java
スター
97
フォーク
102
PR マージ指標
30日以内にマージされた PR はありません

説明

I am using the azure-libraries-for-java to create a kubernetes cluster with withRBACEnabled true. The define() does not have the option withRBACEnabled and the cluster cannot be updated to set this property.
KubernetesCluster kubernetesCluster = azure.kubernetesClusters().define(kubernetesClusterVO.getAksName())
.withRegion(kubernetesClusterVO.getRegion())
.withNewResourceGroup(kubernetesClusterVO.getResourceGroupName())
.withLatestVersion()
.withRootUsername(kubernetesClusterVO.getRootUserName())
.withSshKey(sshKeys.getSshPublicKey())
.withServicePrincipalClientId(kubernetesClusterVO.getServicePrincipalClientId())
.withServicePrincipalSecret(kubernetesClusterVO.getServicePrincipalSecret())
.defineAgentPool(kubernetesClusterVO.getAgentpoolName())
.withVirtualMachineSize(kubernetesClusterVO.getVMSizeType())
.withAgentPoolVirtualMachineCount(kubernetesClusterVO.getAgentPoolVMCount())
.attach()
.withDnsPrefix(kubernetesClusterVO.getDnsNamePrefix())
.create();

The cluster is created with RBACEnabled false. No option to change it.

Update attempt using the java library
/**…more code..**/
item = item.update()
.withRBACEnabled()
.apply();

Error description
com.microsoft.azure.CloudException: Changing property 'enableRBAC' is not allowed.: Changing property 'enableRBAC' is not allowed.

Thank you.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start from the KubernetesCluster define() and update() entry points shown in the issue, then trace how AKS properties are sent during cluster creation. Check the Azure model and existing tests for enableRBAC support. Done means the Java library can request RBAC during creation and clearly handles the update limitation.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, java, kubernetes
領域
cloud, infrastructure
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。