<p>I am trying to use the K8S through Azure AKS. </p>

<p>But when doing a simple command like: kubectl create namespace airflow </p>

<p>I get the following error message: </p>

<blockquote>
  <p>Error from server (Forbidden): namespaces is forbidden: User 
  "xxx" cannot create resource "namespaces" in API 
  group "" at the cluster scope </p>
</blockquote>

<p>I have already commanded az aks get-credentials to connect to the cluster and then I try to create the namespace but without success.</p>

Felipe FB
<p>In my case, this works when I use this command:</p>

<pre><code>az aks get-credentials --resource-group &lt;RESOURCE GROUP NAME&gt; --name &lt;AKS Cluster Name&gt; --admin
</code></pre>
