The Azure Quickstart templates are currently available in English
Openshift Container Platform 4.3
Этот шаблон Azure Resource Manager (ARM) был создан участником сообщества, а не Майкрософт. Каждый шаблон ARM лицензирован для вас в соответствии с условиями лицензионного соглашения с владельцем, а не с Майкрософт. Майкрософт не несет ответственности за шаблоны ARM, предоставленные и лицензированные членами сообщества, и не отслеживает их безопасности, совместимости или производительности. Шаблоны ARM, созданные сообществом, не поддерживаются ни в соответствии с какой-либо программой поддержки Майкрософт, ни какими-либо службами поддержки Майкрософт и предоставляются КАК ЕСТЬ без каких-либо гарантий.
Параметры
Имя параметра | Описание |
---|---|
_artifactsLocation | The base URL where artifacts required by this template are located. When the template is deployed using the accompanying scripts, a private location in the subscription will be used and this value will be automatically generated. |
_artifactsLocationSasToken | Token for the base URL where artifacts required by this template are located. When the template is deployed using the accompanying scripts, a private location in the subscription will be used and this value will be automatically generated. |
location | Region where the resources should be created in |
clusterName | Cluster resources prefix |
dnsZone | Domain name created with the App Service |
dnsZoneRG | Resource Group that contains the domain name |
fipsEnabled | Enable FIPS encryption |
privateOrPublicEndpoints | Public or private facing endpoints |
newOrExistingNetwork | Deploy in new cluster or in existing cluster. If existing cluster, make sure the new resources are in the same zone |
existingVnetResourceGroupName | Resource Group for Existing Vnet. |
virtualNetworkName | Name of new or existing virtual network |
virtualNetworkCIDR | VNet Address Prefix. Minimum address prefix is /16 |
masterSubnetName | Name of new or existing master subnet |
masterSubnetPrefix | Master subnet address prefix |
workerSubnetName | Name of new or existing worker subnet |
workerSubnetPrefix | Worker subnet address prefix |
bastionSubnetName | Name of new or existing bastion subnet |
bastionSubnetPrefix | Worker subnet address prefix |
singleZoneOrMultiZone | Deploy to a Single AZ or multiple AZs |
bastionVmSize | Bastion Host VM size. Use VMs with Premium Storage support only. |
masterVmSize | OpenShift Master VM size. Use VMs with Premium Storage support only. |
workerVmSize | OpenShift Node VM(s) size. Use VMs with Premium Storage support only. |
masterInstanceCount | Number of OpenShift masters. |
workerInstanceCount | Number of OpenShift nodes |
storageOption | (описание отсутствует) |
pxSpecUrl | Portworx Spec URL. See README on how to generate the URL |
dataDiskSize | Size of Datadisk in GB for NFS storage |
enableNfsBackup | Enable Backup on NFS node |
adminUsername | Administrator username on all VMs and first user created for OpenShift login |
openshiftUsername | User created for OpenShift login |
openshiftPassword | Password for OpenShift login |
sshPublicKey | SSH public key for all VMs |
pullSecret | Pull Secret json or reference to keyvault pull secret is stored |
aadClientId | Azure AD Client ID |
aadClientSecret | Azure AD Client Secret |
Использование шаблона
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/openshift-container-platform/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/openshift-container-platform/azuredeploy.json