正如标题中所述,我正在尝试将AKS群集作为Attached computes
添加到我的Azure机器学习工作区。
在添加时ML studio显示的向导中
有一个install AzureML extension指南链接。
只需4个步骤:
1.准备Azure Kubernetes服务群集或Arc Kubernetes群集。
1.部署AzureML扩展。
1.将Kubernetes群集附加到Azure ML工作区。
1.使用CLI v2、SDK v2和Studio UI中的Kubernetes计算目标。
我的问题是第二步。
根据建议,我正在尝试通过客户端创建概念证明az k8s-extension create --name <extension-name> --extension-type Microsoft.AzureML.Kubernetes --config enableTraining=True enableInference=True inferenceRouterServiceType=LoadBalancer allowInsecureConnections=True inferenceLoadBalancerHA=False --cluster-type managedClusters --cluster-name <your-AKS-cluster-name> --resource-group <your-RG-name> --scope cluster
我已经使用正确的群集名称和资源组登录了正确的订阅(我是所有者)。作为extension-name,我使用了test-ml-extension
,但我一直收到此错误(ExtensionOperationFailed) The extension operation failed with the following error: Request failed to https://management.azure.com/subscriptions/<subscription-id>/resourceGroups/<rg-name>/providers/Microsoft.ContainerService/managedclusters/<cluster-name>/extensionaddons/test-ml-extension?api-version=2021-03-01. Error code: Unauthorized. Reason: Unauthorized.{"error":{"code":"InvalidAuthenticationToken","message":"The received access token is not valid: at least one of the claims 'puid' or 'altsecid' or 'oid' should be present. If you are accessing as application please make sure service principal is properly created in the tenant."}}. Code: ExtensionOperationFailed Message: The extension operation failed with the following error: Request failed to https://management.azure.com/subscriptions/<subscription-id>/resourceGroups/<rg-name>/providers/Microsoft.ContainerService/managedclusters/<cluster-name>/extensionaddons/test-ml-extension?api-version=2021-03-01. Error code: Unauthorized. Reason: Unauthorized.{"error":{"code":"InvalidAuthenticationToken","message":"The received access token is not valid: at least one of the claims 'puid' or 'altsecid' or 'oid' should be present. If you are accessing as application please make sure service principal is properly created in the tenant."}}.
我错过了什么吗?
1条答案
按热度按时间js81xvg61#
我尝试在我的环境中重现相同的问题,结果如下
备注: