<p>How can we login to a AKS cluster created , by using service account?
We are asked to execute kubectl create clusterrolebinding add-on-cluster-admin ......... but we are not aware how to use this and login to the created cluster in Azure </p>

saran
<p>you can use this quick start tutorial: <a href="https://learn.microsoft.com/en-us/azure/aks/kubernetes-walkthrough#connect-to-the-cluster" rel="noreferrer">https://learn.microsoft.com/en-us/azure/aks/kubernetes-walkthrough#connect-to-the-cluster</a></p>

<p>basically you need to install kubectl:</p>

<pre><code>az aks install-cli
</code></pre>

<p>and pull credentials for AKS:</p>

<pre><code>az aks get-credentials --resource-group myResourceGroup --name myAKSCluster
</code></pre>
