Azure Kubernettes Landing Zone

br/innofactor:avm/ptn/lz/aks:0.2.0

README

AKS Landing Zone [Lz/Aks]

Azure Kubernetes Service (AKS) Module

This module deploys an Azure Kubernetes Service (AKS) cluster with a system agent pool and an optional user agent pool. It also provisions related resources like Azure Container Registry (ACR) and Azure Key Vault for a complete AKS environment.

Features

  • AKS Cluster: Deploys an AKS cluster with customizable configuration.
  • System Node Pool: Configurable system node pool with preset sizing options.
  • User Node Pool (Optional): Additional user node pool with customizable settings.
  • Azure Container Registry (ACR): Deploys an ACR instance and configures AKS-ACR integration.
  • Azure Key Vault: Provisions a Key Vault for secrets management.
  • AAD Integration: Supports Azure Active Directory integration for AKS authentication.
  • Network Configuration: Configurable network plugin, policy, and CIDR ranges.
  • Monitoring: Integrates with Azure Monitor and Log Analytics.
  • Security Features: Supports RBAC, managed identities, and private clusters.

Default Configuration

  • AKS Cluster: Standard SKU with managed AAD integration.
  • System Node Pool: Standard preset size with 3 nodes across availability zones.
  • Network: Azure CNI network plugin with Azure network policy.
  • Security: RBAC enabled, local accounts disabled by default.
  • Add-ons: Azure Policy, OMS agent, and Azure KeyVault Secrets Provider enabled.

Customization

Users can customize various aspects including:

  • Node pool configurations (size, count, auto-scaling, etc.)
  • Networking settings (CIDR ranges, network plugin/policy)
  • AAD integration and RBAC settings
  • Addon enablement (HTTP application routing, ingress, etc.)
  • ACR SKU and access policies
  • Key Vault configuration and access policies

Usage

This module is designed for use with Azure Developer CLI (azd) workflows but can be adapted for standalone use. Refer to the parameter descriptions and examples for detailed configuration options.

Note: This module is tailored for the AZD CLI product and may not be suitable for generic use cases without modification.

Resource Types

Resource TypeAPI Version
Microsoft.Authorization/locks2020-05-01
Microsoft.Authorization/roleAssignments2022-04-01
Microsoft.ContainerRegistry/registries2023-06-01-preview
Microsoft.ContainerRegistry/registries/cacheRules2023-06-01-preview
Microsoft.ContainerRegistry/registries/credentialSets2023-11-01-preview
Microsoft.ContainerRegistry/registries/replications2023-06-01-preview
Microsoft.ContainerRegistry/registries/scopeMaps2023-06-01-preview
Microsoft.ContainerRegistry/registries/webhooks2023-06-01-preview
Microsoft.ContainerService/managedClusters2025-05-02-preview
Microsoft.ContainerService/managedClusters/agentPools2025-05-02-preview
Microsoft.ContainerService/managedClusters/maintenanceConfigurations2025-05-01
Microsoft.Insights/diagnosticSettings2021-05-01-preview
Microsoft.KeyVault/vaults2022-07-01
Microsoft.KeyVault/vaults/accessPolicies2022-07-01
Microsoft.KeyVault/vaults/keys2022-07-01
Microsoft.KeyVault/vaults/secrets2022-07-01
Microsoft.KubernetesConfiguration/extensions2024-11-01
Microsoft.KubernetesConfiguration/fluxConfigurations2025-04-01
Microsoft.ManagedIdentity/userAssignedIdentities2023-01-31
Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials2023-01-31
Microsoft.Network/privateEndpoints2023-11-01
Microsoft.Network/privateEndpoints/privateDnsZoneGroups2023-11-01

Usage examples

The following section provides usage examples for the module, which were used to validate and deploy the module successfully. For a full reference, please review the module’s test folder in its repository.

Note: Each example lists all the required parameters first, followed by the rest - each in alphabetical order.

Note: To reference the module, please use the following syntax br/innofactor:avm/ptn/lz/aks:<version>.

Example 1: AKS Landing Zone with default parameters

This module deploys an Azure Kubernetes Service (AKS) landing zone with default settings.

Default Configuration Analysis for AKS Landing Zone
Core Settings:

Target Scope : Subscription
Location : northeurope
Telemetry : Enabled by default

Resources Deployed

This module provisions the following resources:

  • Azure Kubernetes Service (AKS)

    • Configured with Azure Active Directory (AAD) integration
    • Role-based access control (RBAC) enabled
    • Network plugin set to azure
    • Network policy set to azure
    • Kubernetes version set to 1.29
    • Public Network Access enabled
    • AKS cluster SKU is set to standard
    • Load balancer SKU is set to standard
    • Agent Pool configuration with 3 nodes, VM size Standard_D2s_v2 and OS type Linux
  • Azure Container Registry

    • Used for container image storage
    • Standard SKU
  • Azure Key Vault

    • Used for storing secrets
    • Premium SKU
via Bicep module
module aks 'br/innofactor:avm/ptn/lz/aks:<version>' = {
  name: 'aksDeployment'
  params: {
    // Required parameters
    containerRegistryName: '<containerRegistryName>'
    keyVaultName: '<keyVaultName>'
    monitoringWorkspaceResourceId: '<monitoringWorkspaceResourceId>'
    name: '<name>'
    principalId: '<principalId>'
    // Non-required parameters
    aadProfile: {
      aadProfileEnableAzureRBAC: true
      aadProfileManaged: true
    }
    location: '<location>'
    principalType: 'ServicePrincipal'
  }
}

via JSON parameters file
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    // Required parameters
    "containerRegistryName": {
      "value": "<containerRegistryName>"
    },
    "keyVaultName": {
      "value": "<keyVaultName>"
    },
    "monitoringWorkspaceResourceId": {
      "value": "<monitoringWorkspaceResourceId>"
    },
    "name": {
      "value": "<name>"
    },
    "principalId": {
      "value": "<principalId>"
    },
    // Non-required parameters
    "aadProfile": {
      "value": {
        "aadProfileEnableAzureRBAC": true,
        "aadProfileManaged": true
      }
    },
    "location": {
      "value": "<location>"
    },
    "principalType": {
      "value": "ServicePrincipal"
    }
  }
}

via Bicep parameters file
using 'br/innofactor:avm/ptn/lz/aks:<version>'

// Required parameters
param containerRegistryName = '<containerRegistryName>'
param keyVaultName = '<keyVaultName>'
param monitoringWorkspaceResourceId = '<monitoringWorkspaceResourceId>'
param name = '<name>'
param principalId = '<principalId>'
// Non-required parameters
param aadProfile = {
  aadProfileEnableAzureRBAC: true
  aadProfileManaged: true
}
param location = '<location>'
param principalType = 'ServicePrincipal'

Example 2: AKS Landing Zone sing large parameter set

This module deploys an Azure Kubernetes Service (AKS) landing zone with a large parameter set.

Core Settings:

Target Scope : Subscription
Location : northeurope
Telemetry : Enabled by default

