I am unable to choose std B2s type for nodes while creating aks cluster

i am unable to choose std B2s type for nodes while creating aks cluster. i followed below rules:

Cluster preset configuration: prod standar
choose mode : Manual
selected only two nodes for agent pool , user pool deleted
monitoring diabled
rest left by default

but still i am unable to create aks cluster

Use Dev/Test for the cluster preset. You can follow this guide to setup AKS on Azure:
AKS Managed Cluster (github.com)


Even after selecting Dev/Test for cluster preset , error still says not to select B series

I have a different UI to you and mine works:

Please restart the lab.







even after restarting the labs , no luck, i attached all images , did you found any wrong in that

Strange, it should work. I’ll ask the team.

@al1 any update from the team please !!

Not yet - allow a few days for the team to look into this.

Hi Team,

Even I was facing the same issue AKS not allowing the B2s node size in the node pool issue, Could you please help a

Please allow one more day or so for this issue to be fixed.

hi team, I confirm that this issue still exist

I’ve asked the team for an ETA.

Update: I’ve been told it should be done by tomorrow.

1 Like

hi, problem is not yet solved

It has been fixed to a point that you can deploy a cluster though I think the team have to make some further modifications. For now you can create an agent pool with Standard_D4s_v3 and 1-2 nodes in auto scaling mode. Manual settings of 1 or more nodes won’t work. Also any VM size other than Standard_D4s_v3 won’t work.

@al1 I choose Standard_D4s_v3 with 1-2 nodes in auto scaling mode. disable all monitor settings. and not set anything else beside this. still not work.

Hi @eden,

Apologies for the problem during the learning. Today, users were able to deploy the AKS cluster with Standard_D4s_v3, but we have reverted the changes that were made today because we have encountered a problem that was causing some problems with the deployment.
Please provide us some time to find the root cause.

Regards,

Hi @eden ,

Please try when you get a chance. I got an update from the team.

Regards,

Hi @eden

It appears the issue is resolved. I have managed to deploy a cluster just now using the Standard_D4s_v3

The instructions on the github page have been updated accordingly.

Hi,

How i can create a AZure Kubernetes cluster in Azure playground. I followed below article aslo but i cannot able to create AKS cluster. Please help us to rectify.

followed link : certified-kubernetes-administrator-course/managed-clusters/aks/console at master ¡ kodekloudhub/certified-kubernetes-administrator-course ¡ GitHub

Error

{“code”:“InvalidTemplateDeployment”,“details”:[{“code”:“RequestDisallowedByPolicy”,“target”:“kodekloud-demo”,“message”:“Resource ‘kodekloud-demo’ was disallowed by policy. (Code: RequestDisallowedByPolicy)”,“additionalInfo”:[{“type”:“PolicyViolation”,“info”:{“evaluationDetails”:{“evaluatedExpressions”:[{“result”:“False”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.Compute/virtualMachines”,“operator”:“Like”},{“result”:“False”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.Compute/sshPublicKeys”,“operator”:“Like”},{“result”:“False”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.Compute/virtualMachines/extensions”,“operator”:“Like”},{“result”:“False”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.Compute/virtualMachineScaleSets”,“operator”:“Like”},{“result”:“False”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.Network/applicationGateways”,“operator”:“Like”},{“result”:“False”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.Compute/disks”,“operator”:“Like”},{“result”:“False”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.Storage”,“operator”:“Like”},{“result”:“False”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.Network/networkInterfaces”,“operator”:“Like”},{“result”:“False”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.Network/networkSecurityGroups”,“operator”:“Like”},{“result”:“False”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.Network/publicIPAddresses”,“operator”:“Like”},{“result”:“False”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.Network/virtualNetworks”,“operator”:“Like”},{“result”:“False”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.DocumentDB/databaseAccounts”,“operator”:“Like”},{“result”:“False”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.Web/serverFarms”,“operator”:“Like”},{“result”:“False”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.Web/sites”,“operator”:“Like”},{“result”:“False”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.Sql/servers”,“operator”:“Like”},{“result”:“False”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.ManagedIdentity/userAssignedIdentities”,“operator”:“Like”},{“result”:“False”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.Network/loadBalancers”,“operator”:“Like”},{“result”:“False”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.Network/routeTables”,“operator”:“Like”},{“result”:“True”,“expressionKind”:“Field”,“expression”:“type”,“path”:“type”,“expressionValue”:“Microsoft.ContainerService/managedClusters”,“targetValue”:“Microsoft.ContainerService/managedClusters”,“operator”:“Equals”},{“result”:“False”,“expressionKind”:“Field”,“expression”:“Microsoft.ContainerService/managedClusters/agentPoolProfiles[].maxCount",“path”:"properties.agentPoolProfiles[].maxCount”,“expressionValue”:5,“targetValue”:2,“operator”:“LessOrEquals”}]},“policyDefinitionId”:“/subscriptions/a2b28c85-1948-4263-90ca-bade2bac4df4/providers/Microsoft.Authorization/policyDefinitions/kml_PolicyDefinition_main-0df473332a7848dc”,“policyDefinitionName”:“kml_PolicyDefinition_main-0df473332a7848dc”,“policyDefinitionDisplayName”:“kml_PolicyDefinition_main-0df473332a7848dc”,“policyDefinitionEffect”:“deny”,“policyAssignmentId”:“/subscriptions/a2b28c85-1948-4263-90ca-bade2bac4df4/resourceGroups/kml_rg_main-0df473332a7848dc/providers/Microsoft.Authorization/policyAssignments/kml_Policy_main-0df473332a7848dc”,“policyAssignmentName”:“kml_Policy_main-0df473332a7848dc”,“policyAssignmentScope”:“/subscriptions/a2b28c85-1948-4263-90ca-bade2bac4df4/resourceGroups/kml_rg_main-0df473332a7848dc”,“policyAssignmentParameters”:{},“policyExemptionIds”:[]}}],“policyDetails”:[{“isInitiative”:false,“assignmentId”:“/subscriptions/a2b28c85-1948-4263-90ca-bade2bac4df4/resourceGroups/kml_rg_main-0df473332a7848dc/providers/Microsoft.Authorization/policyAssignments/kml_Policy_main-0df473332a7848dc”,“assignmentName”:“kml_Policy_main-0df473332a7848dc”,“nonComplianceMessage”:null,“viewDetailsUri”:“Microsoft Azure template deployment failed because of policy violation. Please see details for more information.”}