Move Server.Status popolation from ServerReconciler to BMCReconciler#339
Move Server.Status popolation from ServerReconciler to BMCReconciler#339stefanhipfel wants to merge 8 commits intomainfrom
Server.Status popolation from ServerReconciler to BMCReconciler#339Conversation
Server.Status popolation from ServerReconciler to BMCReconciler
0c35c73 to
0e5194a
Compare
|
I am still wondering, if the |
BMC reconciler already sets state fields of Server objects. Only updating hardware status fields which are not set, requires to implement a forced update mechanism if hardware was updated.. |
|
superseded by #443 |
Proposed Changes
BMC controller now loads Server Status Details (Manufacturer, Storages, CPUs) once during creation of a server CRD and when setting the anntotation
"metal.ironcore.dev/operation" : "update-server-details".BMC controller reconcile loop now only gets called when server was deleted or ops annotation was set.
Fixes:
Redfish Processors are now called separately, only when needed.
In General: Less calls to BMC redfish api
Server Controller Test:
Before: 700 API calls
After: 305 API calls