Resources Deployed

This module provisions the following resources:

  • Azure Kubernetes Service (AKS)

    • Configured with Azure Active Directory (AAD) integration
    • Role-based access control (RBAC) enabled
    • Integrated role assignments for secure access
    • Network plugin set to azure
    • Network policy set to azure
    • Web application routing enabled
    • dnsPrefix set to dep-${namePrefix}-dns-${serviceShort}
    • Kubernetes version set to 1.29
    • Public Network Access enabled
    • AKS cluster SKU is set to Free
    • Load balancer SKU is set to standard
    • Agent pool configuration
      • User pool: VM scale set, Standard_DS2_v2, maxPods 30, maxSurge 33%
      • System pool: 3 nodes, VM size Standard_DS2_v2, minCount 3, maxCount 5, enableAutoScaling true, availabilityZones 1, 2, 3
  • Azure Container Registry

    • Used for container image storage
    • Basic SKU
    • Integrated role assignments for secure access
  • Azure Key Vault

    • Used for storing secrets
    • Premium SKU
via Bicep module
module aks 'br/innofactor:avm/ptn/lz/aks:<version>' = {
  name: 'aksDeployment'
  params: {
    // Required parameters
    containerRegistryName: '<containerRegistryName>'
    keyVaultName: '<keyVaultName>'
    monitoringWorkspaceResourceId: '<monitoringWorkspaceResourceId>'
    name: '<name>'
    principalId: '<principalId>'
    // Non-required parameters
    aadProfile: '<aadProfile>'
    acrSku: 'Basic'
    agentPoolConfig: [
      {
        maxPods: 30
        maxSurge: '33%'
        mode: 'User'
        name: 'npuserpool'
        osType: 'Linux'
        type: 'VirtualMachineScaleSets'
        vmSize: 'Standard_DS2_v2'
      }
    ]
    agentPoolSize: 'Standard'
    aksClusterRoleAssignmentName: '<aksClusterRoleAssignmentName>'
    containerRegistryRoleName: '<containerRegistryRoleName>'
    disableLocalAccounts: false
    dnsPrefix: 'dep-dns-paamax'
    location: '<location>'
    principalType: 'ServicePrincipal'
    skuTier: 'Free'
    systemPoolConfig: [
      {
        availabilityZones: [
          1
          2
          3
        ]
        count: 3
        enableAutoScaling: true
        maxCount: 5
        minCount: 3
        mode: 'System'
        name: 'npsystem'
        vmSize: 'Standard_DS2_v2'
      }
    ]
    webApplicationRoutingEnabled: true
  }
}

via JSON parameters file
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    // Required parameters
    "containerRegistryName": {
      "value": "<containerRegistryName>"
    },
    "keyVaultName": {
      "value": "<keyVaultName>"
    },
    "monitoringWorkspaceResourceId": {
      "value": "<monitoringWorkspaceResourceId>"
    },
    "name": {
      "value": "<name>"
    },
    "principalId": {
      "value": "<principalId>"
    },
    // Non-required parameters
    "aadProfile": {
      "value": "<aadProfile>"
    },
    "acrSku": {
      "value": "Basic"
    },
    "agentPoolConfig": {
      "value": [
        {
          "maxPods": 30,
          "maxSurge": "33%",
          "mode": "User",
          "name": "npuserpool",
          "osType": "Linux",
          "type": "VirtualMachineScaleSets",
          "vmSize": "Standard_DS2_v2"
        }
      ]
    },
    "agentPoolSize": {
      "value": "Standard"
    },
    "aksClusterRoleAssignmentName": {
      "value": "<aksClusterRoleAssignmentName>"
    },
    "containerRegistryRoleName": {
      "value": "<containerRegistryRoleName>"
    },
    "disableLocalAccounts": {
      "value": false
    },
    "dnsPrefix": {
      "value": "dep-dns-paamax"
    },
    "location": {
      "value": "<location>"
    },
    "principalType": {
      "value": "ServicePrincipal"
    },
    "skuTier": {
      "value": "Free"
    },
    "systemPoolConfig": {
      "value": [
        {
          "availabilityZones": [
            1,
            2,
            3
          ],
          "count": 3,
          "enableAutoScaling": true,
          "maxCount": 5,
          "minCount": 3,
          "mode": "System",
          "name": "npsystem",
          "vmSize": "Standard_DS2_v2"
        }
      ]
    },
    "webApplicationRoutingEnabled": {
      "value": true
    }
  }
}

via Bicep parameters file
using 'br/innofactor:avm/ptn/lz/aks:<version>'

// Required parameters
param containerRegistryName = '<containerRegistryName>'
param keyVaultName = '<keyVaultName>'
param monitoringWorkspaceResourceId = '<monitoringWorkspaceResourceId>'
param name = '<name>'
param principalId = '<principalId>'
// Non-required parameters
param aadProfile = '<aadProfile>'
param acrSku = 'Basic'
param agentPoolConfig = [
  {
    maxPods: 30
    maxSurge: '33%'
    mode: 'User'
    name: 'npuserpool'
    osType: 'Linux'
    type: 'VirtualMachineScaleSets'
    vmSize: 'Standard_DS2_v2'
  }
]
param agentPoolSize = 'Standard'
param aksClusterRoleAssignmentName = '<aksClusterRoleAssignmentName>'
param containerRegistryRoleName = '<containerRegistryRoleName>'
param disableLocalAccounts = false
param dnsPrefix = 'dep-dns-paamax'
param location = '<location>'
param principalType = 'ServicePrincipal'
param skuTier = 'Free'
param systemPoolConfig = [
  {
    availabilityZones: [
      1
      2
      3
    ]
    count: 3
    enableAutoScaling: true
    maxCount: 5
    minCount: 3
    mode: 'System'
    name: 'npsystem'
    vmSize: 'Standard_DS2_v2'
  }
]
param webApplicationRoutingEnabled = true

Example 3: WAF aligned AKS Landing Zone

This module deploys an WAF aligned Azure Kubernetes Service (AKS) landing zone.

Core Settings:

Target Scope : Subscription
Location : northeurope
Telemetry : Enabled by default

Resources Deployed

This module provisions the following resources:

  • Azure Kubernetes Service (AKS)

    • Configured with Azure Active Directory (AAD) integration
    • Role-based access control (RBAC) enabled
    • Integrated role assignments for secure access
    • Network plugin set to azure
    • Network policy set to azure
    • Web application routing enabled
    • dnsPrefix set to dep-${namePrefix}-dns-${serviceShort}
    • Kubernetes version set to 1.29
    • Public Network Access enabled
    • AKS cluster SKU is set to Standard
    • Load balancer SKU is set to standard
    • Agent pool configuration
      • User pool: VM scale set, Standard_DS2_v2, maxPods 30, maxSurge 33%
      • System pool: 3 nodes, VM size Standard_DS2_v2, minCount 3, maxCount 5, enableAutoScaling true, availabilityZones 1, 2, 3
  • Azure Container Registry

    • Used for container image storage
    • Standard SKU
    • Integrated role assignments for secure access
  • Azure Key Vault

    • Used for storing secrets
    • Premium SKU
