Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
vmss Microsoft.AKS billing extension (#3360)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrancis committed Jun 26, 2018
1 parent af25292 commit a8b0486
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions parts/k8s/kubernetesagentresourcesvmss.t
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,17 @@
"commandToExecute": "[concat(variables('provisionScriptParametersCommon'),' /usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/provision.sh >> /var/log/azure/cluster-provision.log 2>&1\"')]"
}
}
},
{
"name": "[concat(variables('{{.Name}}VMNamePrefix'), '-computeAksLinuxBilling')]",
"location": "[variables('location')]",
"properties": {
"publisher": "Microsoft.AKS",
"type": "Compute.AKS-Engine.Linux.Billing",
"typeHandlerVersion": "1.0",
"autoUpgradeMinorVersion": true,
"settings": {}
}
}
{{if UseManagedIdentity}}
,{
Expand Down
11 changes: 11 additions & 0 deletions parts/k8s/kuberneteswinagentresourcesvmss.t
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,17 @@
"commandToExecute": "[concat('powershell.exe -ExecutionPolicy Unrestricted -command \"', '$arguments = ', variables('singleQuote'),'-MasterIP ',variables('kubernetesAPIServerIP'),' -KubeDnsServiceIp ',variables('kubeDnsServiceIp'),' -MasterFQDNPrefix ',variables('masterFqdnPrefix'),' -Location ',variables('location'),' -AgentKey ',variables('clientPrivateKey'),' -AADClientId ',variables('servicePrincipalClientId'),' -AADClientSecret ',variables('servicePrincipalClientSecret'),variables('singleQuote'), ' ; ', variables('windowsCustomScriptSuffix'), '\" > %SYSTEMDRIVE%\\AzureData\\CustomDataSetupScript.log 2>&1')]"
}
}
},
{
"name": "[concat(variables('{{.Name}}VMNamePrefix'), '-computeAksLinuxBilling')]",
"location": "[variables('location')]",
"properties": {
"publisher": "Microsoft.AKS",
"type": "Compute.AKS-Engine.Windows.Billing",
"typeHandlerVersion": "1.0",
"autoUpgradeMinorVersion": true,
"settings": {}
}
}
{{if UseManagedIdentity}}
,{
Expand Down

0 comments on commit a8b0486

Please sign in to comment.