Шаблоны краткого руководства по Azure сейчас доступны на английском языке
This creates a new AKS Cluster and then deploy SQL Server always on availability groups into it using a CNAB Package deployed using Duffle and ACI
Этот шаблон Azure Resource Manager (ARM) был создан участником сообщества, а не Майкрософт. Каждый шаблон ARM лицензирован для вас в соответствии с условиями лицензионного соглашения с владельцем, а не с Майкрософт. Майкрософт не несет ответственности за шаблоны ARM, предоставленные и лицензированные членами сообщества, и не отслеживает их безопасности, совместимости или производительности. Шаблоны ARM, созданные сообществом, не поддерживаются ни в соответствии с какой-либо программой поддержки Майкрософт, ни какими-либо службами поддержки Майкрософт и предоставляются КАК ЕСТЬ без каких-либо гарантий.
Параметры
Имя параметра | Описание |
---|---|
aks_cluster_name | The name to use for the AKS Cluster. |
aks_resource_group | The name of the resource group to create the AKS Cluster in. |
azure_client_id | AAD Client ID for Azure account authentication - used to authenticate to Azure using Service Principal for ACI creation to run CNAB operation and also for AKS Cluster. |
azure_client_secret | AAD Client Secret for Azure account authentication - used to authenticate to Azure using Service Principal for ACI creation to run CNAB operation and also for AKS Cluster. |
cnab_action | The name of the action to be performed on the application instance. |
cnab_installation_name | The name of the application instance. |
cnab_state_share_name | The file share name in the storage account for the CNAB state to be stored in |
cnab_state_storage_account_key | The storage account key for the account for the CNAB state to be stored in, if this is left blank it will be looked up at runtime |
cnab_state_storage_account_name | The storage account name for the account for the CNAB state to be stored in, by default this will be in the current resource group and will be created if it does not exist |
cnab_state_storage_account_resource_group | The resource group name for the storage account for the CNAB state to be stored in, by default this will be in the current resource group, if this is changed to a different resource group the storage account is expected to already exist |
containerGroupName | Name for the container group |
containerName | Name for the container |
location | The location in which the resources will be created. |
sql_masterkeypassword | The Password for the SQL Server Master Key. |
sql_sapassword | The Password for the sa user in SQL Server. |
Использование шаблона
PowerShell
New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deploymentУстановка и настройка служб Azure PowerShell
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/application-workloads/sql/aks-sql-server-always-on/azuredeploy.json
Командная строка
az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deploymentУстановка и настройка кросс-платформенного интерфейса командной стройки Azure
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/application-workloads/sql/aks-sql-server-always-on/azuredeploy.json