mirror of
https://github.com/openshift/installer.git
synced 2026-02-05 15:47:14 +01:00
1.3 KiB
1.3 KiB
Azure Platform Customization
The following options are available when using Azure:
machines.platform.azure.type- the VM instance typemachines.platform.azure.osDisk.diskSizeGB- The Azure OS disk size in Gigabytesplatform.azure.region- the Azure region (location) that the installer will use when creating resource group and resourcesplatform.azure.baseDomainResourceGroupName- the Azure Resource Group that has the public DNS zone for base domain
Examples
An example install-config.yaml is shown below. This configuration has been modified to show the customization that is possible via the install config.
apiVersion: v1
baseDomain: example.com
controlPlane:
name: master
platform:
azure:
type: Standard_DS4_v2
osDisk:
diskSizeGB: 512
replicas: 3
compute:
- name: worker
platform:
azure:
type: Standard_DS4_v2
osDisk:
diskSizeGB: 512
replicas: 5
metadata:
name: test-cluster
networking:
clusterNetwork:
- cidr: 10.128.0.0/14
hostPrefix: 23
machineCIDR: 10.0.0.0/16
serviceNetwork:
- 172.30.0.0/16
networkType: OpenShiftSDN
platform:
azure:
region: centralus
baseDomainResourceGroupName: os4-common
pullSecret: '{"auths": ...}'
sshKey: ssh-ed25519 AAAA...