Skip to content

Use valid AKS cluster names#

Operational Excellence · Azure Kubernetes Service · Rule · 2020_06 · Awareness

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.

Comments