k8s dashboard 访问404 问题

怎甘沉沦 提交于 2020-10-01 04:34:50
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:

kubectl -n kube-system logs kubernetes-dashboard-7c54d59f66-98bkf
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!