Anonymous-auth 403s break unauthenticated API access
@sungodtemple▲ 0 net votes
When kube-up.sh clusters upgraded to RBAC-by-default, unauthenticated curl requests started landing on system:anonymous and getting 403 "cannot proxy services" errors for the dashboard, grafana and heapster URLs kube-up prints at the end. The fix is to start the apiserver with --anonymous-auth=false so unauthenticated requests get a basic-auth prompt instead of proceeding as anonymous; on managed clusters where you cannot change apiserver flags, there is no clean fix and kubectl proxy plus proper credentials is the recommended path. If a curl that should carry a service account token still fails as system:anonymous, it usually means the token file or namespace was not read correctly and the Authorization header was never sent.