// Module included in the following assemblies:
//
// * edge_computing/ztp-deploying-far-edge-sites.adoc

:_mod-docs-content-type: REFERENCE
[id="ztp-configuring-host-firmware-with-gitops-ztp_{context}"]
= Managing host firmware settings with {ztp}

[role="_abstract"]
Hosts require the correct firmware configuration to ensure high performance and optimal efficiency.
You can deploy custom host firmware configurations for managed clusters with {ztp}.

Tune hosts with specific hardware profiles in your lab and ensure they are optimized for your requirements.
When you have completed host tuning to your satisfaction, you extract the host profile and save it in your {ztp} repository.
Then, you use the host profile to configure firmware settings in the managed cluster hosts that you deploy with {ztp}.

You specify the required hardware profiles by creating `HostFirmwareSettings` CRs, packaging them in `ConfigMap` resources, and referencing them in the `templateRefs` field of your `ClusterInstance` CR.
The SiteConfig Operator generates the required `HostFirmwareSettings` and `BareMetalHost` CRs that are applied to the hub cluster.

Use the following best practices to manage your host firmware profiles.

Identify critical firmware settings with hardware vendors::
Work with hardware vendors to identify and document critical host firmware settings required for optimal performance and compatibility with the deployed host platform.

Use common firmware configurations across similar hardware platforms::
Where possible, use a standardized host firmware configuration across similar hardware platforms to reduce complexity and potential errors during deployment.

Test firmware configurations in a lab environment::
Test host firmware configurations in a controlled lab environment before deploying in production to ensure that settings are compatible with hardware, firmware, and software.

Manage firmware profiles in source control::
Manage host firmware profiles in Git repositories to track changes, ensure consistency, and facilitate collaboration with vendors.