Resource Dependencies

The following diagram illustrates the dependencies between the resources deployed by this module:

graph TD;

    subgraph Subscription
        RG["Resource Group"]
        ACR["Azure Container Registry"]
        Lock["Resource Lock (Optional)"]
        Identity["Managed Identity (Optional)"]
    end

    subgraph Security
        RBAC["Role Assignments (RBAC)"]
        PrivateEndpoint["Private Endpoint (Optional)"]
        KeyVault["Key Vault (CMK) (Optional)"]
    end

    subgraph Policies
        RetentionPolicy["Retention Policy"]
        TrustPolicy["Trust Policy (Optional)"]
        SoftDelete["Soft Delete Policy (Optional)"]
        Quarantine["Quarantine Policy (Optional)"]
    end

    subgraph Networking
        PublicAccess["Public Network Access (Configurable)"]
        NetworkRules["Network Rules (Optional)"]
    end

    subgraph Monitoring
        Diagnostics["Diagnostic Settings (Optional)"]
        Telemetry["Telemetry (Optional)"]
    end

    subgraph Replication
        GeoReplication["Geo-Replication (Optional)"]
    end


    RG -->|Contains| ACR
    ACR -->|Can be locked by| Lock
    ACR -->|Uses| Identity
    ACR -->|Has| RBAC
    ACR -->|Can use| PrivateEndpoint
    PrivateEndpoint -->|Can be secured with| NetworkRules
    ACR -->|Can use| KeyVault
    KeyVault -->|Manages encryption| ACR
    ACR -->|Applies| RetentionPolicy
    ACR -->|Applies| TrustPolicy
    ACR -->|Uses| SoftDelete
    ACR -->|Uses| Quarantine
    ACR -->|Has| PublicAccess
    ACR -->|Can apply| NetworkRules
    ACR -->|Uses| Diagnostics
    ACR -->|Can collect| Telemetry
    ACR -->|Can replicate| GeoReplication
via Bicep module
module aks 'br/innofactor:avm/ptn/lz/aks:<version>' = {
  name: 'aksDeployment'
  params: {
    // Required parameters
    containerRegistryName: '<containerRegistryName>'
    keyVaultName: '<keyVaultName>'
    monitoringWorkspaceResourceId: '<monitoringWorkspaceResourceId>'
    name: '<name>'
    principalId: '<principalId>'
    // Non-required parameters
    aadProfile: {
      aadProfileEnableAzureRBAC: true
      aadProfileManaged: true
    }
    acrPublicNetworkAccess: 'Disabled'
    acrReplications: [
      {
        location: 'westeurope'
        name: 'westeurope'
      }
    ]
    acrSku: 'Premium'
    agentPoolConfig: [
      {
        count: 3
        enableAutoScaling: true
        maxCount: 5
        maxPods: 30
        maxSurge: '33%'
        minCount: 3
        mode: 'User'
        name: 'npuserpool'
        osType: 'Linux'
        type: 'VirtualMachineScaleSets'
        vmSize: 'Standard_DS2_v2'
      }
    ]
    agentPoolSize: 'Standard'
    aksClusterRoleAssignmentName: '<aksClusterRoleAssignmentName>'
    containerRegistryRoleName: '<containerRegistryRoleName>'
    disableLocalAccounts: false
    dnsPrefix: 'dep-dns-paawaf'
    location: '<location>'
    principalType: 'ServicePrincipal'
    skuTier: 'Standard'
    systemPoolConfig: [
      {
        availabilityZones: [
          1
          2
          3
        ]
        count: 3
        enableAutoScaling: true
        maxCount: 5
        minCount: 3
        mode: 'System'
        name: 'npsystem'
        vmSize: 'Standard_DS2_v2'
      }
    ]
    webApplicationRoutingEnabled: true
  }
}

via JSON parameters file
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    // Required parameters
    "containerRegistryName": {
      "value": "<containerRegistryName>"
    },
    "keyVaultName": {
      "value": "<keyVaultName>"
    },
    "monitoringWorkspaceResourceId": {
      "value": "<monitoringWorkspaceResourceId>"
    },
    "name": {
      "value": "<name>"
    },
    "principalId": {
      "value": "<principalId>"
    },
    // Non-required parameters
    "aadProfile": {
      "value": {
        "aadProfileEnableAzureRBAC": true,
        "aadProfileManaged": true
      }
    },
    "acrPublicNetworkAccess": {
      "value": "Disabled"
    },
    "acrReplications": {
      "value": [
        {
          "location": "westeurope",
          "name": "westeurope"
        }
      ]
    },
    "acrSku": {
      "value": "Premium"
    },
    "agentPoolConfig": {
      "value": [
        {
          "count": 3,
          "enableAutoScaling": true,
          "maxCount": 5,
          "maxPods": 30,
          "maxSurge": "33%",
          "minCount": 3,
          "mode": "User",
          "name": "npuserpool",
          "osType": "Linux",
          "type": "VirtualMachineScaleSets",
          "vmSize": "Standard_DS2_v2"
        }
      ]
    },
    "agentPoolSize": {
      "value": "Standard"
    },
    "aksClusterRoleAssignmentName": {
      "value": "<aksClusterRoleAssignmentName>"
    },
    "containerRegistryRoleName": {
      "value": "<containerRegistryRoleName>"
    },
    "disableLocalAccounts": {
      "value": false
    },
    "dnsPrefix": {
      "value": "dep-dns-paawaf"
    },
    "location": {
      "value": "<location>"
    },
    "principalType": {
      "value": "ServicePrincipal"
    },
    "skuTier": {
      "value": "Standard"
    },
    "systemPoolConfig": {
      "value": [
        {
          "availabilityZones": [
            1,
            2,
            3
          ],
          "count": 3,
          "enableAutoScaling": true,
          "maxCount": 5,
          "minCount": 3,
          "mode": "System",
          "name": "npsystem",
          "vmSize": "Standard_DS2_v2"
        }
      ]
    },
    "webApplicationRoutingEnabled": {
      "value": true
    }
  }
}

via Bicep parameters file
using 'br/innofactor:avm/ptn/lz/aks:<version>'

