3.15. HostFirmwareComponents 리소스 가져오기
HostFirmwareComponents
리소스에는 물리적 호스트의 BIOS 및 BMC(Baseboard Management Controller)의 특정 펌웨어 버전이 포함되어 있습니다. 펌웨어 버전 및 상태를 검토하려면 물리적 호스트의 HostFirmwareComponents
리소스를 가져와야 합니다.
프로세스
HostFirmwareComponents
리소스의 자세한 목록을 가져옵니다.$ oc get hostfirmwarecomponents -n openshift-machine-api -o yaml
HostFirmwareComponents
리소스 목록을 가져옵니다.$ oc get hostfirmwarecomponents -n openshift-machine-api
특정 호스트에 대한
HostFirmwareComponents
리소스를 가져옵니다.$ oc get hostfirmwarecomponents <host_name> -n openshift-machine-api -o yaml
여기서
<host_name
>은 호스트의 이름입니다.출력 예
--- apiVersion: metal3.io/v1alpha1 kind: HostFirmwareComponents metadata: creationTimestamp: 2024-04-25T20:32:06Z" generation: 1 name: ostest-master-2 namespace: openshift-machine-api ownerReferences: - apiVersion: metal3.io/v1alpha1 blockOwnerDeletion: true controller: true kind: BareMetalHost name: ostest-master-2 uid: 16022566-7850-4dc8-9e7d-f216211d4195 resourceVersion: "2437" uid: 2038d63f-afc0-4413-8ffe-2f8e098d1f6c spec: updates: [] status: components: - component: bios currentVersion: 1.0.0 initialVersion: 1.0.0 - component: bmc currentVersion: "1.00" initialVersion: "1.00" conditions: - lastTransitionTime: "2024-04-25T20:32:06Z" message: "" observedGeneration: 1 reason: OK status: "True" type: Valid - lastTransitionTime: "2024-04-25T20:32:06Z" message: "" observedGeneration: 1 reason: OK status: "False" type: ChangeDetected lastUpdated: "2024-04-25T20:32:06Z" updates: []