github.com/openshift/installer@v1.4.17/docs/user/ovirt/customization.md (about) 1 # oVirt Platform Customization 2 3 Beyond the [platform-agnostic `install-config.yaml` properties](../customization.md#platform-customization), the installer supports additional, ovirt-specific properties. 4 5 ## Cluster-scoped properties 6 7 * `ovirt_cluster_id` (required string): The Cluster where the VMs will be created. 8 * `ovirt_storage_domain_id` (required string): The Storage Domain ID where the VM disks will be created. 9 * `ovirt_network_name` (required string): The network name where the VM nics will be created. 10 * `vnicProfileID` (required string): The ID of the [vNic profile][vnic-profile] used for the VM network interfaces. 11 This can be inferred if the cluster network has a single profile. 12 * `api_vip` (required string): An IP address on the machineNetwork that will be assigned to the API VIP. 13 * `ingress_vip` (required string): An IP address on the machineNetwork that will be assigned to the Ingress VIP. 14 15 ## Machine pools 16 17 * `cpu` (optional object): Defines the CPU of the VM. 18 * `cores` (required integer): The number of cores. Total vCPUS is cores * sockets. 19 * `sockets` (required integer): The number of sockets. Total vCPUS is cores * sockets. 20 * `memoryMB` (optional integer): Memory of the VM in MiB. 21 * `instanceTypeID` (optional string): The VM [instance-type][instance-type]. 22 * `osDisk` (optional string): Defines the first and bootable disk of the VM. 23 * `sizeGB` (required number): Size of the disk in GiB. 24 * `vmType` (optional string): The VM workload type. One of [high-performance][high-perf], server or desktop. 25 26 27 ## Installing to Existing VPC & Subnetworks 28 29 The installer can use an existing VPC and subnets when provisioning an OpenShift cluster. A VPC will be inferred from the provided subnets. For a standard installation, a private and public subnet should be specified. ([see example below](#pre-existing-vpc--subnets)). Both of the subnets must be within the IP range specified in `networking.machineNetwork`. 30 31 ## Examples 32 33 Some example `install-config.yaml` are shown below. 34 For examples of platform-agnostic configuration fragments, see [here](../customization.md#examples). 35 36 ### Minimal 37 38 An example minimal install config is: 39 40 ```yaml 41 apiVersion: v1 42 baseDomain: example.com 43 metadata: 44 name: test-cluster 45 platform: 46 ovirt: 47 api_vip: 10.46.8.230 48 ingress_vip: 10.46.8.232 49 ovirt_cluster_id: 68833f9f-e89c-4891-b768-e2ba0815b76b 50 ovirt_storage_domain_id: ed7b0f4e-0e96-492a-8fff-279213ee1468 51 ovirt_network_name: ovirtmgmt 52 vnicProfileID: 3fa86930-0be5-4052-b667-b79f0a729692 53 pullSecret: '{"auths": ...}' 54 sshKey: ssh-ed25519 AAAA... 55 ``` 56 57 ### Custom machine pools 58 59 An example install config with custom machine pools: 60 61 ```yaml 62 apiVersion: v1 63 baseDomain: example.com 64 controlPlane: 65 name: master 66 platform: 67 ovirt: 68 cpu: 69 cores: 4 70 sockets: 2 71 memoryMB: 65536 72 osDisk: 73 sizeGB: 100 74 vmType: high_performance 75 replicas: 3 76 compute: 77 - name: worker 78 platform: 79 ovirt: 80 cpu: 81 cores: 4 82 sockets: 4 83 memoryMB: 65536 84 osDisk: 85 sizeGB: 200 86 vmType: high_performance 87 replicas: 5 88 metadata: 89 name: test-cluster 90 platform: 91 ovirt: 92 api_vip: 10.46.8.230 93 ingress_vip: 10.46.8.232 94 ovirt_cluster_id: 68833f9f-e89c-4891-b768-e2ba0815b76b 95 ovirt_storage_domain_id: ed7b0f4e-0e96-492a-8fff-279213ee1468 96 ovirt_network_name: ovirtmgmt 97 vnicProfileID: 3fa86930-0be5-4052-b667-b79f0a729692 98 pullSecret: '{"auths": ...}' 99 sshKey: ssh-ed25519 AAAA... 100 ``` 101 102 [instance-type]: https://www.ovirt.org/develop/release-management/features/virt/instance-types.html 103 [vnic-profile]: https://www.ovirt.org/develop/release-management/features/sla/vnic-profiles.html 104 [high-perf]: https://www.ovirt.org/develop/release-management/features/virt/high-performance-vm.html