// Required parameters
param containerRegistryName = '<containerRegistryName>'
param keyVaultName = '<keyVaultName>'
param monitoringWorkspaceResourceId = '<monitoringWorkspaceResourceId>'
param name = '<name>'
param principalId = '<principalId>'
// Non-required parameters
param aadProfile = {
  aadProfileEnableAzureRBAC: true
  aadProfileManaged: true
}
param acrPublicNetworkAccess = 'Disabled'
param acrReplications = [
  {
    location: 'westeurope'
    name: 'westeurope'
  }
]
param acrSku = 'Premium'
param agentPoolConfig = [
  {
    count: 3
    enableAutoScaling: true
    maxCount: 5
    maxPods: 30
    maxSurge: '33%'
    minCount: 3
    mode: 'User'
    name: 'npuserpool'
    osType: 'Linux'
    type: 'VirtualMachineScaleSets'
    vmSize: 'Standard_DS2_v2'
  }
]
param agentPoolSize = 'Standard'
param aksClusterRoleAssignmentName = '<aksClusterRoleAssignmentName>'
param containerRegistryRoleName = '<containerRegistryRoleName>'
param disableLocalAccounts = false
param dnsPrefix = 'dep-dns-paawaf'
param location = '<location>'
param principalType = 'ServicePrincipal'
param skuTier = 'Standard'
param systemPoolConfig = [
  {
    availabilityZones: [
      1
      2
      3
    ]
    count: 3
    enableAutoScaling: true
    maxCount: 5
    minCount: 3
    mode: 'System'
    name: 'npsystem'
    vmSize: 'Standard_DS2_v2'
  }
]
param webApplicationRoutingEnabled = true

Parameters

Required parameters

ParameterTypeDescription
containerRegistryNamestringName of your Azure Container Registry.
keyVaultNamestringName of the Key Vault. Must be globally unique.
monitoringWorkspaceResourceIdstringResource ID of the monitoring log analytics workspace.
namestringThe name of the parent managed cluster. Required if the template is used in a standalone deployment.
principalIdstringId of the user or app to assign application roles.

Conditional parameters

ParameterTypeDescription
appGatewayResourceIdstringSpecifies the resource ID of connected application gateway. Required if ingressApplicationGatewayEnabled is set to true.

Optional parameters

ParameterTypeDescription
aadProfileobjectEnable Azure Active Directory integration.
acrPublicNetworkAccessstringWhether public network access is allowed for the container registry only. Defaults to the value of publicNetworkAccess. Disabling it requires the acrSku to be Premium.
acrReplicationsarrayGeo-replications of the container registry. Requires the acrSku to be Premium. Each entry needs a name and a location that differs from the registry location.
acrSkustringTier of your Azure container registry.
agentPoolConfigarrayCustom configuration of user node pool.
agentPoolSizestringThe User Pool Preset sizing.
aksClusterRoleAssignmentNamestringThe name (as GUID) of the role assignment. If not provided, a GUID will be generated.
autoNodeOsUpgradeProfileUpgradeChannelstringAuto-upgrade channel on the Node Os.
containerRegistryRoleNamestringThe name (as GUID) of the role assignment. If not provided, a GUID will be generated.
disableLocalAccountsboolIf set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled.
dnsPrefixstringSpecifies the DNS prefix specified when creating the managed cluster.
dnsServiceIPstringSpecifies the IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
enableAzureRbacboolEnable RBAC using AAD.
enableKeyvaultSecretsProviderboolSpecifies whether the KeyvaultSecretsProvider add-on is enabled or not.
enablePurgeProtectionboolProvide ’true’ to enable Key Vault’s purge protection feature.
enableRbacAuthorizationboolProperty that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be ignored. When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. Note that management actions are always authorized with RBAC.
enableTelemetryboolEnable/Disable usage telemetry for module.
enableVaultForDeploymentboolSpecifies if the vault is enabled for deployment by script or compute.
enableVaultForTemplateDeploymentboolSpecifies if the vault is enabled for a template deployment.
kubernetesVersionstringKubernetes Version.
loadBalancerSkustringSpecifies the sku of the load balancer used by the virtual machine scale sets used by nodepools.
locationstringSpecifies the location of AKS cluster. It picks up Resource Group’s location by default.
managedIdentityResourceIdstringThe resource ID of an existing User Assigned Identity to use for the AKS Control Plane, requires RBAC assignments to be done outside of this template.
networkDataplanestringNetwork dataplane used in the Kubernetes cluster. Not compatible with kubenet network plugin.
networkPluginstringNetwork plugin used for building the Kubernetes network.
networkPluginModestringNetwork plugin mode used for building the Kubernetes network. Not compatible with kubenet network plugin.
networkPolicystringSpecifies the network policy used for building Kubernetes network. - calico or azure.
nodeResourceGroupNamestringThe name of the resource group for the managed resources of the AKS cluster.
podCidrstringSpecifies the CIDR notation IP range from which to assign pod IPs when kubenet is used.
principalTypestringThe type of principal to assign application roles.
publicNetworkAccessstringWhether or not public network access is allowed for this resource. For security reasons it should be disabled. If not specified, it will be disabled by default if private endpoints are set and networkRuleSetIpRules are not set. Note, requires the ‘acrSku’ to be ‘Premium’.
scopeMapsarrayScope maps setting.
serviceCidrstringA CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
skuTierstringTier of a managed cluster SKU.
sshPublicKeystringSpecifies the SSH RSA public key string for the Linux nodes.
systemPoolConfigarrayCustom configuration of system node pool.
systemPoolSizestringThe System Pool Preset sizing.
tagsobjectCustom tags to apply to the AKS resources.
webApplicationRoutingEnabledboolSpecifies whether the webApplicationRoutingEnabled add-on is enabled or not.
Parameter: containerRegistryName

Name of your Azure Container Registry.

  • Required: Yes
  • Type: string
Parameter: keyVaultName

Name of the Key Vault. Must be globally unique.

  • Required: Yes
  • Type: string
Parameter: monitoringWorkspaceResourceId

Resource ID of the monitoring log analytics workspace.

  • Required: Yes
  • Type: string
Parameter: name

The name of the parent managed cluster. Required if the template is used in a standalone deployment.

  • Required: Yes
  • Type: string
Parameter: principalId

Id of the user or app to assign application roles.

  • Required: Yes
  • Type: string
Parameter: appGatewayResourceId

Specifies the resource ID of connected application gateway. Required if ingressApplicationGatewayEnabled is set to true.

  • Required: No
  • Type: string
Parameter: aadProfile

Enable Azure Active Directory integration.

  • Required: No
  • Type: object

Required parameters

ParameterTypeDescription
aadProfileEnableAzureRBACboolSpecifies whether to enable Azure RBAC for Kubernetes authorization.
aadProfileManagedboolSpecifies whether to enable managed AAD integration.

Optional parameters

ParameterTypeDescription
aadProfileAdminGroupObjectIDsarraySpecifies the AAD group object IDs that will have admin role of the cluster.
aadProfileClientAppIDstringThe client AAD application ID.
aadProfileServerAppIDstringThe server AAD application ID.
aadProfileServerAppSecretstringThe server AAD application secret.
aadProfileTenantIdstringSpecifies the tenant ID of the Azure Active Directory used by the AKS cluster for authentication.
Parameter: aadProfile.aadProfileEnableAzureRBAC

Specifies whether to enable Azure RBAC for Kubernetes authorization.

  • Required: Yes
  • Type: bool
Parameter: aadProfile.aadProfileManaged

Specifies whether to enable managed AAD integration.

  • Required: Yes
  • Type: bool
Parameter: aadProfile.aadProfileAdminGroupObjectIDs

Specifies the AAD group object IDs that will have admin role of the cluster.

  • Required: No
  • Type: array
