<t>I think you might missed out to configure the cluster, for that you need to run the below command in your command prompt.<br/>
<br/>
az aks get-credentials --resource-group myResourceGroup --name myAKSCluster<br/>
<br/>
```<br/>
<br/>
The above CLI command creates .config file with complete cluster and nodes details in your local machine. <br/>
<br/>
After that you run `kubectl get nodes` command in your command prompt, then you can get the list of nodes inside the cluster like in the below image.<br/>
<br/>
[](https://i.sstatic.net/PyloI.png)<br/>
For reference follow this [Deploy an Azure Kubernetes Service (AKS) cluster](https://learn.microsoft.com/en-us/azure/aks/kubernetes-walkthrough).</t>