When run kubectl proxy and access http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#/login, below error occurs.
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
When run
kubectl proxy
and accesshttp://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#/login
, below error occurs.Is there any other solution?