:_mod-docs-content-type: ASSEMBLY
[id="cluster-api-config-options-bare-metal"]
= Cluster API configuration options for bare metal
include::_attributes/common-attributes.adoc[]
:context: cluster-api-config-options-bare-metal

toc::[]

[role="_abstract"]
You can change the configuration of your bare metal Cluster API machines by updating values in the Cluster API custom resource manifests.

:FeatureName: Managing machines with the Cluster API
include::snippets/technology-preview.adoc[]

[id="cluster-api-sample-yaml-bare-metal_{context}"]
== Sample YAML for configuring bare metal clusters

The following example YAML files show configurations for a bare metal cluster.

//Sample YAML for CAPI bare metal machine template resource
include::modules/capi-yaml-machine-template-bare-metal.adoc[leveloffset=+2]

//Sample YAML for a CAPI bare metal compute machine set resource
include::modules/capi-yaml-machine-set-bare-metal.adoc[leveloffset=+2]

////
//Section depends on migration support
[id="cluster-api-supported-features-bare-metal_{context}"]
== Enabling bare metal features with the Cluster API

You can enable features by updating values in the Cluster API custom resource manifests.

// Cluster autoscaler GPU labels
include::modules/machine-feature-agnostic-options-label-gpu-autoscaler.adoc[leveloffset=+2]

[role="_additional-resources"]
.Additional resources
* xref:../../../machine_management/applying-autoscaling.adoc#cluster-autoscaler-cr_applying-autoscaling[Cluster autoscaler resource definition]
////