Skip to content

Infrastructure options#

The MkeChildConfig object offers an infrastructure section that is specific to child cluster configuration, an example of which follows, along with descriptions for each section field:

spec:
  infrastructure:
    provider: aws|vsphere
    credential: <my-cloud-provider-credential>
    region: <region-name>
    configuration:
Parameter                     Description
provider Cloud provider. MKE 4 currently supports aws and vsphere.
credential The k0rdent Credential object that is used to bootstrap and manage a child cluster.
region AWS region. Parameter does not apply to vSphere.
configuration Optional. A dynamic field that is used to customize infrastructure with values of the vendor specified in the provider parameter.

Detail on the values for the vendors supported by MKE 4 is available:
clusterLabels Labels to apply to the CAPI cluster.
clusterAnnotations Annotations to apply to the CAPI cluster.
controlPlaneNumber Optional. Number of control plane nodes.

Default: 3
workersNumber Optional. Number of worker nodes.

Default: 2