You can customize the install-config.yaml
file to specify more details about your {product-title} cluster’s platform or modify the values of the required parameters.
Important
|
This sample YAML file is provided for reference only. You must obtain your |
apiVersion: v1
baseDomain: example.com (1)
controlPlane: (2)
hyperthreading: Enabled (3) (4)
name: master
platform:
azure:
osDisk:
diskSizeGB: 512 (5)
type: Standard_D8s_v3
replicas: 3
compute: (2)
- hyperthreading: Enabled (3)
name: worker
platform:
azure:
type: Standard_D2s_v3
osDisk:
diskSizeGB: 512 (5)
zones: (6)
- "1"
- "2"
- "3"
replicas: 5
metadata:
name: test-cluster (1)
networking:
clusterNetwork:
- cidr: 10.128.0.0/14
hostPrefix: 23
machineCIDR: 10.0.0.0/16
networkType: OpenShiftSDN
serviceNetwork:
- 172.30.0.0/16
platform:
azure:
region: centralus (1)
baseDomainResourceGroupName: resource_group (7)
pullSecret: '{"auths": ...}' (1)
fips: false (8)
sshKey: ssh-ed25519 AAAA... (9)
-
Required. The installation program prompts you for this value.
-
If you do not provide these parameters and values, the installation program provides the default value.
-
The
controlPlane
section is a single mapping, but the compute section is a sequence of mappings. To meet the requirements of the different data structures, the first line of thecompute
section must begin with a hyphen,-
, and the first line of thecontrolPlane
section must not. Although both sections currently define a single machine pool, it is possible that future versions of {product-title} will support defining multiple compute pools during installation. Only one control plane pool is used. -
Whether to enable or disable simultaneous multithreading, or
hyperthreading
. By default, simultaneous multithreading is enabled to increase the performance of your machines' cores. You can disable it by setting the parameter value toDisabled
. If you disable simultaneous multithreading in some cluster machines, you must disable it in all cluster machines.ImportantIf you disable simultaneous multithreading, ensure that your capacity planning accounts for the dramatically decreased machine performance. Use larger virtual machine types, such as
Standard_D8s_v3
, for your machines if you disable simultaneous multithreading. -
You can specify the size of the disk to use in GB.
-
Specify a list of zones to deploy your machines to. For high availability, specify at least two zones.
-
Specify the name of the resource group that contains the DNS zone for your base domain.
-
Whether to enable or disable FIPS mode. By default, FIPS mode is not enabled. If FIPS mode is enabled, the {op-system-first} machines that {product-title} runs on bypass the default Kubernetes cryptography suite and use the cryptography modules that are provided with {op-system} instead.
-
You can optionally provide the
sshKey
value that you use to access the machines in your cluster.NoteFor production {product-title} clusters on which you want to perform installation debugging or disaster recovery on, specify an SSH key that your
ssh-agent
process uses.