1.5.2.2. デバイスインベントリーとデバイスの詳細の表示
デバイスインベントリー内のデバイスを表示します。以下の手順を実行します。
次のコマンドを実行して、デバイスインベントリー内のデバイスを表示します。
flightctl get devices以下の出力例を参照してください。
NAME ALIAS OWNER SYSTEM UPDATED APPLICATIONS LAST SEEN <device_name> <none> <none> Online Up-to-date <none> 3 seconds ago次のコマンドを実行して、このデバイスの詳細を YAML 形式で表示します。
flightctl get device/<device_name> -o yaml以下の出力例を参照してください。
apiVersion: flightctl.io/v1alpha1 kind: Device metadata: name: <device_name> labels:1 region: eu-west-1 site: factory-berlin spec: os: image: quay.io/flightctl/rhel:9.52 config: - name: my-os-configuration3 configType: GitConfigProviderSpec gitRef: path: /configuration repository: my-configuration-repo targetRevision: production status: os: image: quay.io/flightctl/rhel:9.54 config: renderedVersion: "1"5 applications: data: {}6 summary: status: Unknown7 resources:8 cpu: Healthy disk: Healthy memory: Healthy systemInfo:9 architecture: amd64 bootID: 037750f7-f293-4c5b-b06e-481eef4e883f operatingSystem: linux summary: info: "" status: Online10 updated: status: UpToDate11 lastSeen: "2024-08-28T11:45:34.812851905Z"12 [...]