MachineRegistration [elemental.cattle.io/v1beta1]
MachineRegistration is owned by elemental-operator and is created once per workload cluster. The bare-metal provider does not mutate it, but operators must author it because its config block is baked into the registration ISO and replayed by elemental-register on first boot — it carries the registration URL, MachineInventoryLabels, and the cloud-init that turns a freshly imaged host into a usable MachineInventory.
- Type
object
Specification
.spec
- Type
object
.spec.config
- Description
- Config the cloud config that will be used to provision the node.
- Type
object
.spec.config.elemental
- Type
object
.spec.config.elemental.install
- Type
object
.spec.config.elemental.install.config-urls
- Type
array
.spec.config.elemental.install.config-urls[]
- Type
string
.spec.config.elemental.install.device-selector
- Type
array
.spec.config.elemental.install.device-selector[]
- Type
object- Required
keyoperator
.spec.config.elemental.install.device-selector[].values
- Type
array
.spec.config.elemental.install.device-selector[].values[]
- Type
string
.spec.config.elemental.install.snapshotter
- Type
object
.spec.config.elemental.registration
- Type
object
.spec.config.elemental.reset
- Type
object
.spec.config.elemental.reset.config-urls
- Type
array
.spec.config.elemental.reset.config-urls[]
- Type
string
.spec.config.elemental.system-agent
- Type
object
.spec.config.network
- Description
- NetworkTemplate contains a map of IPAddressPools and a schemaless network config template.
- Type
object
.spec.config.network.ipAddresses
- Description
- IPAddresses contains a map of IPPools references
- Type
object
.spec.machineInventoryAnnotations
- Description
- MachineInventoryAnnotations annotations to be added to the created MachineInventory object.
- Type
object
.spec.machineInventoryLabels
- Description
- MachineInventoryLabels label to be added to the created MachineInventory object.
- Type
object
.status
- Type
object
.status.conditions
- Description
- Conditions describe the state of the machine registration 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.serviceAccountRef
- Description
- ServiceAccountRef a reference to the service account created by the machine registration.
- Type
object
API Endpoints
The following API endpoints are available:
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/machineregistrationsDELETE: delete collection of MachineRegistrationGET: list objects of kind MachineRegistrationPOST: create a new MachineRegistration
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/machineregistrations/{name}DELETE: delete the specified MachineRegistrationGET: read the specified MachineRegistrationPATCH: partially update the specified MachineRegistrationPUT: replace the specified MachineRegistration
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/machineregistrations/{name}/statusGET: read status of the specified MachineRegistrationPATCH: partially update status of the specified MachineRegistrationPUT: replace status of the specified MachineRegistration
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/machineregistrations
- HTTP method
DELETE- Description
- delete collection of MachineRegistration
- HTTP responses
- HTTP method
GET- Description
- list objects of kind MachineRegistration
- HTTP responses
- HTTP method
POST- Description
- create a new MachineRegistration
- Query parameters
- Body parameters
- HTTP responses
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/machineregistrations/{name}
- HTTP method
DELETE- Description
- delete the specified MachineRegistration
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified MachineRegistration
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified MachineRegistration
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified MachineRegistration
- Query parameters
- Body parameters
- HTTP responses
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/machineregistrations/{name}/status
- HTTP method
GET- Description
- read status of the specified MachineRegistration
- HTTP responses
- HTTP method
PATCH- Description
- partially update status of the specified MachineRegistration
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace status of the specified MachineRegistration
- Query parameters
- Body parameters
- HTTP responses