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?
When run
kubectl proxyand accesshttp://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?