Error received when attempting to create an AKS cluster

Joseph Gagnon 0 Reputation points
2024-11-18T19:25:51.5533333+00:00

I am attempting to take a Learn course on Azure AKS (https://learn.microsoft.com/en-us/training/modules/aks-deploy-container-app/3-exercise-create-aks-cluster?tabs=linux) and after executing a specified command, received the following error:

joseph [ ~ ]$ az aks create --resource-group $RESOURCE_GROUP --name $CLUSTER_NAME --node-count 2 --generate-ssh-keys --node-vm-size Standard_B2s --network-plugin azure
docker_bridge_cidr is not a known attribute of class 
Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,770 questions
{count} votes

2 answers

Sort by: Most helpful
  1. akinbade abiola 19,210 Reputation points
    2024-11-19T08:27:15.0066667+00:00

    To my knowledge docker_bridge_cidr is a warning so should not be the issue. See similar bug reported here: https://github.com/Azure/AKS/issues/4151. Did the deploy fail?

    docker_bridge_cidr parameter has been deprecated and removed from the AKS API. https://github.com/Azure/AKS/issues/3534

    Maybe try and update your Azure CLI using:

    az upgrade
    
    
    

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola

    0 comments No comments

  2. VarunTha 9,420 Reputation points Microsoft Vendor
    2024-11-19T19:50:37.3233333+00:00

    Hi Joseph Gagnon,
    When creating an AKS cluster, consider using a different VM size, such as Standard_A2_v2.

    Note: Standard_B2s VMs are necessary for creating node pools but are not available in Free-Tier subscriptions.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.