BIOSSettings
BIOSSettings
represents a BIOS Setting update operation for a physical server (compute system). It updates the bios settings on physical server's BIOS.
Key Points
BIOSSettings
maps a BIOS version and settings as map for a given server.- Only one
BIOSSettings
can be active perServer
at a time. BIOSSettings
related changes are applied once the bios version matches with the physical server's bios.BIOSSettings
handles reboots of server (if required) usingServerMaintenance
resource- Once
BIOSSettings
moves toFailed
state, It stays in this state unless Manually moved out of this state.
Workflow
- A separate operator (e.g.,
biosSettingsSet
) or user creates aBIOSSettings
resource referencing a specificServer
. - Provided settings are checked against the current BIOS setting.
- If settings are same as on the server, the state is moved to
Applied
(even if the version does not match) - If the settings needs update,
BIOSSettings
check the version of BIOS and if required version does not match, it waits for the bios version to reach the spec version. BIOSSettings
checks if the required setting update needs physical server reboot.- If reboot is needed and
ServerMaintenance
is not provided already. it requests for one and waits for theserver
to enterMaintenance
state.policy
used byServerMaintenance
is to be provided through SpecServerMaintenancePolicyType
inBIOSSettings
- Setting update process is started and the server is rebooted if required.
BIOSSettings
verfiy the setting has been applied and trasistions the state toApplied
. removes theServerMaintenance
resource if created by self.- Any further update to the
BIOSSettings
Spec will restart the process. - If the
BIOSSettings
fails to apply the bios setting. TheBIOSSettings
moves toFailed
state until Manually moved out of this state.
Example
apiVersion: metal.ironcore.dev/v1alpha1
kind: BIOSSettings
metadata:
name: biossettings-sample
spec:
serverRef:
name: endpoint-sample-system-0
version: 2.10.3
settings:
PxeDev1EnDis: Disable
PxeDev2EnDis: Enabled
OtherSettings: "123"
someother: Disabled
ServerMaintenancePolicy: OwnerApproval