Problem
Unable to access Kube API as anonymous user.
Cause
Anonymous user is not created with role to access Kube API.
Fix
In order to allow anonymous users to access Kube API server from outside, execute follow the commands mentioned below .
Cause
No user management required/setup for the cluster.
Fix
-
# kubectl create rolebinding bob-admin-binding --clusterrole=admin --user=system:anonymous --namespace=default default (any Any user can access Kube API)
...