Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

After you have installed the Azure CLI on your client machine, follow the steps given below to connect to the AKS cluster before you can start deploying the application.

  1. Connect to your Azure account by using your subscription ID in the following command.

    Code Block
    languagecss
    themeMidnight
    az account set --subscription <subscription ID of your Azure account>

    You will be prompted to enter your credentials of your Azure account.

    Info

    If you have multiple Azure subscriptions, select the appropriate subscription ID in which the resources should be billed.


  2. Run the following command to authenticate as a user and connect to the AKS cluster.

    Code Block
    languagecss
    themeMidnight
    az aks get-credentials --resource-group <Name of the resource group> --name <Name of the cluster>


...