BMCSettings
BMCSettings
represents a BMC Setting update operation for a physical server's BMC (compute system). It updates the BMC settings on physical server's BMC.
Key Points
BMCSettings
maps a BMC version and settings as map for a given server.- Only one
BMCSettings
can be active perBMC
at a time. BMCSettings
related changes are applied once the BMC version matches with the physical server's BMC version.BMCSettings
handles reboots of BMCBMCSettings
requests forMaintenance
ifServerMaintenancePolicy
is set to "OwnerApproval".- Once
BMCSettings
moves toFailed
state, It stays in this state unless Manually moved out of this state.
Workflow
- A separate operator (e.g.,
bmcSettingsSet
) or user creates aBMCSettings
resource referencing a specificBMC
- Provided settings are checked against the current BMC 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,
BMCSettings
check the version of BMC and if required version does not match, it waits for the BMC version to reach the spec version. - If "OwnerApproval"
ServerMaintenancePolicy
type is requested andServerMaintenance
is not provided already. it requests one perserver
managed byBMC
and waits for all theserver
to enterMaintenance
state. - Setting update process is started and the physical server's BMC is rebooted if required.
BMCSettings
verfiy the setting has been applied and trasistions the state toApplied
. removes all theServerMaintenance
resource if created by self.- Any further update to the
BMCSettings
Spec will restart the process. - If the
BMCSettings
fails to apply the bmc setting. TheBMCSettings
moves toFailed
state until Manually moved out of this state.
Example
apiVersion: metal.ironcore.dev/v1alpha1
kind: BMCSettings
metadata:
name: bmcsettings-sample
spec:
BMCRef:
name: sample-BMC
version: 2.10.3
settings:
OtherSettings: "123"
someother: Disabled
ServerMaintenancePolicy: OwnerApproval