Azure kubernetes service couse

Hi team,

Is there any labs in this course?

I heard that labs should be available.

Kind regards,

LuisR

We don’t use our hosted lab platform for this course, since we’re not integrated with the Azure platform the way we are for AWS. So you’ll use your own hardware to run a lot of these things, and your own Azure account for access.

1 Like

Hi @rob_kodekloud ,
Thanks for confirming,.

Right now you cannot create AKS cluster because of a recent policy change in Azure Playground.

{
    "status": "Failed",
    "error": {
        "code": "RequestDisallowedByPolicy",
        "message": "Code=\"RequestDisallowedByPolicy\" Message=\"Resource 'aks-agentpool-42925778-vmss' was disallowed by policy. Reasons: 'Allowed values – VMSS Name = 'app-scaleset' | Scaleset Maximum Count = 3\\n| Allowed SKUs: ['Standard_D2s_v3', 'Standard_K8S2_v1','Standard_K8S_v1','Standard_B2s', 'Standard_B1s', 'Standard_DS1_v2', 'Standard_B4ms']. Update configuration to comply.'. See error details for policy resource IDs.\" Target=\"aks-agentpool-42925778-vmss\" AdditionalInfo=[{\"info\":{\"evaluationDetails\":{\"evaluatedExpres",
        "details": [
            {
                "code": "RequestDisallowedByPolicy",
                "target": "aks-agentpool-42925778-vmss",
                "message": "Resource 'aks-agentpool-42925778-vmss' was disallowed by policy. Reasons: 'Allowed values – VMSS Name = 'app-scaleset' | Scaleset Maximum Count = 3\n| Allowed SKUs: ['Standard_D2s_v3', 'Standard_K8S2_v1','Standard_K8S_v1','Standard_B2s', 'Standard_B1s', 'Standard_DS1_v2', 'Standard_B4ms']. Update configuration to comply.'. See error details for policy resource IDs."
            }
        ]
    }
}

That’s a fairly detailed error message. Did you try switching to one of the suggested SKUs?

I am using one of the suggested SKUs (“Standard_D2s_v3”). The issue is with the VMSS (Virtual Machine Scale Set) name, as the policy requires it to be “app-scaleset”. However, the VMSS name for an agent pool is automatically generated by Azure based on the agent pool’s name. This new policy was recently applied by the KodeKloude team, as I was able to create AKS clusters without any issues until two days ago.

1 Like

I’ve added your issue into our tracking system. One thing to check if you haven’t already – make sure that what you’re doing matches our tutorial; this way, if the tutorial is broken vis a vis the current state of the playground, we can fix that as well.

1 Like

I have not tried to create a cluster in playground but ok, I will need to check. For EKS some of the things already are explained in EKS course and kubernetes courses.

It was fixed just a moment ago. I can now create AKS clusters again. Thank you guys.

I will check it out thanks for advicing @MohammadAlavi and @rob_kodekloud .