Skip to content

Commit

Permalink
added pricing tier
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveen Angali authored and Naveen Angali committed May 23, 2024
1 parent bdd28f3 commit b44f6ab
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 2 deletions.
10 changes: 9 additions & 1 deletion Azure-ARM/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@
"AuthenticationType":{
"type": "string"
},
"PricingTier":{
"type": "string"
},
"InfraAdminAccount":{
"type": "string"
},
Expand Down Expand Up @@ -208,6 +211,7 @@
"KubernetesLinuxNodeCount": "[int(parameters('KubernetesLinuxNodeCount'))]",
"KubernetesLinuxNodeSize": "[parameters('KubernetesLinuxNodeSize')]",
"AuthenticationType": "[parameters('AuthenticationType')]",
"PricingTier": "[parameters('PricingTier')]",
"InfraAdminAccount": "[parameters('InfraAdminAccount')]",
"KubernetesWindowsNodeCount": "[int(parameters('KubernetesWindowsNodeCount'))]",
"KubernetesWindowsNodeSize": "[parameters('KubernetesWindowsNodeSize')]",
Expand Down Expand Up @@ -503,7 +507,7 @@
"dependsOn": ["[resourceId('Microsoft.Resources/deploymentScripts', 'PreReqChecks')]"],
"sku": {
"name": "Base",
"tier": "Free"
"tier": "[variables('PricingTier')]"
},
"properties": {
"kubernetesVersion": "[variables('KubernetesVersion')]",
Expand Down Expand Up @@ -823,6 +827,10 @@
"name": "AUTHENTICATIONTYPE",
"value": "[variables('AuthenticationType')]"
},
{
"name": "PRICINGTIER",
"value": "[variables('PricingTier')]"
},
{
"name": "INFRAADMINACCOUNT",
"value": "[variables('InfraAdminAccount')]"
Expand Down
3 changes: 3 additions & 0 deletions Azure-ARM/azuredeploy.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@
},
"InfraAdminAccount":{
"value": ""
},
"PricingTier":{
"value": ""
}
}
}
28 changes: 27 additions & 1 deletion Azure-ARM/createUIDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,31 @@
},
"visible": true
},
{
"name": "PricingTier",
"type": "Microsoft.Common.OptionsGroup",
"label": "Pricing tiers for Azure Kubernetes Service",
"defaultValue": "Local Accounts with Kubernetes RBAC",
"toolTip": "AKS offers two pricing tiers for the managed Kubernetes control plane. Choose the pricing tier that best meets your needs.",
"constraints": {
"allowedValues": [
{
"label": "Free tier",
"value": "Free"
},
{
"label": "Standard tier",
"value": "Standard"
},
{
"label": "Premium tier",
"value": "Premium"
}
],
"required": true
},
"visible": true
},
{
"name": "AuthenticationType",
"type": "Microsoft.Common.OptionsGroup",
Expand All @@ -414,7 +439,7 @@
"required": true
},
"visible": true
},
},
{
"name": "KubernetesLinuxNodeSizeSection",
"type": "Microsoft.Common.Section",
Expand Down Expand Up @@ -1023,6 +1048,7 @@
"KubernetesWindowsNodeSize": "[steps('kubernetes').KubernetesWindowsNodeSizeSection.KubernetesWindowsNodeSize]",
"KubernetesWindowsNodeCount": "[steps('kubernetes').KubernetesWindowsNodeCount]",
"AuthenticationType": "[steps('kubernetes').AuthenticationType]",
"PricingTier": "[steps('kubernetes').PricingTier]",
"KubernetesVnetName": "[steps('kubernetes').KubernetesAdvanced.KubernetesVnetName.name]",
"KubernetesVnetResourceGroup": "[steps('kubernetes').KubernetesAdvanced.KubernetesVnetName.resourceGroup]",
"KubernetesSubnetName": "[steps('kubernetes').KubernetesAdvanced.KubernetesVnetName.subnets.subnet1.name]",
Expand Down

0 comments on commit b44f6ab

Please sign in to comment.