Beyond the platform-agnostic install-config.yaml
properties, the installer supports additional, Azure-specific properties.
The following options are available when using Azure:
region
(required string): The Azure region where the cluster will be created.baseDomainResourceGroupName
(required string): The resource group where the Azure DNS zone for the base domain is found.defaultMachinePlatform
(optional object): Default Azure-specific machine pool properties which applies to machine pools that do not define their own Azure-specific properties.
osDisk
(optional object):diskSizeGB
(optional integer): The size of the disk in gigabytes (GB).
type
(optional string): The Azure instance type.
Some example install-config.yaml
are shown below.
For examples of platform-agnostic configuration fragments, see here.
An example minimal Azure install config is:
apiVersion: v1
baseDomain: example.com
metadata:
name: test-cluster
platform:
azure:
region: centralus
baseDomainResourceGroupName: os4-common
pullSecret: '{"auths": ...}'
sshKey: ssh-ed25519 AAAA...
An example Azure install config with custom machine pools:
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
platform:
azure:
region: centralus
baseDomainResourceGroupName: os4-common
pullSecret: '{"auths": ...}'
sshKey: ssh-ed25519 AAAA...