View Resources and Cluster Access#
Once the AKS cluster has been created (the deployment page shows that Step 2 is complete), the AKS cluster appears in the resource group page. You can now assign cluster admin permissions to view its resources and interact via Kubectl. To do so, follow these steps:
- Navigate to the Azure Portal. 
- Go to the AKS cluster resource group to which you have deployed this. For example, aks-omniverse. 
- Select Access Control (IAM) in the left menu. 
- Click +Add and select Add role assignment. 
- Choose Azure Kubernetes Service RBAC Cluster Admin as the role. 
- Beneath Members, select your user account. 
- Click Review + assign to save your changes. 
To log in to use kubectl with Azure CLI:
- Run the following command to open a browser window to log in: - az login
- Return to the terminal and select the correct subscription. 
- Run the following commands to get the cluster credentials and update your local Kubernetes configuration: 
$ az aks get-credentials --resource-group <RESOURCE GROUP NAME> --name <AKS CLUSTER NAME> --admin
Merged "<CLUSTER NAME>-admin" as current context in <your home directory>/.kube/config
$ kubelogin convert-kubeconfig -l azurecli
$ kubectl --cluster <AKS-CLUSTER-NAME> get nodes
NAME                                STATUS   ROLES    AGE   VERSION
aks-agentpool-30934000-vmss000000   Ready    <none>   20m   v1.30.9
aks-cachepool-30934000-vmss000000   Ready    <none>   21m   v1.30.9
aks-gpupool-30934000-vmss000000     Ready    <none>   19m   v1.30.9
To view the streaming pods running in the cluster, run the following command:
$ kubectl --cluster <AKS-CLUSTER-NAME> --namespace omni-streaming get pods
NAME                          READY   STATUS    RESTARTS   AGE
applications-f96c566c-sh7ld   2/2     Running   0          5m28s
memcached-0                   1/1     Running   0          6m9s
rmcp-5db9cf5986-xkmn7         1/1     Running   0          5m30s
streaming-7855fff556-ld2bx    1/1     Running   0          5m29s
