Azure 快速入门模板目前提供英文版
Openshift Container Platform 4.3
此 Azure Resource Manager (ARM) 模板由社区的某个成员(而不是由 Microsoft)创建。每个 ARM 模板都根据其所有者(不是 Microsoft)的许可协议向你授予许可。Microsoft 不对由社区成员提供并授予许可的 ARM 模板负责,并且不针对安全性、兼容性和性能进行筛选。社区 ARM 模板不由任何 Microsoft 支持计划或服务提供支持,按“原样”提供,没有任何种类的担保。
参数
参数名 | 说明 |
---|---|
_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/application-workloads/openshift/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/application-workloads/openshift/openshift-container-platform/azuredeploy.json