vagrant-kubeadm-kubernetes icon indicating copy to clipboard operation
vagrant-kubeadm-kubernetes copied to clipboard

Fail trying to reach dashboard

Open devleejb opened this issue 1 year ago • 2 comments
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?

devleejb avatar Mar 17 '24 06:03 devleejb

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

mlkiefer avatar Apr 03 '24 10:04 mlkiefer

Same for me here and works also after killing the pods.

viguice avatar Apr 09 '24 16:04 viguice