k8s dashboard 訪問404 問題

root@xiao-OptiPlex-3020:~# kubectl -n kube-system get pods
NAME                                          READY   STATUS    RESTARTS   AGE
coredns-68567cdb47-wvc9r                      1/1     Running   0          14h
coredns-68567cdb47-zt6jd                      1/1     Running   0          14h
dashboard-metrics-scraper-76585494d8-42ttg    1/1     Running   0          14h
kube-flannel-ds-amd64-mfhkh                   1/1     Running   0          14h
kubernetes-dashboard-7c54d59f66-98bkf         1/1     Running   0          14h
metrics-server-745cb4496f-wwskq               1/1     Running   0          14h
traefik-ingress-controller-6dbb6b7c96-qbgft   1/1     Running   0          14h

root@xiao-OptiPlex-3020:~# kubectl cluster-info
Kubernetes master is running at https://192.168.199.231:6443
CoreDNS is running at https://192.168.199.231:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
Metrics-server is running at https://192.168.199.231:6443/api/v1/namespaces/kube-system/services/https:metrics-server:/proxy

查看 dashboard logs:api

kubectl -n kube-system logs kubernetes-dashboard-7c54d59f66-98bkf
相關文章
相關標籤/搜索