Note for production environments we recommend you configure RBAC to
limit access to your Kubernetes cluster based on roles.
This example assumes you have previously completed the following examples:
To create the Kubeconfig file use the following command line:
az aks get-credentials --resource-group $RESOURCE_GROUP --name $AKS --admin --file config
Once the command completes the Kubeconfig file is stored in a file named config
Set the KUBECONFIG environment variable using the command line below:
export KUBECONFIG=$PWD/config
Do NOT forget to remove the resources once you are done with the example.
1m