Author : MD TAREQ HASSAN | Updated : 2021/04/15
Prerequisites
Creating Cluster in Azure Portal
- Go to: https://portal.azure.com/#create/microsoft.aks
- Fill up details
- Create and Review > Create
Note: No need to create additional nodepool unless required. Use default ‘agentpool’ and eanble autoscaling
Testing Cluster
Open cloudshell and select Bash (Azure cli command will be used)
Get credential (might ask for device login using code)
az aks get-credentials --resource-group FooResourceGroup --name BarAKSCluster
Check nodes
kubectl config set-context --current --namespace xyz
kubectl get nodes
kubectl get pods