【问题标题】:Failing to scale an ACS cluster due to missing ServicePrincipalProfile由于缺少 ServicePrincipalProfile 无法扩展 ACS 集群
【发布时间】:2017-09-06 02:13:18
【问题描述】:

我正在尝试扩展运行 k8s 的 ACS 集群。从 Azure CLI 我得到以下错误,Azure 门户导致类似的错误消息。我的 k8s 集群似乎没有正确设置服务主体?

"必须使用 Orchestrator 指定 ServicePrincipalProfile Kubernetes”

我觉得这很奇怪,因为我确实使用 az ad sp create-for-rbac 命令为订阅创建服务主体。然后,我将生成的 appId 和密码与 az acs create 命令一起使用(在 --service-principal 和 --client-secret 选项中)。

例子:

az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/my-subscription-guid"

az acs create -n=myk8skube -g=myresgrp --orchestrator-type=kubernetes --agent-count=2 --generate-ssh-keys --windows --admin-username=myuser --admin-password =mypassword --service-principal=appId --client-secret=password

集群运行良好,我可以扩展 pod,但无法扩展节点。我是如何进入这种状态的,更重要的是如何解决?

【问题讨论】:

    标签: azure-container-service


    【解决方案1】:

    在预览区域中存在 ACS 集群规模问题。该修复程序于 2017 年 8 月 31 日在全球推出。

    【讨论】:

    • 景涛,我现在仍然看到同样的问题。我需要做些什么来解决这个问题吗?我假设我不需要部署一个新的集群来修复它,对吗?
    • 如果您仍然看到它,请报告。现有集群没问题。
    • 部署新集群解决了问题。我现有的集群继续失败。
    猜你喜欢
    • 2015-06-06
    • 2021-11-12
    • 1970-01-01
    • 2017-02-19
    • 2017-02-21
    • 2021-07-12
    • 1970-01-01
    • 2017-05-09
    • 1970-01-01
    相关资源
    最近更新 更多