Azure / PSRule.Rules.Azure

Rules to validate Azure resources and infrastructure as code (IaC) using PSRule.
https://azure.github.io/PSRule.Rules.Azure/
MIT License
386 stars 84 forks source link

[RULE] Update AKS tier to Standard #2911

Closed jeanchg closed 3 months ago

jeanchg commented 3 months ago

Existing rule

No response

Suggested rule

As per APRL recommendation, Production AKS clusters require the Standard tier for a financially backed SLA and enhanced node scalability, as the free service lacks these features.

Resource Type: microsoft.compute/managedclusters Properties and expected values: sku.tier != "Standard"

Pillar

Reliability

Additional context

Free, Standard and Premium pricing tiers for Azure Kubernetes Service (AKS) cluster management Kubernetes API Server SLA

BenjaminEngeset commented 3 months ago

@jeanchg

It appears there is already a rule that addresses this requirement.

You can refer to the documentation here: https://azure.github.io/PSRule.Rules.Azure/en/rules/Azure.AKS.UptimeSLA

However, it might be beneficial to review the existing rule and update the documentation.

jeanchg commented 3 months ago

My bad, thank you @BenjaminEngeset !

BernieWhite commented 3 months ago

Sounds like we're good to close this one. Let me know if there is another reason to keep this open.