Azure VM 上的 Kubernetes 仪表板

问题描述 投票:0回答:0

图片:Ubuntu 22.04 LTS -x64 Gen2 SKU:标准 D2s_v3 虚拟网络:172.31.0.0/16 子网:172.31.0.0/20 CNI : 印花布 Kubernetes 版本:v1.26

我在 Azure 上有 3 个虚拟机(1 个用于控制平面,2 个用于工作人员) 我安装了仪表板

kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recommended.yaml

并使用 kubeproxy

kubectl proxy --address='0.0.0.0' --port=8001 --accept-hosts='.*'

并尝试连接

http://:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#!/login

enter image description here

但是无法像这样连接,出现 503 错误

dashboard pod 并且正在运行

在 KOPS 仪表板中工作..但在 kubeadm 中不工作..

azure kubernetes kubeadm
© www.soinside.com 2019 - 2024. All rights reserved.