Parameter: aadProfile.aadProfileClientAppID

The client AAD application ID.

  • Required: No
  • Type: string
Parameter: aadProfile.aadProfileServerAppID

The server AAD application ID.

  • Required: No
  • Type: string
Parameter: aadProfile.aadProfileServerAppSecret

The server AAD application secret.

  • Required: No
  • Type: string
Parameter: aadProfile.aadProfileTenantId

Specifies the tenant ID of the Azure Active Directory used by the AKS cluster for authentication.

  • Required: No
  • Type: string
Parameter: acrPublicNetworkAccess

Whether public network access is allowed for the container registry only. Defaults to the value of publicNetworkAccess. Disabling it requires the acrSku to be Premium.

  • Required: No
  • Type: string
  • Allowed:
    [
      'Disabled'
      'Enabled'
    ]
Parameter: acrReplications

Geo-replications of the container registry. Requires the acrSku to be Premium. Each entry needs a name and a location that differs from the registry location.

  • Required: No
  • Type: array
Parameter: acrSku

Tier of your Azure container registry.

  • Required: No
  • Type: string
  • Default: 'Standard'
  • Allowed:
    [
      'Basic'
      'Premium'
      'Standard'
    ]
Parameter: agentPoolConfig

Custom configuration of user node pool.

  • Required: No
  • Type: array

Required parameters

ParameterTypeDescription
namestringThe name of the agent pool.

Optional parameters

ParameterTypeDescription
availabilityZonesarrayThe availability zones of the agent pool.
countintThe number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive).
enableAutoScalingboolWhether to enable auto-scaling for the agent pool.
enableDefaultTelemetryboolThe enable default telemetry of the agent pool.
enableEncryptionAtHostboolWhether to enable encryption at host for the agent pool.
enableFIPSboolWhether to enable FIPS for the agent pool.
enableNodePublicIPboolWhether to enable node public IP for the agent pool.
enableSecureBootboolSecure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch.
enableUltraSSDboolWhether to enable Ultra SSD for the agent pool.
enableVTPMboolvTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch.
gpuInstanceProfilestringThe GPU instance profile of the agent pool.
kubeletDiskTypestringThe kubelet disk type of the agent pool.
linuxOSConfigobjectThe Linux OS configuration of the agent pool.
maxCountintThe maximum number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive).
maxPodsintThe maximum number of pods that can run on a node.
maxSurgestringThe maximum number of nodes that can be created during an upgrade.
minCountintThe minimum number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive).
minPodsintThe minimum number of pods that can run on a node.
modestringThe mode of the agent pool.
nodeLabelsobjectThe node labels of the agent pool.
nodePublicIpPrefixResourceIdstringThe node public IP prefix ID of the agent pool.
nodeTaintsarrayThe node taints of the agent pool.
orchestratorVersionstringThe Kubernetes version of the agent pool.
osDiskSizeGBintThe OS disk size in GB of the agent pool.
osDiskTypestringThe OS disk type of the agent pool.
osSKUstringThe OS SKU of the agent pool.
osTypestringThe OS type of the agent pool.
podSubnetResourceIdstringThe pod subnet ID of the agent pool.
proximityPlacementGroupResourceIdstringThe proximity placement group resource ID of the agent pool.
scaleDownModestringThe scale down mode of the agent pool.
scaleSetEvictionPolicystringThe scale set eviction policy of the agent pool.
scaleSetPrioritystringThe scale set priority of the agent pool.
sourceResourceIdstringThe source resource ID to create the agent pool from.
spotMaxPriceintThe spot max price of the agent pool.
sshAccessstringSSH access method of an agent pool.
tagsobjectThe tags of the agent pool.
typestringThe type of the agent pool.
vmSizestringThe VM size of the agent pool.
vnetSubnetResourceIdstringThe VNet subnet ID of the agent pool.
windowsProfileobjectThe Windows profile of the agent pool.
workloadRuntimestringThe workload runtime of the agent pool.
Parameter: agentPoolConfig.name

The name of the agent pool.

  • Required: Yes
  • Type: string
Parameter: agentPoolConfig.availabilityZones

The availability zones of the agent pool.

  • Required: No
  • Type: array
Parameter: agentPoolConfig.count

The number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive).

  • Required: No
  • Type: int
Parameter: agentPoolConfig.enableAutoScaling

Whether to enable auto-scaling for the agent pool.

  • Required: No
  • Type: bool
Parameter: agentPoolConfig.enableDefaultTelemetry

The enable default telemetry of the agent pool.

  • Required: No
  • Type: bool
Parameter: agentPoolConfig.enableEncryptionAtHost

Whether to enable encryption at host for the agent pool.

  • Required: No
  • Type: bool
Parameter: agentPoolConfig.enableFIPS

Whether to enable FIPS for the agent pool.

  • Required: No
  • Type: bool
Parameter: agentPoolConfig.enableNodePublicIP

Whether to enable node public IP for the agent pool.

  • Required: No
  • Type: bool
Parameter: agentPoolConfig.enableSecureBoot

Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch.

  • Required: No
  • Type: bool
Parameter: agentPoolConfig.enableUltraSSD

Whether to enable Ultra SSD for the agent pool.

  • Required: No
  • Type: bool
Parameter: agentPoolConfig.enableVTPM

vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch.

  • Required: No
  • Type: bool
Parameter: agentPoolConfig.gpuInstanceProfile

The GPU instance profile of the agent pool.

  • Required: No
  • Type: string
  • Allowed:
    [
      'MIG1g'
      'MIG2g'
      'MIG3g'
      'MIG4g'
      'MIG7g'
    ]
Parameter: agentPoolConfig.kubeletDiskType

The kubelet disk type of the agent pool.

  • Required: No
  • Type: string
Parameter: agentPoolConfig.linuxOSConfig

The Linux OS configuration of the agent pool.

  • Required: No
  • Type: object
Parameter: agentPoolConfig.maxCount

The maximum number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive).

  • Required: No
  • Type: int
Parameter: agentPoolConfig.maxPods

The maximum number of pods that can run on a node.

  • Required: No
  • Type: int
Parameter: agentPoolConfig.maxSurge

The maximum number of nodes that can be created during an upgrade.

  • Required: No
  • Type: string
Parameter: agentPoolConfig.minCount

The minimum number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive).

  • Required: No
  • Type: int
Parameter: agentPoolConfig.minPods

The minimum number of pods that can run on a node.

  • Required: No
  • Type: int
Parameter: agentPoolConfig.mode

The mode of the agent pool.

  • Required: No
  • Type: string
  • Allowed:
    [
      'System'
      'User'
    ]
Parameter: agentPoolConfig.nodeLabels

The node labels of the agent pool.

  • Required: No
  • Type: object
Parameter: agentPoolConfig.nodePublicIpPrefixResourceId

The node public IP prefix ID of the agent pool.

  • Required: No
  • Type: string
Parameter: agentPoolConfig.nodeTaints

