我有一个在Azure上运行的Kubernetes集群(AKS / ACS)。我使用Portal创建了集群。有一个aadClient是自动创建的,客户端机密现已过期。
有人可以告诉我如何设置我已创建的新客户机密码?
目前,AKS无法更新Load Balancer值或挂载持久存储。
谢谢!
可以通过以下命令更新AKS客户端凭据:
az aks update-credentials \
--resource-group myResourceGroup \
--name myAKSCluster \
--reset-service-principal \
--service-principal $SP_ID \
--client-secret $SP_SECRET