SeedImage [elemental.cattle.io/v1beta1]
SeedImage 由 elemental-operator 拥有。创建 SeedImage 会引用一个 MachineRegistration,并触发 operator 构建一个嵌入注册 URL 的 ISO;operator 会下载该 ISO,并据此启动 bare-metal 主机。生成的 MachineInventory 对象将由 MachineInventoryPool 分配给 BaremetalMachine。
- Type
object
Specification
.spec
- Type
object- Required
registrationReftype
.spec.buildContainer
- Description
- BuildContainer settings for a custom container used to generate the downloadable image.
- Type
object
.spec.buildContainer.args
- Description
- Args same as corev1.Container.Args
- Type
array
.spec.buildContainer.args[]
- Type
string
.spec.buildContainer.command
- Description
- Command same as corev1.Container.Command
- Type
array
.spec.buildContainer.command[]
- Type
string
.spec.registrationRef
- Description
- MachineRegistrationRef a reference to the related MachineRegistration.
- Type
object
.status
- Type
object
.status.conditions
- Description
- Conditions describe the state of the seedimage object.
- Type
array
.status.conditions[]
- Description
- Condition contains details for one aspect of the current state of this API Resource.
- Type
object- Required
lastTransitionTimemessagereasonstatustype
API Endpoints
The following API endpoints are available:
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/seedimagesDELETE: delete collection of SeedImageGET: list objects of kind SeedImagePOST: create a new SeedImage
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/seedimages/{name}DELETE: delete the specified SeedImageGET: read the specified SeedImagePATCH: partially update the specified SeedImagePUT: replace the specified SeedImage
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/seedimages/{name}/statusGET: read status of the specified SeedImagePATCH: partially update status of the specified SeedImagePUT: replace status of the specified SeedImage
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/seedimages
- HTTP method
DELETE- Description
- delete collection of SeedImage
- HTTP responses
- HTTP method
GET- Description
- list objects of kind SeedImage
- HTTP responses
- HTTP method
POST- Description
- create a new SeedImage
- Query parameters
- Body parameters
- HTTP responses
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/seedimages/{name}
- HTTP method
DELETE- Description
- delete the specified SeedImage
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified SeedImage
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified SeedImage
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified SeedImage
- Query parameters
- Body parameters
- HTTP responses
/apis/elemental.cattle.io/v1beta1/namespaces/{namespace}/seedimages/{name}/status
- HTTP method
GET- Description
- read status of the specified SeedImage
- HTTP responses
- HTTP method
PATCH- Description
- partially update status of the specified SeedImage
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace status of the specified SeedImage
- Query parameters
- Body parameters
- HTTP responses