Dashboard UI is not accessible

8/14/2019

Dashboard UI not working. I'm trying to troubleshoot kubernetes UI Dashboard. It is not working so far. I have a cluster with three nodes, 1 master and 2 workers

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/'

The issue is that when the proxy is activated, the Dashboard does not display on the worker machine (node1) which is the one where dashboard is running

I'm trying to troubleshoot kubernetes UI Dashboard. It is not working so far. I have a cluster with three nodes, 1 master and 2 workers:

[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/

The Log for the Dashboard deployment shows the following message:

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

Expect for the Dashboard UI to load with URL, but get error message instead.

-- Xancatal
kubernetes

0 Answers