The node taints of the agent pool.

  • Required: No
  • Type: array
Parameter: agentPoolConfig.orchestratorVersion

The Kubernetes version of the agent pool.

  • Required: No
  • Type: string
Parameter: agentPoolConfig.osDiskSizeGB

The OS disk size in GB of the agent pool.

  • Required: No
  • Type: int
Parameter: agentPoolConfig.osDiskType

The OS disk type of the agent pool.

  • Required: No
  • Type: string
Parameter: agentPoolConfig.osSKU

The OS SKU of the agent pool.

  • Required: No
  • Type: string
Parameter: agentPoolConfig.osType

The OS type of the agent pool.

  • Required: No
  • Type: string
  • Allowed:
    [
      'Linux'
      'Windows'
    ]
Parameter: agentPoolConfig.podSubnetResourceId

The pod subnet ID of the agent pool.

  • Required: No
  • Type: string
Parameter: agentPoolConfig.proximityPlacementGroupResourceId

The proximity placement group resource ID of the agent pool.

  • Required: No
  • Type: string
Parameter: agentPoolConfig.scaleDownMode

The scale down mode of the agent pool.

  • Required: No
  • Type: string
  • Allowed:
    [
      'Deallocate'
      'Delete'
    ]
Parameter: agentPoolConfig.scaleSetEvictionPolicy

The scale set eviction policy of the agent pool.

  • Required: No
  • Type: string
  • Allowed:
    [
      'Deallocate'
      'Delete'
    ]
Parameter: agentPoolConfig.scaleSetPriority

The scale set priority of the agent pool.

  • Required: No
  • Type: string
  • Allowed:
    [
      'Low'
      'Regular'
      'Spot'
    ]
Parameter: agentPoolConfig.sourceResourceId

The source resource ID to create the agent pool from.

  • Required: No
  • Type: string
Parameter: agentPoolConfig.spotMaxPrice

The spot max price of the agent pool.

  • Required: No
  • Type: int
Parameter: agentPoolConfig.sshAccess

SSH access method of an agent pool.

  • Required: No
  • Type: string
  • Allowed:
    [
      'Disabled'
      'LocalUser'
    ]
Parameter: agentPoolConfig.tags

The tags of the agent pool.

  • Required: No
  • Type: object
Parameter: agentPoolConfig.type

The type of the agent pool.

  • Required: No
  • Type: string
  • Allowed:
    [
      'AvailabilitySet'
      'VirtualMachineScaleSets'
    ]
Parameter: agentPoolConfig.vmSize

The VM size of the agent pool.

  • Required: No
  • Type: string
Parameter: agentPoolConfig.vnetSubnetResourceId

The VNet subnet ID of the agent pool.

  • Required: No
  • Type: string
Parameter: agentPoolConfig.windowsProfile

The Windows profile of the agent pool.

  • Required: No
  • Type: object
Parameter: agentPoolConfig.workloadRuntime

The workload runtime of the agent pool.

  • Required: No
  • Type: string
Parameter: agentPoolSize

The User Pool Preset sizing.

  • Required: No
  • Type: string
  • Default: ''
  • Allowed:
    [
      ''
      'CostOptimised'
      'Custom'
      'HighSpec'
      'Standard'
    ]
Parameter: aksClusterRoleAssignmentName

The name (as GUID) of the role assignment. If not provided, a GUID will be generated.

  • Required: No
  • Type: string
Parameter: autoNodeOsUpgradeProfileUpgradeChannel

Auto-upgrade channel on the Node Os.

  • Required: No
  • Type: string
  • Default: 'NodeImage'
  • Allowed:
    [
      'NodeImage'
      'None'
      'SecurityPatch'
      'Unmanaged'
    ]
Parameter: containerRegistryRoleName

The name (as GUID) of the role assignment. If not provided, a GUID will be generated.

  • Required: No
  • Type: string
Parameter: disableLocalAccounts

If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled.

  • Required: No
  • Type: bool
  • Default: True
Parameter: dnsPrefix

Specifies the DNS prefix specified when creating the managed cluster.

  • Required: No
  • Type: string
  • Default: [parameters('name')]
Parameter: dnsServiceIP

Specifies the IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.

  • Required: No
  • Type: string
Parameter: enableAzureRbac

Enable RBAC using AAD.

  • Required: No
  • Type: bool
  • Default: False
Parameter: enableKeyvaultSecretsProvider

Specifies whether the KeyvaultSecretsProvider add-on is enabled or not.

  • Required: No
  • Type: bool
  • Default: True
Parameter: enablePurgeProtection

Provide ’true’ to enable Key Vault’s purge protection feature.

  • Required: No
  • Type: bool
  • Default: False
Parameter: enableRbacAuthorization

Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be ignored. When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. Note that management actions are always authorized with RBAC.

  • Required: No
  • Type: bool
  • Default: False
Parameter: enableTelemetry

Enable/Disable usage telemetry for module.

  • Required: No
  • Type: bool
  • Default: True
Parameter: enableVaultForDeployment

Specifies if the vault is enabled for deployment by script or compute.

  • Required: No
  • Type: bool
  • Default: False
Parameter: enableVaultForTemplateDeployment

Specifies if the vault is enabled for a template deployment.

  • Required: No
  • Type: bool
  • Default: False
Parameter: kubernetesVersion

Kubernetes Version.

  • Required: No
  • Type: string
  • Default: '1.34'
Parameter: loadBalancerSku

Specifies the sku of the load balancer used by the virtual machine scale sets used by nodepools.

  • Required: No
  • Type: string
  • Default: 'standard'
  • Allowed:
    [
      'basic'
      'standard'
    ]
Parameter: location

Specifies the location of AKS cluster. It picks up Resource Group’s location by default.

  • Required: No
  • Type: string
  • Default: [resourceGroup().location]
Parameter: managedIdentityResourceId

The resource ID of an existing User Assigned Identity to use for the AKS Control Plane, requires RBAC assignments to be done outside of this template.

  • Required: No
  • Type: string
  • Default: ''
Parameter: networkDataplane

Network dataplane used in the Kubernetes cluster. Not compatible with kubenet network plugin.

  • Required: No
  • Type: string
  • Allowed:
    [
      'azure'
      'cilium'
    ]
Parameter: networkPlugin

Network plugin used for building the Kubernetes network.

  • Required: No
  • Type: string
  • Default: 'azure'
  • Allowed:
    [
      'azure'
      'kubenet'
    ]
Parameter: networkPluginMode

Network plugin mode used for building the Kubernetes network. Not compatible with kubenet network plugin.

  • Required: No
  • Type: string
  • Allowed:
    [
      'overlay'
    ]
Parameter: networkPolicy

Specifies the network policy used for building Kubernetes network. - calico or azure.

  • Required: No
  • Type: string
  • Default: 'azure'
  • Allowed:
    [
      'azure'
      'calico'
    ]
Parameter: nodeResourceGroupName

The name of the resource group for the managed resources of the AKS cluster.

  • Required: No
  • Type: string
  • Default: [format('rg-mc-{0}', parameters('name'))]
