VSphereMachine [infrastructure.cluster.x-k8s.io/v1beta1]
- 描述
- VSphereMachine is the Schema for the vspheremachines API.
- 类型
object
规格
.spec
- 描述
- VSphereMachineSpec defines the desired state of VSphereMachine.
- 类型
object- 必填
networktemplate
.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.additionalDisksGiB[]
- 类型
integer
.spec.customVMXKeys
- 描述
- CustomVMXKeys is a dictionary of advanced VMX options that can be set on VM Defaults to empty map
- 类型
object
.spec.dataDisks
- 描述
- DataDisks are additional disks to add to the VM that are not part of the VM's OVA template.
- 类型
array
.spec.dataDisks[]
- 描述
- VSphereDisk is an additional disk to add to the VM that is not part of the VM OVA template.
- 类型
object- 必填
namesizeGiB
.spec.machineConfigPoolRef
- 描述
- MachineConfigPoolRef is a reference to the VSphereMachineConfigPool to use for this machine.
- 类型
object
.spec.namingStrategy
- 描述
- NamingStrategy allows configuring the naming strategy used when calculating the name of the VSphereVM.
- 类型
object
.spec.network
- 描述
- Network is the network configuration for this machine's VM.
- 类型
object- 必填
devices
.spec.network.devices
- 描述
- Devices is the list of network devices used by the virtual machine.
- 类型
array
.spec.network.devices[]
- 描述
- NetworkDeviceSpec defines the network configuration for a virtual machine's network device.
- 类型
object- 必填
networkName
.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.network.devices[].addressesFromPools[]
- 描述
- TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.
- 类型
object- 必填
kindname
.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.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.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.network.devices[].ipAddrs[]
- 类型
string
.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.network.devices[].nameservers[]
- 类型
string
.spec.network.devices[].routes
- 描述
- Routes is a list of optional, static routes applied to the device.
- 类型
array
.spec.network.devices[].routes[]
- 描述
- NetworkRouteSpec defines a static network route.
- 类型
object- 必填
metrictovia
.spec.network.devices[].searchDomains
- 描述
- SearchDomains is a list of search domains used when resolving IP addresses with DNS.
- 类型
array
.spec.network.devices[].searchDomains[]
- 类型
string
.spec.network.routes
- 描述
- Routes is a list of optional, static routes applied to the virtual machine.
- 类型
array
.spec.network.routes[]
- 描述
- NetworkRouteSpec defines a static network route.
- 类型
object- 必填
metrictovia
.spec.pciDevices
- 描述
- PciDevices is the list of pci devices used by the virtual machine.
- 类型
array
.spec.pciDevices[]
- 描述
- PCIDeviceSpec defines virtual machine's PCI configuration.
- 类型
object
.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.tagIDs[]
- 类型
string
.status
- 描述
- VSphereMachineStatus defines the observed state of VSphereMachine.
- 类型
object
.status.addresses
- 描述
- Addresses contains the VSphere instance associated addresses.
- 类型
array
.status.addresses[]
- 描述
- MachineAddress contains information for the node's address.
- 类型
object- 必填
addresstype
.status.conditions
- 描述
- Conditions defines current service state of the VSphereMachine.
- 类型
array
.status.conditions[]
- 描述
- Condition defines an observation of a Cluster API resource operational state.
- 类型
object- 必填
lastTransitionTimestatustype
.status.network
- 描述
- Network returns the network status for each of the machine's configured network interfaces.
- 类型
array
.status.network[]
- 描述
- NetworkStatus provides information about one of a VM's networks.
- 类型
object- 必填
macAddr
.status.network[].ipAddrs
- 描述
- IPAddrs is one or more IP addresses reported by vm-tools.
- 类型
array
.status.network[].ipAddrs[]
- 类型
string
.status.v1beta2
- 描述
- v1beta2 groups all the fields that will be added or modified in VSphereMachine's status with the V1Beta2 version.
- 类型
object
.status.v1beta2.conditions
- 描述
- conditions represents the observations of a VSphereMachine's current state. Known condition types are Ready, VirtualMachineProvisioned and Paused.
- 类型
array
.status.v1beta2.conditions[]
- 描述
- Condition contains details for one aspect of the current state of this API Resource.
- 类型
object- 必填
lastTransitionTimemessagereasonstatustype
API 端点
可用的 API 端点如下:
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/vspheremachinesDELETE: delete collection of VSphereMachineGET: list objects of kind VSphereMachinePOST: create a new VSphereMachine
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/vspheremachines/{name}DELETE: delete the specified VSphereMachineGET: read the specified VSphereMachinePATCH: partially update the specified VSphereMachinePUT: replace the specified VSphereMachine
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/vspheremachines/{name}/statusGET: read status of the specified VSphereMachinePATCH: partially update status of the specified VSphereMachinePUT: replace status of the specified VSphereMachine
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/vspheremachines
- HTTP 方法
DELETE- 描述
- delete collection of VSphereMachine
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind VSphereMachine
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new VSphereMachine
- 查询参数
- 请求体参数
- HTTP 响应
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/vspheremachines/{name}
- HTTP 方法
DELETE- 描述
- delete the specified VSphereMachine
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified VSphereMachine
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified VSphereMachine
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified VSphereMachine
- 查询参数
- 请求体参数
- HTTP 响应
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/vspheremachines/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified VSphereMachine
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified VSphereMachine
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified VSphereMachine
- 查询参数
- 请求体参数
- HTTP 响应