Hi, i have done done cluster setup in my local machine with 1 master and 1 node. . . .

sudhir kumar:
Hi, i have done done cluster setup in my local machine with 1 master and 1 node.
When i try to create any resource, i get below erro

kubectl create ns prod
Error from server (Forbidden): namespaces is forbidden: User "system:node:master01" cannot create resource "namespaces" in API group "" at the cluster scop

unnivkn:

unnivkn:

unnivkn:
https://stackoverflow.com/questions/55759894/kubectl-get-namespace-command-namespaces-is-forbidden-error

sudhir kumar:
thanks, copying admin.conf to ~/.kube/config helped me to resolve the problem