我在 azure kubernetes 上配置了一个集群。而且服务运行良好。 关注这篇文章 https://learn.microsoft.com/en-us/azure/aks/kubernetes-dashboard
我正在尝试使用查看仪表板,但收到如下错误
az aks browse --resource-group DemoRG--name aksdemo2
Proxy running on http://127.0.0.1:8001/
Press CTRL+C to close the tunnel...
Error: unknown flag: --address
我的集群没有启用 RBAC,我不确定这是否与网络问题或其他问题有关。
最佳答案
这篇文章的作者最终通过遵循现有的 github issue #8642 解决了这个问题。 :
I had two copies of kubectl and the one from docker was overriding the one from azure. Found this by firing "where kubectl" from command prompt, and deleting the docker copy.
关于azure kubernetes 仪表板未配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55605965/