VCDInstanceClass
Scope: Cluster
Version: v1
Parameters of a group of VCD VirtualMachines used by cluster-api-controller-manager
(the cloud-provider-vcd module).
- spec
Required value
- spec.additionalMetadata
Custom string key-value pairs to be stored in the Metadata of every node VM, useful for organizing and categorizing your virtualization inventory.
The properties in this field will be merged with the existing metadata stored in the
metadata
field at the root of the VCDProviderClusterConfiguration spec. This field will take precedence over the existing metadata in cases of duplicate keys.Warning. Changing the
additionalMetadata
will cause the recreation of CloudEphemeral NodeGroups referring the VCDInstanceClass. - spec.mainNetwork
Path to the network that VirtualMachines’ primary NICs will connect to (default gateway).
Example:
mainNetwork: internal
- spec.placementPolicy
PlacementPolicy is the placement policy to be used on this machine. If no placement policy is specified, default placement policy will be used to create the nodes.
Example:
placementPolicy: Hypervisor1
- spec.rootDiskSizeGb
root disk size in gigabytes.
Default:
20
Example:
rootDiskSizeGb: 20
- spec.sizingPolicy
SizingPolicy is the sizing policy to be used on this machine. If no sizing policy is specified, default sizing policy will be used to create the nodes.
Example:
sizingPolicy: 4Cpu8Memory
- spec.storageProfile
Required value
StorageProfile is the storage profile to be used on this machine.
Example:
storageProfile: ssd
- spec.template
Required value
Path of the template OVA that is to be used. Consists of organization (optional), catalog, template name or template identifier.
If you have templates with the same name in multiple catalogs with the same name, you should specify the identifier of the template.
You can find the template identifier in the URL when you open the template in the vCD UI. For example, if the URL is
https://vcd.example.com/tenant/MyOrg/libraries/catalogs/1032506a-4555-43e1-8589-77b0c0522c75/catalog-vapp-templates/5438c9f2-7e59-4eb3-b37c-cbd7f3e710c7/general
, then the template identifier is5438c9f2-7e59-4eb3-b37c-cbd7f3e710c7
.Examples:
template: Linux/ubuntu2204-cloud-ova
template: MyOrg/Linux/ubuntu2204-cloud-ova
template: Linux/5438c9f2-7e59-4eb3-b37c-cbd7f3e710c7
template: MyOrg/Linux/5438c9f2-7e59-4eb3-b37c-cbd7f3e710c7