vagrant-kubeadm-kubernetes
vagrant-kubeadm-kubernetes copied to clipboard
Fail trying to reach dashboard
trafficstars
When run kubectl proxy and access http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#/login, below error occurs.
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Failure",
"message": "error trying to reach service: dial tcp 10.85.0.2:8443: connect: connection refused",
"reason": "ServiceUnavailable",
"code": 503
}
Is there any other solution?
I had the same error. It fixed itself when I killed the dashboard-metrics-scraper and kubernetes-dasbhboard pods. The ones that came up afterwards work fine
Same for me here and works also after killing the pods.