Skip to content

Use valid AKS cluster names#

Operational Excellence · Azure Kubernetes Service · Azure.AKS.Name

Azure Kubernetes Service (AKS) cluster names should meet naming requirements.

Description#

When naming Azure resources, resource names must meet service requirements. The requirements for AKS cluster names are:

  • Between 1 and 63 characters long.
  • Alphanumerics, underscores, and hyphens.
  • Start and end with alphanumeric.
  • Cluster names must be unique within a resource group.

Recommendation#

Consider using names that meet AKS cluster naming requirements. Additionally consider naming resources with a standard naming convention.

Notes#

This rule does not check if cluster names are unique.

Cluster DNS prefix has different naming requirements then cluster name. The requirements for DNS prefixes are:

  • Between 1 and 54 characters long.
  • Alphanumerics and hyphens.
  • Start and end with alphanumeric.

Last update: 2021-09-24