VSphereMachineTemplate [infrastructure.cluster.x-k8s.io/v1beta1]
- 描述
- VSphereMachineTemplate is the Schema for the vspheremachinetemplates API.
- 类型
object
规格
.spec
- 描述
- VSphereMachineTemplateSpec defines the desired state of VSphereMachineTemplate.
- 类型
object- 必填
template
.spec.template
- 描述
- VSphereMachineTemplateResource describes the data needed to create a VSphereMachine from a template.
- 类型
object- 必填
spec
.spec.template.spec
- 描述
- Spec is the specification of the desired behavior of the machine.
- 类型
object- 必填
networktemplate
.spec.template.spec.additionalDisksGiB
- 描述
- AdditionalDisksGiB holds the sizes of additional disks of the virtual machine, in GiB Defaults to the eponymous property value in the template from which the virtual machine is cloned.
- 类型
array
.spec.template.spec.additionalDisksGiB[]
- 类型
integer
.spec.template.spec.customVMXKeys
- 描述
- CustomVMXKeys is a dictionary of advanced VMX options that can be set on VM Defaults to empty map
- 类型
object
.spec.template.spec.dataDisks
- 描述
- DataDisks are additional disks to add to the VM that are not part of the VM's OVA template.
- 类型
array
.spec.template.spec.dataDisks[]
- 描述
- VSphereDisk is an additional disk to add to the VM that is not part of the VM OVA template.
- 类型
object- 必填
namesizeGiB
.spec.template.spec.machineConfigPoolRef
- 描述
- MachineConfigPoolRef is a reference to the VSphereMachineConfigPool to use for this machine.
- 类型
object
.spec.template.spec.namingStrategy
- 描述
- NamingStrategy allows configuring the naming strategy used when calculating the name of the VSphereVM.
- 类型
object
.spec.template.spec.network
- 描述
- Network is the network configuration for this machine's VM.
- 类型
object- 必填
devices
.spec.template.spec.network.devices
- 描述
- Devices is the list of network devices used by the virtual machine.
- 类型
array
.spec.template.spec.network.devices[]
- 描述
- NetworkDeviceSpec defines the network configuration for a virtual machine's network device.
- 类型
object- 必填
networkName
.spec.template.spec.network.devices[].addressesFromPools
- 描述
- AddressesFromPools is a list of IPAddressPools that should be assigned to IPAddressClaims. The machine's cloud-init metadata will be populated with IPAddresses fulfilled by an IPAM provider.
- 类型
array
.spec.template.spec.network.devices[].addressesFromPools[]
- 描述
- TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.
- 类型
object- 必填
kindname
.spec.template.spec.network.devices[].dhcp4Overrides
- 描述
- DHCP4Overrides allows for the control over several DHCP behaviors. Overrides will only be applied when the corresponding DHCP flag is set. Only configured values will be sent, omitted values will default to distribution defaults. Dependent on support in the network stack for your distribution. For more information see the netplan reference (https://netplan.io/reference#dhcp-overrides)
- 类型
object
.spec.template.spec.network.devices[].dhcp6Overrides
- 描述
- DHCP6Overrides allows for the control over several DHCP behaviors. Overrides will only be applied when the corresponding DHCP flag is set. Only configured values will be sent, omitted values will default to distribution defaults. Dependent on support in the network stack for your distribution. For more information see the netplan reference (https://netplan.io/reference#dhcp-overrides)
- 类型
object
.spec.template.spec.network.devices[].ipAddrs
- 描述
- IPAddrs is a list of one or more IPv4 and/or IPv6 addresses to assign to this device. IP addresses must also specify the segment length in CIDR notation. Required when DHCP4, DHCP6 and SkipIPAllocation are false.
- 类型
array
.spec.template.spec.network.devices[].ipAddrs[]
- 类型
string
.spec.template.spec.network.devices[].nameservers
- 描述
- Nameservers is a list of IPv4 and/or IPv6 addresses used as DNS nameservers. Please note that Linux allows only three nameservers (https://linux.die.net/man/5/resolv.conf).
- 类型
array
.spec.template.spec.network.devices[].nameservers[]
- 类型
string
.spec.template.spec.network.devices[].routes
- 描述
- Routes is a list of optional, static routes applied to the device.
- 类型
array
.spec.template.spec.network.devices[].routes[]
- 描述
- NetworkRouteSpec defines a static network route.
- 类型
object- 必填
metrictovia
.spec.template.spec.network.devices[].searchDomains
- 描述
- SearchDomains is a list of search domains used when resolving IP addresses with DNS.
- 类型
array
.spec.template.spec.network.devices[].searchDomains[]
- 类型
string
.spec.template.spec.network.routes
- 描述
- Routes is a list of optional, static routes applied to the virtual machine.
- 类型
array
.spec.template.spec.network.routes[]
- 描述
- NetworkRouteSpec defines a static network route.
- 类型
object- 必填
metrictovia
.spec.template.spec.pciDevices
- 描述
- PciDevices is the list of pci devices used by the virtual machine.
- 类型
array
.spec.template.spec.pciDevices[]
- 描述
- PCIDeviceSpec defines virtual machine's PCI configuration.
- 类型
object
.spec.template.spec.tagIDs
- 描述
- TagIDs is an optional set of tags to add to an instance. Specified tagIDs must use URN-notation instead of display names.
- 类型
array
.spec.template.spec.tagIDs[]
- 类型
string
API 端点
可用的 API 端点如下:
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/vspheremachinetemplatesDELETE: delete collection of VSphereMachineTemplateGET: list objects of kind VSphereMachineTemplatePOST: create a new VSphereMachineTemplate
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/vspheremachinetemplates/{name}DELETE: delete the specified VSphereMachineTemplateGET: read the specified VSphereMachineTemplatePATCH: partially update the specified VSphereMachineTemplatePUT: replace the specified VSphereMachineTemplate
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/vspheremachinetemplates
- HTTP 方法
DELETE- 描述
- delete collection of VSphereMachineTemplate
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind VSphereMachineTemplate
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new VSphereMachineTemplate
- 查询参数
- 请求体参数
- HTTP 响应
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/vspheremachinetemplates/{name}
- HTTP 方法
DELETE- 描述
- delete the specified VSphereMachineTemplate
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified VSphereMachineTemplate
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified VSphereMachineTemplate
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified VSphereMachineTemplate
- 查询参数
- 请求体参数
- HTTP 响应