User "system:anonymous" cannot proxy services in the namespace "kube-system".: "No policy matched.\nUnknown user \"system:anonymous\""

6/12/2017

I am getting the following error when trying to access the Kubernetes dashboard found in the cluster info:

kubectl cluster-info

Also pops up in incognito mode in Chrome:

User "system:anonymous" cannot proxy services in the namespace "kube-system".: "No policy matched.\nUnknown user \"system:anonymous\""

-- IAmCoder
google-kubernetes-engine
kubernetes

1 Answer

6/12/2017

I was able to access it with a local proxy by running:

kubectl proxy

And then navigating to http://127.0.0.1:8001/ui (http://127.0.0.1:8001/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy/#!/workload?namespace=default).

Might be related to an upgrade to version 1.6.

-- IAmCoder
Source: StackOverflow