MachineInventory [elemental.cattle.io/v1beta1]
- 类型
object
规格
.spec
- 类型
object
.spec.ipAddressClaims
- 描述
- IPAddressClaims is a map of IPAddressClaim associated to this machine. The map key is the ipAddressPool.name.
- 类型
object
.spec.ipAddressPools
- 描述
- IPAddressPools is a list of IPAddressPool associated to this machine.
- 类型
object
.spec.network
- 描述
- NetworkConfig is the final NetworkConfig.
- 类型
object
.spec.network.ipAddresses
- 描述
- IPAddresses contains a map of claimed IPAddresses
- 类型
object
.spec.observedNetwork
- 描述
- ObservedNetwork is a live-ISO-side snapshot of the host's actual network configuration uploaded by elemental-register during initial registration (Alauda fork). It is informational only and is intentionally kept separate from Network (the target/template network). Consumers such as baremetal providers can read this to know what the host looked like before install-time network reconfiguration.
- 类型
object
.spec.observedNetwork.connections
- 描述
- Connections holds the host's persisted NetworkManager keyfiles verbatim, keyed by the connection file's base name (without the .nmconnection suffix). Anything present here was created by an operator: NetworkManager keeps its own auto-default connections in memory, with no file on disk. The install and reset paths feed these back to the host unchanged, which is how a bond, VLAN or bridge configured from the live ISO survives into the installed system. Every other registration reports them and discards them, so editing this field has no effect on the host.
- 类型
object
.spec.observedNetwork.dnsServers
- 描述
- DNSServers observed (typically from /etc/resolv.conf).
- 类型
array
.spec.observedNetwork.dnsServers[]
- 类型
string
.spec.observedNetwork.interfaces
- 描述
- Interfaces observed on the host.
- 类型
array
.spec.observedNetwork.interfaces[]
- 描述
- ObservedInterface describes a single network interface on the host.
- 类型
object- 必填
name
.spec.observedNetwork.interfaces[].addresses
- 描述
- Addresses assigned to the interface, in CIDR form (e.g. 10.0.0.5/24, fe80::1/64). Both IPv4 and IPv6 may appear.
- 类型
array
.spec.observedNetwork.interfaces[].addresses[]
- 类型
string
.spec.observedNetwork.routes
- 描述
- Routes observed in the host's routing table.
- 类型
array
.spec.observedNetwork.routes[]
- 描述
- ObservedRoute describes a single routing table entry.
- 类型
object- 必填
destination
.spec.observedNetwork.searchDomains
- 描述
- SearchDomains observed.
- 类型
array
.spec.observedNetwork.searchDomains[]
- 类型
string
.status
- 类型
object
.status.conditions
- 描述
- Conditions describe the state of the machine inventory object.
- 类型
array
.status.conditions[]
- 描述
- Condition contains details for one aspect of the current state of this API Resource.
- 类型
object- 必填
lastTransitionTimemessagereasonstatustype
.status.install
- 描述
- Install is the install session of a host booted from the live ISO with elemental-register --install, written by the registration server.
- 类型
object
.status.install.candidates
- 描述
- Candidates are the whole disks the live session reported.
- 类型
array
.status.install.candidates[]
- 描述
- InstallCandidate is one whole disk a live session reported.
- 类型
object- 必填
eligibleid
.status.install.candidates[].hasData
- 描述
- HasData lists signatures of data found on the disk, e.g. LVM2_member. Automatic selection never picks such a disk.
- 类型
array
.status.install.candidates[].hasData[]
- 类型
string
.status.install.candidates[].reasons
- 类型
array
.status.install.candidates[].reasons[]
- 类型
string
.status.install.staleSystemDisks
- 描述
- StaleSystemDisks are the disks found carrying an old system layout.
- 类型
array
.status.install.staleSystemDisks[]
- 描述
- StaleSystemDisk is a disk, other than the install target, that carries an old system layout.
- 类型
object- 必填
id
.status.install.staleSystemDisks[].evidence
- 类型
array
.status.install.staleSystemDisks[].evidence[]
- 类型
string
.status.plan
- 描述
- PlanStatus reflect the status of the plan owned by the machine inventory object.
- 类型
object
.status.plan.secretRef
- 描述
- PlanSecretRef a reference to the created plan secret.
- 类型
object
API 端点
可用的 API 端点如下:
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/machineinventoriesDELETE: delete collection of MachineInventoryGET: list objects of kind MachineInventoryPOST: create a new MachineInventory
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/machineinventories/{name}DELETE: delete the specified MachineInventoryGET: read the specified MachineInventoryPATCH: partially update the specified MachineInventoryPUT: replace the specified MachineInventory
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/machineinventories/{name}/statusGET: read status of the specified MachineInventoryPATCH: partially update status of the specified MachineInventoryPUT: replace status of the specified MachineInventory
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/machineinventories
- HTTP 方法
DELETE- 描述
- delete collection of MachineInventory
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind MachineInventory
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new MachineInventory
- 查询参数
- 请求体参数
- HTTP 响应
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/machineinventories/{name}
- HTTP 方法
DELETE- 描述
- delete the specified MachineInventory
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified MachineInventory
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified MachineInventory
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified MachineInventory
- 查询参数
- 请求体参数
- HTTP 响应
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/machineinventories/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified MachineInventory
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified MachineInventory
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified MachineInventory
- 查询参数
- 请求体参数
- HTTP 响应