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