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.
Navigation
- Features
- Default Configuration
- Customization
- Usage
- Resource Types
- Usage examples
- Parameters
- Outputs
- Cross-referenced modules
- Data Collection
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 Type | API Version |
|---|---|
Microsoft.Authorization/locks | 2020-05-01 |
Microsoft.Authorization/roleAssignments | 2022-04-01 |
Microsoft.ContainerRegistry/registries | 2023-06-01-preview |
Microsoft.ContainerRegistry/registries/cacheRules | 2023-06-01-preview |
Microsoft.ContainerRegistry/registries/credentialSets | 2023-11-01-preview |
Microsoft.ContainerRegistry/registries/replications | 2023-06-01-preview |
Microsoft.ContainerRegistry/registries/scopeMaps | 2023-06-01-preview |
Microsoft.ContainerRegistry/registries/webhooks | 2023-06-01-preview |
Microsoft.ContainerService/managedClusters | 2025-05-02-preview |
Microsoft.ContainerService/managedClusters/agentPools | 2025-05-02-preview |
Microsoft.ContainerService/managedClusters/maintenanceConfigurations | 2025-05-01 |
Microsoft.Insights/diagnosticSettings | 2021-05-01-preview |
Microsoft.KeyVault/vaults | 2022-07-01 |
Microsoft.KeyVault/vaults/accessPolicies | 2022-07-01 |
Microsoft.KeyVault/vaults/keys | 2022-07-01 |
Microsoft.KeyVault/vaults/secrets | 2022-07-01 |
Microsoft.KubernetesConfiguration/extensions | 2024-11-01 |
Microsoft.KubernetesConfiguration/fluxConfigurations | 2025-04-01 |
Microsoft.ManagedIdentity/userAssignedIdentities | 2023-01-31 |
Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials | 2023-01-31 |
Microsoft.Network/privateEndpoints | 2023-11-01 |
Microsoft.Network/privateEndpoints/privateDnsZoneGroups | 2023-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>.
- AKS Landing Zone with default parameters
- AKS Landing Zone sing large parameter set
- WAF aligned AKS Landing Zone
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| GeoReplicationvia 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
| Parameter | Type | Description |
|---|---|---|
containerRegistryName | string | Name of your Azure Container Registry. |
keyVaultName | string | Name of the Key Vault. Must be globally unique. |
monitoringWorkspaceResourceId | string | Resource ID of the monitoring log analytics workspace. |
name | string | The name of the parent managed cluster. Required if the template is used in a standalone deployment. |
principalId | string | Id of the user or app to assign application roles. |
Conditional parameters
| Parameter | Type | Description |
|---|---|---|
appGatewayResourceId | string | Specifies the resource ID of connected application gateway. Required if ingressApplicationGatewayEnabled is set to true. |
Optional parameters
| Parameter | Type | Description |
|---|---|---|
aadProfile | object | Enable Azure Active Directory integration. |
acrPublicNetworkAccess | string | 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. |
acrReplications | array | 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. |
acrSku | string | Tier of your Azure container registry. |
agentPoolConfig | array | Custom configuration of user node pool. |
agentPoolSize | string | The User Pool Preset sizing. |
aksClusterRoleAssignmentName | string | The name (as GUID) of the role assignment. If not provided, a GUID will be generated. |
autoNodeOsUpgradeProfileUpgradeChannel | string | Auto-upgrade channel on the Node Os. |
containerRegistryRoleName | string | The name (as GUID) of the role assignment. If not provided, a GUID will be generated. |
disableLocalAccounts | bool | 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. |
dnsPrefix | string | Specifies the DNS prefix specified when creating the managed cluster. |
dnsServiceIP | string | Specifies the IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. |
enableAzureRbac | bool | Enable RBAC using AAD. |
enableKeyvaultSecretsProvider | bool | Specifies whether the KeyvaultSecretsProvider add-on is enabled or not. |
enablePurgeProtection | bool | Provide ’true’ to enable Key Vault’s purge protection feature. |
enableRbacAuthorization | bool | 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. |
enableTelemetry | bool | Enable/Disable usage telemetry for module. |
enableVaultForDeployment | bool | Specifies if the vault is enabled for deployment by script or compute. |
enableVaultForTemplateDeployment | bool | Specifies if the vault is enabled for a template deployment. |
kubernetesVersion | string | Kubernetes Version. |
loadBalancerSku | string | Specifies the sku of the load balancer used by the virtual machine scale sets used by nodepools. |
location | string | Specifies the location of AKS cluster. It picks up Resource Group’s location by default. |
managedIdentityResourceId | string | 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. |
networkDataplane | string | Network dataplane used in the Kubernetes cluster. Not compatible with kubenet network plugin. |
networkPlugin | string | Network plugin used for building the Kubernetes network. |
networkPluginMode | string | Network plugin mode used for building the Kubernetes network. Not compatible with kubenet network plugin. |
networkPolicy | string | Specifies the network policy used for building Kubernetes network. - calico or azure. |
nodeResourceGroupName | string | The name of the resource group for the managed resources of the AKS cluster. |
podCidr | string | Specifies the CIDR notation IP range from which to assign pod IPs when kubenet is used. |
principalType | string | The type of principal to assign application roles. |
publicNetworkAccess | string | 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’. |
scopeMaps | array | Scope maps setting. |
serviceCidr | string | A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. |
skuTier | string | Tier of a managed cluster SKU. |
sshPublicKey | string | Specifies the SSH RSA public key string for the Linux nodes. |
systemPoolConfig | array | Custom configuration of system node pool. |
systemPoolSize | string | The System Pool Preset sizing. |
tags | object | Custom tags to apply to the AKS resources. |
webApplicationRoutingEnabled | bool | Specifies 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
| Parameter | Type | Description |
|---|---|---|
aadProfileEnableAzureRBAC | bool | Specifies whether to enable Azure RBAC for Kubernetes authorization. |
aadProfileManaged | bool | Specifies whether to enable managed AAD integration. |
Optional parameters
| Parameter | Type | Description |
|---|---|---|
aadProfileAdminGroupObjectIDs | array | Specifies the AAD group object IDs that will have admin role of the cluster. |
aadProfileClientAppID | string | The client AAD application ID. |
aadProfileServerAppID | string | The server AAD application ID. |
aadProfileServerAppSecret | string | The server AAD application secret. |
aadProfileTenantId | string | Specifies 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
| Parameter | Type | Description |
|---|---|---|
name | string | The name of the agent pool. |
Optional parameters
| Parameter | Type | Description |
|---|---|---|
availabilityZones | array | The availability zones of the agent pool. |
count | int | The number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). |
enableAutoScaling | bool | Whether to enable auto-scaling for the agent pool. |
enableDefaultTelemetry | bool | The enable default telemetry of the agent pool. |
enableEncryptionAtHost | bool | Whether to enable encryption at host for the agent pool. |
enableFIPS | bool | Whether to enable FIPS for the agent pool. |
enableNodePublicIP | bool | Whether to enable node public IP for the agent pool. |
enableSecureBoot | bool | 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. |
enableUltraSSD | bool | Whether to enable Ultra SSD for the agent pool. |
enableVTPM | bool | 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. |
gpuInstanceProfile | string | The GPU instance profile of the agent pool. |
kubeletDiskType | string | The kubelet disk type of the agent pool. |
linuxOSConfig | object | The Linux OS configuration of the agent pool. |
maxCount | int | The maximum number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). |
maxPods | int | The maximum number of pods that can run on a node. |
maxSurge | string | The maximum number of nodes that can be created during an upgrade. |
minCount | int | The minimum number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). |
minPods | int | The minimum number of pods that can run on a node. |
mode | string | The mode of the agent pool. |
nodeLabels | object | The node labels of the agent pool. |
nodePublicIpPrefixResourceId | string | The node public IP prefix ID of the agent pool. |
nodeTaints | array | The node taints of the agent pool. |
orchestratorVersion | string | The Kubernetes version of the agent pool. |
osDiskSizeGB | int | The OS disk size in GB of the agent pool. |
osDiskType | string | The OS disk type of the agent pool. |
osSKU | string | The OS SKU of the agent pool. |
osType | string | The OS type of the agent pool. |
podSubnetResourceId | string | The pod subnet ID of the agent pool. |
proximityPlacementGroupResourceId | string | The proximity placement group resource ID of the agent pool. |
scaleDownMode | string | The scale down mode of the agent pool. |
scaleSetEvictionPolicy | string | The scale set eviction policy of the agent pool. |
scaleSetPriority | string | The scale set priority of the agent pool. |
sourceResourceId | string | The source resource ID to create the agent pool from. |
spotMaxPrice | int | The spot max price of the agent pool. |
sshAccess | string | SSH access method of an agent pool. |
tags | object | The tags of the agent pool. |
type | string | The type of the agent pool. |
vmSize | string | The VM size of the agent pool. |
vnetSubnetResourceId | string | The VNet subnet ID of the agent pool. |
windowsProfile | object | The Windows profile of the agent pool. |
workloadRuntime | string | The 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
| Parameter | Type | Description |
|---|---|---|
actions | array | The list of scoped permissions for registry artifacts. |
Optional parameters
| Parameter | Type | Description |
|---|---|---|
description | string | The user friendly description of the scope map. |
name | string | The 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
| Parameter | Type | Description |
|---|---|---|
name | string | The name of the agent pool. |
Optional parameters
| Parameter | Type | Description |
|---|---|---|
availabilityZones | array | The availability zones of the agent pool. |
count | int | The number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). |
enableAutoScaling | bool | Whether to enable auto-scaling for the agent pool. |
enableDefaultTelemetry | bool | The enable default telemetry of the agent pool. |
enableEncryptionAtHost | bool | Whether to enable encryption at host for the agent pool. |
enableFIPS | bool | Whether to enable FIPS for the agent pool. |
enableNodePublicIP | bool | Whether to enable node public IP for the agent pool. |
enableSecureBoot | bool | 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. |
enableUltraSSD | bool | Whether to enable Ultra SSD for the agent pool. |
enableVTPM | bool | 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. |
gpuInstanceProfile | string | The GPU instance profile of the agent pool. |
kubeletDiskType | string | The kubelet disk type of the agent pool. |
linuxOSConfig | object | The Linux OS configuration of the agent pool. |
maxCount | int | The maximum number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). |
maxPods | int | The maximum number of pods that can run on a node. |
maxSurge | string | The maximum number of nodes that can be created during an upgrade. |
minCount | int | The minimum number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). |
minPods | int | The minimum number of pods that can run on a node. |
mode | string | The mode of the agent pool. |
nodeLabels | object | The node labels of the agent pool. |
nodePublicIpPrefixResourceId | string | The node public IP prefix ID of the agent pool. |
nodeTaints | array | The node taints of the agent pool. |
orchestratorVersion | string | The Kubernetes version of the agent pool. |
osDiskSizeGB | int | The OS disk size in GB of the agent pool. |
osDiskType | string | The OS disk type of the agent pool. |
osSKU | string | The OS SKU of the agent pool. |
osType | string | The OS type of the agent pool. |
podSubnetResourceId | string | The pod subnet ID of the agent pool. |
proximityPlacementGroupResourceId | string | The proximity placement group resource ID of the agent pool. |
scaleDownMode | string | The scale down mode of the agent pool. |
scaleSetEvictionPolicy | string | The scale set eviction policy of the agent pool. |
scaleSetPriority | string | The scale set priority of the agent pool. |
sourceResourceId | string | The source resource ID to create the agent pool from. |
spotMaxPrice | int | The spot max price of the agent pool. |
sshAccess | string | SSH access method of an agent pool. |
tags | object | The tags of the agent pool. |
type | string | The type of the agent pool. |
vmSize | string | The VM size of the agent pool. |
vnetSubnetResourceId | string | The VNet subnet ID of the agent pool. |
windowsProfile | object | The Windows profile of the agent pool. |
workloadRuntime | string | The 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
| Output | Type | Description |
|---|---|---|
containerRegistryLoginServer | string | The login server for the container registry. |
containerRegistryName | string | The resource name of the ACR. |
managedClusterClientId | string | The Client ID of the AKS identity. |
managedClusterName | string | The resource name of the AKS cluster. |
managedClusterObjectId | string | The Object ID of the AKS identity. |
managedClusterResourceId | string | The resource ID of the AKS cluster. |
managedIdentityClientId | string | The client ID of the managed identity used by the AKS cluster. |
managedIdentityPrincipalId | string | The principal ID of the managed identity used by the AKS cluster. |
managedIdentityResourceId | string | The resource ID of the managed identity used by the AKS cluster. |
resourceGroupName | string | The 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).
| Reference | Type |
|---|---|
br/public:avm/res/container-registry/registry:0.5.1 | Remote reference |
br/public:avm/res/container-service/managed-cluster:0.11.1 | Remote reference |
br/public:avm/res/key-vault/vault:0.9.0 | Remote reference |
br/public:avm/res/managed-identity/user-assigned-identity:0.4.0 | Remote 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
acrReplicationsparameter for geo-replication of the container registry (default: none). It requires a Premium registry SKU. - Added the
acrPublicNetworkAccessparameter to control public access of the registry on its own. It defaults topublicNetworkAccess, 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.jsonandREADME.mdwith Bicep 0.49.2 so that they matchmain.bicep(#206). - Released by the hardened pipeline: published only when
main.jsonchanges, 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
| Version | Published |
|---|---|
0.2.0 | 2026-11-16 |
0.1.3 | 2025-04-01 |
0.1.2 | 2025-03-31 |
0.1.1 | 2025-03-16 |
0.1.0 | 2025-03-11 |