Parameter: podCidr

Specifies the CIDR notation IP range from which to assign pod IPs when kubenet is used.

  • Required: No
  • Type: string
Parameter: principalType

The type of principal to assign application roles.

  • Required: No
  • Type: string
  • Default: 'User'
  • Allowed:
    [
      'Device'
      'ForeignGroup'
      'Group'
      'ServicePrincipal'
      'User'
    ]
Parameter: publicNetworkAccess

Whether or not public network access is allowed for this resource. For security reasons it should be disabled. If not specified, it will be disabled by default if private endpoints are set and networkRuleSetIpRules are not set. Note, requires the ‘acrSku’ to be ‘Premium’.

  • Required: No
  • Type: string
  • Default: 'Enabled'
  • Allowed:
    [
      'Disabled'
      'Enabled'
    ]
Parameter: scopeMaps

Scope maps setting.

  • Required: No
  • Type: array

Required parameters

ParameterTypeDescription
actionsarrayThe list of scoped permissions for registry artifacts.

Optional parameters

ParameterTypeDescription
descriptionstringThe user friendly description of the scope map.
namestringThe name of the scope map.
Parameter: scopeMaps.actions

The list of scoped permissions for registry artifacts.

  • Required: Yes
  • Type: array
Parameter: scopeMaps.description

The user friendly description of the scope map.

  • Required: No
  • Type: string
Parameter: scopeMaps.name

The name of the scope map.

  • Required: No
  • Type: string
Parameter: serviceCidr

A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.

  • Required: No
  • Type: string
Parameter: skuTier

Tier of a managed cluster SKU.

  • Required: No
  • Type: string
  • Default: 'Standard'
  • Allowed:
    [
      'Free'
      'Premium'
      'Standard'
    ]
Parameter: sshPublicKey

Specifies the SSH RSA public key string for the Linux nodes.

  • Required: No
  • Type: string
Parameter: systemPoolConfig

Custom configuration of system node pool.

  • Required: No
  • Type: array

Required parameters

ParameterTypeDescription
namestringThe name of the agent pool.

Optional parameters

ParameterTypeDescription
availabilityZonesarrayThe availability zones of the agent pool.
countintThe number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive).
enableAutoScalingboolWhether to enable auto-scaling for the agent pool.
enableDefaultTelemetryboolThe enable default telemetry of the agent pool.
enableEncryptionAtHostboolWhether to enable encryption at host for the agent pool.
enableFIPSboolWhether to enable FIPS for the agent pool.
enableNodePublicIPboolWhether to enable node public IP for the agent pool.
enableSecureBootboolSecure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch.
enableUltraSSDboolWhether to enable Ultra SSD for the agent pool.
enableVTPMboolvTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch.
gpuInstanceProfilestringThe GPU instance profile of the agent pool.
kubeletDiskTypestringThe kubelet disk type of the agent pool.
linuxOSConfigobjectThe Linux OS configuration of the agent pool.
maxCountintThe maximum number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive).
maxPodsintThe maximum number of pods that can run on a node.
maxSurgestringThe maximum number of nodes that can be created during an upgrade.
minCountintThe minimum number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive).
minPodsintThe minimum number of pods that can run on a node.
modestringThe mode of the agent pool.
nodeLabelsobjectThe node labels of the agent pool.
nodePublicIpPrefixResourceIdstringThe node public IP prefix ID of the agent pool.
nodeTaintsarrayThe node taints of the agent pool.
orchestratorVersionstringThe Kubernetes version of the agent pool.
osDiskSizeGBintThe OS disk size in GB of the agent pool.
osDiskTypestringThe OS disk type of the agent pool.
osSKUstringThe OS SKU of the agent pool.
osTypestringThe OS type of the agent pool.
podSubnetResourceIdstringThe pod subnet ID of the agent pool.
proximityPlacementGroupResourceIdstringThe proximity placement group resource ID of the agent pool.
scaleDownModestringThe scale down mode of the agent pool.
scaleSetEvictionPolicystringThe scale set eviction policy of the agent pool.
scaleSetPrioritystringThe scale set priority of the agent pool.
sourceResourceIdstringThe source resource ID to create the agent pool from.
spotMaxPriceintThe spot max price of the agent pool.
sshAccessstringSSH access method of an agent pool.
tagsobjectThe tags of the agent pool.
typestringThe type of the agent pool.
vmSizestringThe VM size of the agent pool.
vnetSubnetResourceIdstringThe VNet subnet ID of the agent pool.
windowsProfileobjectThe Windows profile of the agent pool.
workloadRuntimestringThe workload runtime of the agent pool.
Parameter: systemPoolConfig.name

The name of the agent pool.

  • Required: Yes
  • Type: string
Parameter: systemPoolConfig.availabilityZones

The availability zones of the agent pool.

  • Required: No
  • Type: array
Parameter: systemPoolConfig.count

The number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive).

  • Required: No
  • Type: int
Parameter: systemPoolConfig.enableAutoScaling

Whether to enable auto-scaling for the agent pool.

  • Required: No
  • Type: bool
Parameter: systemPoolConfig.enableDefaultTelemetry

The enable default telemetry of the agent pool.

  • Required: No
  • Type: bool
Parameter: systemPoolConfig.enableEncryptionAtHost

Whether to enable encryption at host for the agent pool.

  • Required: No
  • Type: bool
Parameter: systemPoolConfig.enableFIPS

Whether to enable FIPS for the agent pool.

  • Required: No
  • Type: bool
Parameter: systemPoolConfig.enableNodePublicIP

Whether to enable node public IP for the agent pool.

  • Required: No
  • Type: bool
Parameter: systemPoolConfig.enableSecureBoot

Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch.

  • Required: No
  • Type: bool
Parameter: systemPoolConfig.enableUltraSSD

Whether to enable Ultra SSD for the agent pool.

  • Required: No
  • Type: bool
Parameter: systemPoolConfig.enableVTPM

vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch.

  • Required: No
  • Type: bool
Parameter: systemPoolConfig.gpuInstanceProfile

The GPU instance profile of the agent pool.

  • Required: No
  • Type: string
  • Allowed:
    [
      'MIG1g'
      'MIG2g'
      'MIG3g'
      'MIG4g'
      'MIG7g'
    ]
Parameter: systemPoolConfig.kubeletDiskType

The kubelet disk type of the agent pool.

  • Required: No
  • Type: string
Parameter: systemPoolConfig.linuxOSConfig

The Linux OS configuration of the agent pool.

  • Required: No
  • Type: object
Parameter: systemPoolConfig.maxCount

The maximum number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive).

  • Required: No
  • Type: int
Parameter: systemPoolConfig.maxPods

The maximum number of pods that can run on a node.

  • Required: No
  • Type: int
Parameter: systemPoolConfig.maxSurge

The maximum number of nodes that can be created during an upgrade.

  • Required: No
  • Type: string
Parameter: systemPoolConfig.minCount

