MachineRegistration [elemental.cattle.io/v1beta1]
- 类型
object
规格
.spec
- 类型
object
.spec.config
- 描述
- Config the cloud config that will be used to provision the node.
- 类型
object
.spec.config.elemental
- 类型
object
.spec.config.elemental.install
- 类型
object
.spec.config.elemental.install.config-urls
- 类型
array
.spec.config.elemental.install.config-urls[]
- 类型
string
.spec.config.elemental.install.device-selector
- 类型
array
.spec.config.elemental.install.device-selector[]
- 描述
- DeviceSelectorRequirement narrows the install candidates. All requirements of a selector must hold, and exactly one disk must remain. Name, ID, WWN, Serial, Model and Transport take In or NotIn; Rotational takes In with "true" or "false"; Size takes Gt or Lt with a quantity.
- 类型
object- 必填
keyoperator
.spec.config.elemental.install.device-selector[].values
- 类型
array
.spec.config.elemental.install.device-selector[].values[]
- 类型
string
.spec.config.elemental.install.snapshotter
- 类型
object
.spec.config.elemental.install-registry
- 描述
- InstallRegistry is the registry mirror the install pulls the system image through. The operator sets it in the configuration that starts an install with a system-uri, from the registry mirror input the MachineRegistration selects with its cpaas.io/registry-reference label (public-registry-credential by default); it is not taken from MachineRegistration.
- 类型
object- 必填
endpointssource
.spec.config.elemental.install-registry.endpoints
- 描述
- Endpoints are the real registries, tried in order.
- 类型
array
.spec.config.elemental.install-registry.endpoints[]
- 类型
string
.spec.config.elemental.install-target
- 描述
- InstallTarget pins the disk of one install. The operator sets it in the configuration it returns to a host it released for installation; it is not taken from MachineRegistration.
- 类型
object
.spec.config.elemental.install-target.expect
- 描述
- Expect lists properties the target must still have; empty fields are not checked.
- 类型
object
.spec.config.elemental.install-target.wipe-device-ids
- 描述
- WipeDeviceIDs lists the stale system disks the operator approved for wiping. Unset (null) keeps the default of wiping every stale system disk found. Set, even to an empty list, only the listed disks are wiped and any other stale system disk stops the install. It is a pointer so an empty list survives the YAML round trip to the host.
- 类型
array
.spec.config.elemental.install-target.wipe-device-ids[]
- 类型
string
.spec.config.elemental.registration
- 描述
- Registration is the registration section of a MachineRegistration. A tpm-mode that contradicts emulate-tpm is rejected at admission; the MachineRegistration controller reports InvalidTPMConfig as well for objects that bypassed it.
- 类型
object
.spec.config.elemental.reset
- 类型
object
.spec.config.elemental.reset.config-urls
- 类型
array
.spec.config.elemental.reset.config-urls[]
- 类型
string
.spec.config.elemental.system-agent
- 类型
object
.spec.config.network
- 描述
- NetworkTemplate contains a map of IPAddressPools and a schemaless network config template.
- 类型
object
.spec.config.network.ipAddresses
- 描述
- IPAddresses contains a map of IPPools references
- 类型
object
.spec.machineInventoryAnnotations
- 描述
- MachineInventoryAnnotations annotations to be added to the created MachineInventory object.
- 类型
object
.spec.machineInventoryLabels
- 描述
- MachineInventoryLabels label to be added to the created MachineInventory object.
- 类型
object
.status
- 类型
object
.status.conditions
- 描述
- Conditions describe the state of the machine registration object.
- 类型
array
.status.conditions[]
- 描述
- Condition contains details for one aspect of the current state of this API Resource.
- 类型
object- 必填
lastTransitionTimemessagereasonstatustype
.status.serviceAccountRef
- 描述
- ServiceAccountRef a reference to the service account created by the machine registration.
- 类型
object
API 端点
可用的 API 端点如下:
/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 方法
DELETE- 描述
- delete collection of MachineRegistration
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind MachineRegistration
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new MachineRegistration
- 查询参数
- 请求体参数
- HTTP 响应
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/machineregistrations/{name}
- HTTP 方法
DELETE- 描述
- delete the specified MachineRegistration
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified MachineRegistration
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified MachineRegistration
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified MachineRegistration
- 查询参数
- 请求体参数
- HTTP 响应
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/machineregistrations/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified MachineRegistration
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified MachineRegistration
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified MachineRegistration
- 查询参数
- 请求体参数
- HTTP 响应