MachineInventory [elemental.cattle.io/v1beta1]
- Type
object
Specification
.spec
- Type
object
.spec.ipAddressClaims
- Description
- IPAddressClaims is a map of IPAddressClaim associated to this machine. The map key is the ipAddressPool.name.
- Type
object
.spec.ipAddressPools
- Description
- IPAddressPools is a list of IPAddressPool associated to this machine.
- Type
object
.spec.network
- Description
- NetworkConfig is the final NetworkConfig.
- Type
object
.spec.network.ipAddresses
- Description
- IPAddresses contains a map of claimed IPAddresses
- Type
object
.spec.observedNetwork
- Description
- 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.
- Type
object
.spec.observedNetwork.connections
- Description
- 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.
- Type
object
.spec.observedNetwork.dnsServers
- Description
- DNSServers observed (typically from /etc/resolv.conf).
- Type
array
.spec.observedNetwork.dnsServers[]
- Type
string
.spec.observedNetwork.interfaces
- Description
- Interfaces observed on the host.
- Type
array
.spec.observedNetwork.interfaces[]
- Description
- ObservedInterface describes a single network interface on the host.
- Type
object- Required
name
.spec.observedNetwork.interfaces[].addresses
- Description
- Addresses assigned to the interface, in CIDR form (e.g. 10.0.0.5/24, fe80::1/64). Both IPv4 and IPv6 may appear.
- Type
array
.spec.observedNetwork.interfaces[].addresses[]
- Type
string
.spec.observedNetwork.routes
- Description
- Routes observed in the host's routing table.
- Type
array
.spec.observedNetwork.routes[]
- Description
- ObservedRoute describes a single routing table entry.
- Type
object- Required
destination
.spec.observedNetwork.searchDomains
- Description
- SearchDomains observed.
- Type
array
.spec.observedNetwork.searchDomains[]
- Type
string
.status
- Type
object
.status.conditions
- Description
- Conditions describe the state of the machine inventory object.
- Type
array
.status.conditions[]
- Description
- Condition contains details for one aspect of the current state of this API Resource.
- Type
object- Required
lastTransitionTimemessagereasonstatustype
.status.install
- Description
- Install is the install session of a host booted from the live ISO with elemental-register --install, written by the registration server.
- Type
object
.status.install.candidates
- Description
- Candidates are the whole disks the live session reported.
- Type
array
.status.install.candidates[]
- Description
- InstallCandidate is one whole disk a live session reported.
- Type
object- Required
eligibleid
.status.install.candidates[].hasData
- Description
- HasData lists signatures of data found on the disk, e.g. LVM2_member. Automatic selection never picks such a disk.
- Type
array
.status.install.candidates[].hasData[]
- Type
string
.status.install.candidates[].reasons
- Type
array
.status.install.candidates[].reasons[]
- Type
string
.status.install.staleSystemDisks
- Description
- StaleSystemDisks are the disks found carrying an old system layout.
- Type
array
.status.install.staleSystemDisks[]
- Description
- StaleSystemDisk is a disk, other than the install target, that carries an old system layout.
- Type
object- Required
id
.status.install.staleSystemDisks[].evidence
- Type
array
.status.install.staleSystemDisks[].evidence[]
- Type
string
.status.plan
- Description
- PlanStatus reflect the status of the plan owned by the machine inventory object.
- Type
object
.status.plan.secretRef
- Description
- PlanSecretRef a reference to the created plan secret.
- Type
object
API Endpoints
The following API endpoints are available:
/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 method
DELETE- Description
- delete collection of MachineInventory
- HTTP responses
- HTTP method
GET- Description
- list objects of kind MachineInventory
- HTTP responses
- HTTP method
POST- Description
- create a new MachineInventory
- Query parameters
- Body parameters
- HTTP responses
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/machineinventories/{name}
- HTTP method
DELETE- Description
- delete the specified MachineInventory
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified MachineInventory
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified MachineInventory
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified MachineInventory
- Query parameters
- Body parameters
- HTTP responses
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/machineinventories/{name}/status
- HTTP method
GET- Description
- read status of the specified MachineInventory
- HTTP responses
- HTTP method
PATCH- Description
- partially update status of the specified MachineInventory
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace status of the specified MachineInventory
- Query parameters
- Body parameters
- HTTP responses