The minimum number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive).

  • Required: No
  • Type: int
Parameter: systemPoolConfig.minPods

The minimum number of pods that can run on a node.

  • Required: No
  • Type: int
Parameter: systemPoolConfig.mode

The mode of the agent pool.

  • Required: No
  • Type: string
  • Allowed:
    [
      'System'
      'User'
    ]
Parameter: systemPoolConfig.nodeLabels

The node labels of the agent pool.

  • Required: No
  • Type: object
Parameter: systemPoolConfig.nodePublicIpPrefixResourceId

The node public IP prefix ID of the agent pool.

  • Required: No
  • Type: string
Parameter: systemPoolConfig.nodeTaints

The node taints of the agent pool.

  • Required: No
  • Type: array
Parameter: systemPoolConfig.orchestratorVersion

The Kubernetes version of the agent pool.

  • Required: No
  • Type: string
Parameter: systemPoolConfig.osDiskSizeGB

The OS disk size in GB of the agent pool.

  • Required: No
  • Type: int
Parameter: systemPoolConfig.osDiskType

The OS disk type of the agent pool.

  • Required: No
  • Type: string
Parameter: systemPoolConfig.osSKU

The OS SKU of the agent pool.

  • Required: No
  • Type: string
Parameter: systemPoolConfig.osType

The OS type of the agent pool.

  • Required: No
  • Type: string
  • Allowed:
    [
      'Linux'
      'Windows'
    ]
Parameter: systemPoolConfig.podSubnetResourceId

The pod subnet ID of the agent pool.

  • Required: No
  • Type: string
Parameter: systemPoolConfig.proximityPlacementGroupResourceId

The proximity placement group resource ID of the agent pool.

  • Required: No
  • Type: string
Parameter: systemPoolConfig.scaleDownMode

The scale down mode of the agent pool.

  • Required: No
  • Type: string
  • Allowed:
    [
      'Deallocate'
      'Delete'
    ]
Parameter: systemPoolConfig.scaleSetEvictionPolicy

The scale set eviction policy of the agent pool.

  • Required: No
  • Type: string
  • Allowed:
    [
      'Deallocate'
      'Delete'
    ]
Parameter: systemPoolConfig.scaleSetPriority

The scale set priority of the agent pool.

  • Required: No
  • Type: string
  • Allowed:
    [
      'Low'
      'Regular'
      'Spot'
    ]
Parameter: systemPoolConfig.sourceResourceId

The source resource ID to create the agent pool from.

  • Required: No
  • Type: string
Parameter: systemPoolConfig.spotMaxPrice

The spot max price of the agent pool.

  • Required: No
  • Type: int
Parameter: systemPoolConfig.sshAccess

SSH access method of an agent pool.

  • Required: No
  • Type: string
  • Allowed:
    [
      'Disabled'
      'LocalUser'
    ]
Parameter: systemPoolConfig.tags

The tags of the agent pool.

  • Required: No
  • Type: object
Parameter: systemPoolConfig.type

The type of the agent pool.

  • Required: No
  • Type: string
  • Allowed:
    [
      'AvailabilitySet'
      'VirtualMachineScaleSets'
    ]
Parameter: systemPoolConfig.vmSize

The VM size of the agent pool.

  • Required: No
  • Type: string
Parameter: systemPoolConfig.vnetSubnetResourceId

The VNet subnet ID of the agent pool.

  • Required: No
  • Type: string
Parameter: systemPoolConfig.windowsProfile

The Windows profile of the agent pool.

  • Required: No
  • Type: object
Parameter: systemPoolConfig.workloadRuntime

The workload runtime of the agent pool.

  • Required: No
  • Type: string
Parameter: systemPoolSize

The System Pool Preset sizing.

  • Required: No
  • Type: string
  • Default: 'Standard'
  • Allowed:
    [
      'CostOptimised'
      'Custom'
      'HighSpec'
      'Standard'
    ]
Parameter: tags

Custom tags to apply to the AKS resources.

  • Required: No
  • Type: object
  • Default: {}
Parameter: webApplicationRoutingEnabled

Specifies whether the webApplicationRoutingEnabled add-on is enabled or not.

  • Required: No
  • Type: bool
  • Default: True

Outputs

OutputTypeDescription
containerRegistryLoginServerstringThe login server for the container registry.
containerRegistryNamestringThe resource name of the ACR.
managedClusterClientIdstringThe Client ID of the AKS identity.
managedClusterNamestringThe resource name of the AKS cluster.
managedClusterObjectIdstringThe Object ID of the AKS identity.
managedClusterResourceIdstringThe resource ID of the AKS cluster.
managedIdentityClientIdstringThe client ID of the managed identity used by the AKS cluster.
managedIdentityPrincipalIdstringThe principal ID of the managed identity used by the AKS cluster.
managedIdentityResourceIdstringThe resource ID of the managed identity used by the AKS cluster.
resourceGroupNamestringThe resource group the application insights components were deployed into.

Cross-referenced modules

This section gives you an overview of all local-referenced module files (i.e., other modules that are referenced in this module) and all remote-referenced files (i.e., Bicep modules that are referenced from a Bicep Registry or Template Specs).

ReferenceType
br/public:avm/res/container-registry/registry:0.5.1Remote reference
br/public:avm/res/container-service/managed-cluster:0.11.1Remote reference
br/public:avm/res/key-vault/vault:0.9.0Remote reference
br/public:avm/res/managed-identity/user-assigned-identity:0.4.0Remote reference

Data Collection

The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft’s privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.

Changelog

Changelog

0.2.0

Changes
  • Added the acrReplications parameter for geo-replication of the container registry (default: none). It requires a Premium registry SKU.
  • Added the acrPublicNetworkAccess parameter to control public access of the registry on its own. It defaults to publicNetworkAccess, so the cluster API server can stay reachable while the registry is private.
  • The waf-aligned test deploys a Premium registry with a geo-replica and public access disabled, which satisfies the PSRule WAF Reliability rules.
  • Regenerated main.json and README.md with Bicep 0.49.2 so that they match main.bicep (#206).
  • Released by the hardened pipeline: published only when main.json changes, release tag created after a successful publish, GitHub Release per tag (ADR 0004, ADR 0003, ADR 0005).
Breaking Changes
  • None. The new parameters default to the previous behaviour.

0.1.3

Changes
  • Republished without a change to the module. At the time the pipeline published a new patch version on every successful run, see ADR 0004.
Breaking Changes
  • None

0.1.2

Changes
  • Republished without a change to the module. At the time the pipeline published a new patch version on every successful run, see ADR 0004.
Breaking Changes
  • None

0.1.1

Changes
  • Republished without a change to the module. At the time the pipeline published a new patch version on every successful run, see ADR 0004.
Breaking Changes
  • None

0.1.0

Changes
  • AKS MVP Scaffolding (#128)
Breaking Changes
  • None

Version history

VersionPublished
0.2.02026-11-16
0.1.32025-04-01
0.1.22025-03-31
0.1.12025-03-16
0.1.02025-03-11