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.â}