HCSMachineTemplate [infrastructure.cluster.x-k8s.io/v1beta1]
- 描述
- HCSMachineTemplate is the Schema for the hcsmachinetemplates API. It is used by MachineDeployment and MachineSet to create HCSMachine resources.
- 类型
object- 必填
spec
规格
.spec
- 描述
- spec defines the desired state of HCSMachineTemplate
- 类型
object- 必填
template
.spec.template
- 描述
- Template is the HCSMachine resource template that will be used for creating machines.
- 类型
object- 必填
spec
.spec.template.spec
- 描述
- Spec is the specification of the desired behavior of the machine.
- 类型
object
.spec.template.spec.configPoolRef
- 描述
- ConfigPoolRef is a reference to the HCSMachineConfigPool resource that provides shared configuration for this machine.
- 类型
object
.spec.template.spec.dataVolumes
- 描述
- DataVolumes is a list of additional data volumes to attach to the instance.
- 类型
array
.spec.template.spec.dataVolumes[]
- 描述
- Volume defines the disk volume configuration for HCS instances.
- 类型
object- 必填
sizetype
.spec.template.spec.rootVolume
- 描述
- RootVolume is the root disk volume configuration.
- 类型
object- 必填
sizetype
.status
- 描述
- status defines the observed state of HCSMachineTemplate
- 类型
object
API 端点
可用的 API 端点如下:
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/hcsmachinetemplatesDELETE: delete collection of HCSMachineTemplateGET: list objects of kind HCSMachineTemplatePOST: create a new HCSMachineTemplate
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/hcsmachinetemplates/{name}DELETE: delete the specified HCSMachineTemplateGET: read the specified HCSMachineTemplatePATCH: partially update the specified HCSMachineTemplatePUT: replace the specified HCSMachineTemplate
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/hcsmachinetemplates/{name}/statusGET: read status of the specified HCSMachineTemplatePATCH: partially update status of the specified HCSMachineTemplatePUT: replace status of the specified HCSMachineTemplate
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/hcsmachinetemplates
- HTTP 方法
DELETE- 描述
- delete collection of HCSMachineTemplate
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind HCSMachineTemplate
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new HCSMachineTemplate
- 查询参数
- 请求体参数
- HTTP 响应
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/hcsmachinetemplates/{name}
- HTTP 方法
DELETE- 描述
- delete the specified HCSMachineTemplate
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified HCSMachineTemplate
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified HCSMachineTemplate
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified HCSMachineTemplate
- 查询参数
- 请求体参数
- HTTP 响应
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/hcsmachinetemplates/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified HCSMachineTemplate
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified HCSMachineTemplate
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified HCSMachineTemplate
- 查询参数
- 请求体参数
- HTTP 响应