<p>I want to create a Kubernetes service account:</p>
<pre><code>kubernetes@kubernetes1:~$ kubectl create namespace devops-tools
Please enter Username: kubernetes
Please enter Password: Error from server (Forbidden): namespaces is forbidden: User &quot;system:anonymous&quot; cannot create resource &quot;namespaces&quot; in API group &quot;&quot; at the cluster scope
kubernetes@kubernetes1:~$
</code></pre>
<p>But I get this error. Do you know how I can fix this issue?</p>

Peter Penzov
<p>Kubernetes indicates that it has identified you as system:anonymous (unkown)</p>
<p>Please see this part of the Kubernetes documentation that discusses the different authentication methods <a href="https://kubernetes.io/docs/reference/access-authn-authz/authentication/" rel="nofollow noreferrer">https://kubernetes.io/docs/reference/access-authn-authz/authentication/</a></p>
<p>For username and password authentication to work, you should look at the Static Password File section.</p>
