仪表板UI无法访问

时间:2019-08-14 20:39:12

标签: kubernetes

仪表板用户界面不起作用。我正在尝试对kubernetes UI仪表板进行故障排除。到目前为止,它无法正常工作。我有一个包含三个节点,一个主节点和两个工作人员的集群

Error: 'dial tcp 172.16.1.4:8443: i/o timeout' Trying to reach: 'https://172.16.1.4:8443/'
Error: 'dial tcp 172.16.1.4:8443: i/o timeout' Trying to reach: 'https://172.16.1.4:8443/'

问题在于,激活代理后,仪表板不会显示在运行仪表板的工作计算机(节点1)上

我正在尝试对kubernetes UI仪表板进行故障排除。到目前为止,它无法正常工作。我有一个包含三个节点,一个主节点和两个工作人员的集群:

[admin@k8s-node1 ~]$ kubectl get nodes 
NAME STATUS ROLES AGE VERSION 
k8s-master Ready master 4d21h v1.15.2 
k8s-node1 Ready 4d20h v1.15.2 
k8s-node2 Ready 4d20h v1.15.2
[admin@k8s-node1 ~]$ kubectl get pods --all-namespaces -o wide
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
kube-system coredns-5c98db65d4-7fztc 1/1 Running 2 4d20h 172.16.0.5 k8s-master kube-system coredns-5c98db65d4-wwb4t 1/1 Running 2 4d20h 172.16.0.4 k8s-master kube-system etcd-k8s-master 1/1 Running 1 4d20h 10.1.99.10 k8s-master 
kube-system kube-apiserver-k8s-master 1/1 Running 1 4d20h 10.1.99.10 k8s-master 
kube-system kube-controller-manager-k8s-master 1/1 Running 1 4d20h 10.1.99.10 k8s-master 
kube-system kube-router-bt2rb 1/1 Running 0 30m 10.1.99.11 k8s-node1 
kube-system kube-router-dnft9 1/1 Running 0 30m 10.1.99.10 k8s-master 
kube-system kube-router-z98ns 1/1 Running 0 29m 10.1.99.12 k8s-node2 
kube-system kube-scheduler-k8s-master 1/1 Running 1 4d20h 10.1.99.10 k8s-master 
kubernetes-dashboard kubernetes-dashboard-5c8f9556c4-8skmv 1/1 Running 0 43m 172.16.1.4 k8s-node1 
kubernetes-dashboard kubernetes-metrics-scraper-86456cdd8f-htq9t 1/1 Running 0 43m 172.16.2.7 k8s-node2

URL:http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/

仪表板部署的日志显示以下消息:

Metric client health check failed: the server is currently unable to handle the request (get services dashboard-metrics-scraper). Retrying in 30 seconds.

期望Dashboard UI加载URL,但会收到错误消息。

0 个答案:

没有答案