No custom NSG rules for AKS managed NSGs

March 21, 2025 ยท View on GitHub

SYNOPSIS

AKS Network Security Group (NSG) should not have custom rules.

DESCRIPTION

AKS manages the Network Security Group (NSG) allocated to the cluster. There should be no custom rules added as it may cause conflicts, break the AKS cluster or have an unexpected result.

RECOMMENDATION

Do not create custom Network Security Group (NSG) rules for an AKS managed NSG.