AKS Cluster Setup
K8s Installation
Environment Variables
Create a resource group
Create a virtual network and subnet
Create a service principal and read in the application ID
Copy the Above Password and Store it in some place. In Case of Issues, this password will help for troubleshooting
Wait 30 seconds to make sure that service principal has propagated
Get the virtual network resource ID
Assign the service principal Contributor permissions to the virtual network resource
Get the virtual network subnet resource ID
Create the AKS cluster and specify the virtual network, service principal information, and azure for the network plugin and network policy.
This command downloads credentials and configures the Kubernetes CLI to use them:
Check the K8s Cluster is working fine or not.
Get the Kube Config file from Azure Shell to Windows Computer.
You will get a link as Output and Open the URL in the browser.
You can then download the File on to Windows Laptop / Desktop.
COpy this file and paste it C Drive > Users > YOUR NAME > .KUBE folder
Last updated
Was this helpful?