API Reference
API Reference
vmoperator.vmware.com/v1alpha1
Package v1alpha1 contains the VM Operator v1alpha1 APIs.
ClassReference
ClassReference contains info to locate a Kind VirtualMachineClass object.
| Field | Description | Default | Validation |
|---|---|---|---|
|
API version of the referent. |
||
|
Kind is the type of resource being referenced. |
||
|
Name is the name of resource being referenced. |
ClusterModuleSpec
ClusterModuleSpec defines a grouping of VirtualMachines that are to be grouped together as a logical unit by the infrastructure provider. Within vSphere, the ClusterModuleSpec maps directly to a vSphere ClusterModule.
| Field | Description | Default | Validation |
|---|---|---|---|
|
GroupName describes the name of the ClusterModule Group. |
ClusterModuleStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
ClusterVirtualMachineImage
ClusterVirtualMachineImage is the schema for the clustervirtualmachineimage API A ClusterVirtualMachineImage represents the desired specification and the observed status of a ClusterVirtualMachineImage instance.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
Condition
Condition defines an observation of a VM Operator API resource operational state.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Type of condition in CamelCase or in foo.example.com/CamelCase. |
||
|
Status of the condition, one of True, False, Unknown. |
||
|
Severity provides an explicit classification of Reason code, so the users or machines can immediately |
||
|
Last time the condition transitioned from one status to another. |
||
|
The reason for the condition’s last transition in CamelCase. |
||
|
A human readable message indicating details about the transition. |
ConditionSeverity
Underlying type: string
ConditionSeverity expresses the severity of a Condition Type failing.
ConditionType
Underlying type: string
ConditionType is a valid value for Condition.Type.
ContentLibraryProvider
ContentLibraryProvider is the Schema for the contentlibraryproviders API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
ContentLibraryProviderSpec
ContentLibraryProviderSpec defines the desired state of ContentLibraryProvider.
| Field | Description | Default | Validation |
|---|---|---|---|
|
UUID describes the UUID of a vSphere content library. It is the unique identifier for a |
ContentLibraryProviderStatus
ContentLibraryProviderStatus defines the observed state of ContentLibraryProvider Can include fields indicating when was the last time VM images were updated from a library.
ContentProviderReference
ContentProviderReference contains the info to locate a content provider resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
API version of the referent. |
||
|
Kind is the type of resource being referenced. |
||
|
Name is the name of resource being referenced. |
||
|
Namespace of the resource being referenced. If empty, cluster scoped resource is assumed. |
ContentSource
ContentSource is the Schema for the contentsources API. A ContentSource represents the desired specification and the observed status of a ContentSource instance.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
ContentSourceBinding
ContentSourceBinding is an object that represents a ContentSource to Namespace mapping.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
ContentSourceRef is a reference to a ContentSource object. |
ContentSourceReference
ContentSourceReference contains info to locate a Kind ContentSource object.
| Field | Description | Default | Validation |
|---|---|---|---|
|
API version of the referent. |
||
|
Kind is the type of resource being referenced. |
||
|
Name is the name of resource being referenced. |
ContentSourceSpec
ContentSourceSpec defines the desired state of ContentSource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ProviderRef is a reference to a content provider object that describes a provider. |
ContentSourceStatus
ContentSourceStatus defines the observed state of ContentSource.
DynamicDirectPathIODevice
DynamicDirectPathIODevice contains the configuration corresponding to a Dynamic DirectPath I/O device.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
FolderSpec
FolderSpec defines a Folder.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the name of the Folder |
GuestHeartbeatAction
GuestHeartbeatAction describes an action based on the guest heartbeat.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ThresholdStatus is the value that the guest heartbeat status must be at or above to be |
green |
Enum: [yellow green] |
GuestHeartbeatStatus
Underlying type: string
GuestHeartbeatStatus is the status type for a GuestHeartbeat.
InstanceStorage
InstanceStorage provides information used to configure instance storage volumes for a VirtualMachine.
| Field | Description | Default | Validation |
|---|---|---|---|
|
StorageClass refers to the name of a StorageClass resource used to |
||
|
Volumes describes instance storage volumes created for a VirtualMachine |
InstanceStorageVolume
InstanceStorageVolume contains information required to create an instance storage volume on a VirtualMachine.
| Field | Description | Default | Validation |
|---|---|---|---|
|
InstanceVolumeClaimVolumeSource
InstanceVolumeClaimVolumeSource contains information about the instance storage volume claimed as a PVC.
| Field | Description | Default | Validation |
|---|---|---|---|
|
StorageClass is the name of the Kubernetes StorageClass that provides |
||
|
Size is the size of the requested instance storage volume. |
LoadBalancerIngress
LoadBalancerIngress represents the status of a load balancer ingress point: traffic intended for the service should be sent to an ingress point. IP or Hostname may both be set in this structure. It is up to the consumer to determine which field should be used when accessing this LoadBalancer.
| Field | Description | Default | Validation |
|---|---|---|---|
|
IP is set for load balancer ingress points that are specified by an IP address. |
||
|
Hostname is set for load balancer ingress points that are specified by a DNS address. |
LoadBalancerStatus
LoadBalancerStatus represents the status of a load balancer.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Ingress is a list containing ingress addresses for the load balancer. |
NetworkDeviceStatus
NetworkDeviceStatus defines the network interface IP configuration including gateway, subnetmask and IP address as seen by OVF properties.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Gateway4 is the gateway for the IPv4 address family for this device. |
||
|
MacAddress is the MAC address of the network device. |
||
|
IpAddresses represents one or more IP addresses assigned to the network |
NetworkInterfaceProviderReference
NetworkInterfaceProviderReference contains info to locate a network interface provider object.
| Field | Description | Default | Validation |
|---|---|---|---|
|
APIGroup is the group for the resource being referenced. |
||
|
Kind is the type of resource being referenced |
||
|
Name is the name of resource being referenced |
||
|
API version of the referent. |
NetworkInterfaceStatus
NetworkInterfaceStatus defines the observed state of network interfaces attached to the VirtualMachine as seen by the Guest OS and VMware tools.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Connected represents whether the network interface is connected or not. |
||
|
MAC address of the network adapter |
||
|
IpAddresses represents zero, one or more IP addresses assigned to the network interface in CIDR notation. |
NetworkStatus
NetworkStatus describes the observed state of the VM’s network configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Devices describe a list of current status information for each |
||
|
Nameservers describe a list of the DNS servers accessible by one of the |
OvfProperty
OvfProperty describes information related to a user configurable property element that is supported by VirtualMachineImage and can be customized during VirtualMachine creation.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Key describes the key of the ovf property. |
||
|
Type describes the type of the ovf property. |
||
|
Default describes the default value of the ovf key. |
||
|
Description contains the value of the OVF property’s optional |
||
|
Label contains the value of the OVF property’s optional |
PersistentVolumeClaimVolumeSource
PersistentVolumeClaimVolumeSource is a composite for the Kubernetes corev1.PersistentVolumeClaimVolumeSource and instance storage options.
| Field | Description | Default | Validation |
|---|---|---|---|
|
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. |
||
|
readOnly Will force the ReadOnly setting in VolumeMounts. |
||
|
InstanceVolumeClaim is set if the PVC is backed by instance storage. |
Probe
Probe describes a health check to be performed against a VirtualMachine to determine whether it is alive or ready to receive traffic. Only one probe action can be specified.
| Field | Description | Default | Validation |
|---|---|---|---|
|
TCPSocket specifies an action involving a TCP port. Deprecated: The TCPSocket action requires network connectivity that is not supported in all environments. |
||
|
GuestHeartbeat specifies an action involving the guest heartbeat status. |
||
|
TimeoutSeconds specifies a number of seconds after which the probe times out. |
Maximum: 60 |
|
|
PeriodSeconds specifics how often (in seconds) to perform the probe. |
Minimum: 1 |
ResourcePoolSpec
ResourcePoolSpec defines a Logical Grouping of workloads that share resource policies.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the name of the ResourcePool grouping. |
||
|
Reservations describes the guaranteed resources reserved for the ResourcePool. |
||
|
Limits describes the limit to resources available to the ResourcePool. |
ResourcePoolStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
TCPSocketAction
TCPSocketAction describes an action based on opening a socket.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Port specifies a number or name of the port to access on the VirtualMachine. |
||
|
Host is an optional host name to connect to. Host defaults to the VirtualMachine IP. |
VGPUDevice
VGPUDevice contains the configuration corresponding to a vGPU device.
| Field | Description | Default | Validation |
|---|---|---|---|
|
VMStatusPhase
Underlying type: string
VMStatusPhase is used to indicate the phase of a VirtualMachine’s lifecycle.
VirtualDevices
VirtualDevices contains information about the virtual devices associated with a VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachine
VirtualMachine is the Schema for the virtualmachines API. A VirtualMachine represents the desired specification and the observed status of a VirtualMachine instance. A VirtualMachine is realized by the VirtualMachine controller on a backing Virtual Infrastructure provider such as vSphere.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
VirtualMachineAdvancedOptions
VirtualMachineAdvancedOptions describes a set of optional, advanced options for configuring a VirtualMachine.
| Field | Description | Default | Validation |
|---|---|---|---|
|
DefaultProvisioningOptions specifies the provisioning type to be used by default for VirtualMachine volumes exclusively |
||
|
ChangeBlockTracking specifies the enablement of incremental backup support for this VirtualMachine, which can be utilized |
VirtualMachineClass
VirtualMachineClass is the Schema for the virtualmachineclasses API. A VirtualMachineClass represents the desired specification and the observed status of a VirtualMachineClass instance. A VirtualMachineClass represents a policy and configuration resource which defines a set of attributes to be used in the configuration of a VirtualMachine instance. A VirtualMachine resource references a VirtualMachineClass as a required input.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineClassBinding
VirtualMachineClassBinding is a binding object responsible for defining a VirtualMachineClass and a Namespace associated with it.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
ClassReference is a reference to a VirtualMachineClass object |
VirtualMachineClassHardware
VirtualMachineClassHardware describes a virtual hardware resource specification.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
|||
|
VirtualMachineClassPolicies
VirtualMachineClassPolicies describes the policy configuration to be used by a VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
VirtualMachineClassResources
VirtualMachineClassResources describes the virtual hardware resource reservations and limits configuration to be used by a VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachineClassSpec
VirtualMachineClassSpec defines the desired state of VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ControllerName describes the name of the controller responsible for When omitted, controllers reconciling VirtualMachine resources determine Once a non-empty value is assigned to this field, attempts to set this |
||
|
Hardware describes the configuration of the VirtualMachineClass attributes related to virtual hardware. The |
||
|
Policies describes the configuration of the VirtualMachineClass attributes related to virtual infrastructure |
||
|
Description describes the configuration of the VirtualMachineClass which is not related to virtual hardware |
||
|
ConfigSpec describes additional configuration information for a |
Schemaless: \{} |
|
|
ReservedProfileID describes the reservation profile associated with |
||
|
ReservedSlots describes the number of slots reserved for VMs that use |
Minimum: 0 |
VirtualMachineClassStatus
VirtualMachineClassStatus defines the observed state of VirtualMachineClass. VirtualMachineClasses are immutable, non-dynamic resources, so this status is currently unused.
VirtualMachineImage
VirtualMachineImage is the Schema for the virtualmachineimages API A VirtualMachineImage represents a VirtualMachine image (e.g. VM template) that can be used as the base image for creating a VirtualMachine instance. The VirtualMachineImage is a required field of the VirtualMachine spec. Currently, VirtualMachineImages are immutable to end users.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineImageOSInfo
VirtualMachineImageOSInfo describes optional information related to the image operating system that can be added to an image template. This information can be used by the image author to communicate details of the operating system associated with the image.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Version typically describes the version of the guest operating system. |
||
|
Type typically describes the type of the guest operating system. |
VirtualMachineImageProductInfo
VirtualMachineImageProductInfo describes optional product-related information that can be added to an image template. This information can be used by the image author to communicate details of the product contained in the image.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Product typically describes the type of product contained in the image. |
||
|
Vendor typically describes the name of the vendor that is producing the image. |
||
|
Version typically describes a short-form version of the image. |
||
|
FullVersion typically describes a long-form version of the image. |
VirtualMachineImageSpec
VirtualMachineImageSpec defines the desired state of VirtualMachineImage.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Type describes the type of the VirtualMachineImage. Currently, the only supported image is "OVF" |
||
|
ImageSourceType describes the type of content source of the VirtualMachineImage. The only Content Source |
||
|
ImageID is a unique identifier exposed by the provider of this VirtualMachineImage. |
||
|
ProviderRef is a reference to a content provider object that describes a provider. |
||
|
ProductInfo describes the attributes of the VirtualMachineImage relating to the product contained in the |
||
|
OSInfo describes the attributes of the VirtualMachineImage relating to the Operating System contained in the |
||
|
OVFEnv describes the user configurable customization parameters of the VirtualMachineImage. |
||
|
HardwareVersion describes the virtual hardware version of the image |
VirtualMachineImageStatus
VirtualMachineImageStatus defines the observed state of VirtualMachineImage.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Deprecated |
||
|
Deprecated |
||
|
Deprecated |
||
|
ImageName describes the display name of this image. |
||
|
ImageSupported indicates whether the VirtualMachineImage is supported by VMService. |
||
|
Conditions describes the current condition information of the VirtualMachineImage object. e.g. if the OS type |
||
|
ContentLibraryRef is a reference to the source ContentLibrary/ClusterContentLibrary resource. Deprecated: This field is provider specific but the VirtualMachineImage types are intended to be provider generic. |
||
|
ContentVersion describes the observed content version of this VirtualMachineImage that was last successfully |
||
|
Firmware describe the firmware type used by this VirtualMachineImage. |
VirtualMachineMetadata
VirtualMachineMetadata defines any metadata that should be passed to the VirtualMachine instance. A typical use case is for this metadata to be used for Guest Customization, however the intended use of the metadata is agnostic to the VirtualMachine controller. VirtualMachineMetadata is read from a configured ConfigMap or a Secret and then propagated to the VirtualMachine instance using a desired "Transport" mechanism.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ConfigMapName describes the name of the ConfigMap, in the same Namespace as the VirtualMachine, that should be |
||
|
SecretName describes the name of the Secret, in the same Namespace as the VirtualMachine, that should be used |
||
|
Transport describes the name of a supported VirtualMachineMetadata transport protocol. Currently, the only supported |
Enum: [ExtraConfig OvfEnv vAppConfig CloudInit Sysprep] |
VirtualMachineMetadataTransport
Underlying type: string
VirtualMachineMetadataTransport is used to indicate the transport used by VirtualMachineMetadata Valid values are "ExtraConfig", "OvfEnv", "vAppConfig", "CloudInit", and "Sysprep".
-
Enum: [ExtraConfig OvfEnv vAppConfig CloudInit Sysprep]
VirtualMachineNetworkInterface
VirtualMachineNetworkInterface defines the properties of a network interface to attach to a VirtualMachine instance. A VirtualMachineNetworkInterface describes network interface configuration that is used by the VirtualMachine controller when integrating the VirtualMachine into a VirtualNetwork. Currently, only NSX-T and vSphere Distributed Switch (VDS) type network integrations are supported using this VirtualMachineNetworkInterface structure.
| Field | Description | Default | Validation |
|---|---|---|---|
|
NetworkType describes the type of VirtualNetwork that is referenced by the NetworkName. Currently, the supported |
||
|
NetworkName describes the name of an existing virtual network that this interface should be added to. |
||
|
ProviderRef is reference to a network interface provider object that specifies the network interface configuration. |
||
|
EthernetCardType describes an optional ethernet card that should be used by the VirtualNetworkInterface (vNIC) |
VirtualMachinePort
VirtualMachinePort is unused and can be considered deprecated.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
|||
|
VirtualMachinePowerOpMode
Underlying type: string
VirtualMachinePowerOpMode represents the various power operation modes when powering off or suspending a VM.
-
Enum: [hard soft trySoft]
VirtualMachinePowerState
Underlying type: string
VirtualMachinePowerState represents the power state of a VirtualMachine.
-
Enum: [poweredOn poweredOff suspended]
VirtualMachinePublishRequest
VirtualMachinePublishRequest defines the information necessary to publish a VirtualMachine as a VirtualMachineImage to an image registry.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachinePublishRequestSource
VirtualMachinePublishRequestSource is the source of a publication request, typically a VirtualMachine resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of the referenced object. If omitted this value defaults to the name of the |
||
|
APIVersion is the API version of the referenced object. |
vmoperator.vmware.com/v1alpha1 |
|
|
Kind is the kind of referenced object. |
VirtualMachine |
VirtualMachinePublishRequestSpec
VirtualMachinePublishRequestSpec defines the desired state of a VirtualMachinePublishRequest.
All the fields in this spec are optional. This is especially useful when a DevOps persona wants to publish a VM without doing anything more than applying a VirtualMachinePublishRequest resource that has the same name as said VM in the same namespace as said VM.
| Field | Description | Default | Validation |
|---|---|---|---|
Source is the source of the publication request, ex. a VirtualMachine If this value is omitted then the publication controller checks to |
|||
Target is the target of the publication request, ex. item If this value is omitted, the controller uses spec.source.name + "-image" Please note that while optional, if a VirtualMachinePublishRequest sans |
|||
|
TTLSecondsAfterFinished is the time-to-live duration for how long this If this field is unset then the request resource will not be |
Minimum: 0 |
VirtualMachinePublishRequestStatus
VirtualMachinePublishRequestStatus defines the observed state of a VirtualMachinePublishRequest.
| Field | Description | Default | Validation |
|---|---|---|---|
|
SourceRef is the reference to the source of the publication request, |
||
|
TargetRef is the reference to the target of the publication request, |
||
|
CompletionTime represents time when the request was completed. It is not The value of this field should be equal to the value of the |
||
|
StartTime represents time when the request was acknowledged by the |
||
|
Attempts represents the number of times the request to publish the VM |
||
|
LastAttemptTime represents the time when the latest request was sent. |
||
|
ImageName is the name of the VirtualMachineImage resource that is This field will not be set until the VirtualMachineImage resource |
||
|
Ready is set to true only when the VM has been published successfully Readiness is determined by waiting until there is status condition
|
||
|
Conditions is a list of the latest, available observations of the |
VirtualMachinePublishRequestTarget
VirtualMachinePublishRequestTarget is the target of a publication request, typically a ContentLibrary resource.
| Field | Description | Default | Validation |
|---|---|---|---|
Item contains information about the name of the object to which Please note this value is optional and if omitted, the controller |
|||
Location contains information about the location to which to publish |
VirtualMachinePublishRequestTargetItem
VirtualMachinePublishRequestTargetItem is the item part of a publication request’s target.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the display name of the published object. If the spec.target.location.apiVersion equals If omitted then the controller will use spec.source.name + "-image". |
||
|
Description is the description to assign to the published object. |
VirtualMachinePublishRequestTargetLocation
VirtualMachinePublishRequestTargetLocation is the location part of a publication request’s target.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of the referenced object. Please note an error will be returned if this field is not A default publication target is a resource with an API version |
||
|
APIVersion is the API version of the referenced object. |
imageregistry.vmware.com/v1alpha1 |
|
|
Kind is the kind of referenced object. |
ContentLibrary |
VirtualMachineResourceSpec
VirtualMachineResourceSpec describes a virtual hardware policy specification.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachineService
VirtualMachineService is the Schema for the virtualmachineservices API. A VirtualMachineService represents the desired specification and the observed status of a VirtualMachineService instance. A VirtualMachineService represents a network service, provided by one or more VirtualMachines, that is desired to be exposed to other workloads both internal and external to the cluster.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineServicePort
VirtualMachineServicePort describes the specification of a service port to be exposed by a VirtualMachineService. This VirtualMachineServicePort specification includes attributes that define the external and internal representation of the service port.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the name to be used to identify this VirtualMachineServicePort |
||
|
Protocol describes the Layer 4 transport protocol for this port. Supports "TCP", "UDP", and "SCTP". |
||
|
Port describes the external port that will be exposed by the service. |
||
|
TargetPort describes the internal port open on a VirtualMachine that should be mapped to the external Port. |
VirtualMachineServiceSpec
VirtualMachineServiceSpec defines the desired state of VirtualMachineService. Each VirtualMachineService exposes a set of TargetPorts on a set of VirtualMachine instances as a network endpoint within or outside of the Kubernetes cluster. The VirtualMachineService is loosely coupled to the VirtualMachines that are backing it through the use of a Label Selector. In Kubernetes, a Label Selector enables matching of a resource using a set of key-value pairs, aka Labels. By using a Label Selector, the VirtualMachineService can be generically defined to apply to any VirtualMachine in the same namespace that has the appropriate set of labels.
| Field | Description | Default | Validation |
|---|---|---|---|
Type specifies a desired VirtualMachineServiceType for this VirtualMachineService. Supported types |
|||
|
Ports specifies a list of VirtualMachineServicePort to expose with this VirtualMachineService. Each of these ports |
||
|
Selector specifies a map of key-value pairs, also known as a Label Selector, that is used to match this |
||
|
Only applies to VirtualMachineService Type: LoadBalancer |
||
|
LoadBalancerSourceRanges is an array of IP addresses in the format of |
||
|
clusterIP is the IP address of the service and is usually assigned |
||
|
externalName is the external reference that kubedns or equivalent will |
VirtualMachineServiceStatus
VirtualMachineServiceStatus defines the observed state of VirtualMachineService.
| Field | Description | Default | Validation |
|---|---|---|---|
|
LoadBalancer contains the current status of the load balancer, |
VirtualMachineServiceType
Underlying type: string
VirtualMachineServiceType string describes ingress methods for a service.
VirtualMachineSetResourcePolicy
VirtualMachineSetResourcePolicy is the Schema for the virtualmachinesetresourcepolicies API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachineSetResourcePolicySpec
VirtualMachineSetResourcePolicySpec defines the desired state of VirtualMachineSetResourcePolicy.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
VirtualMachineSetResourcePolicyStatus
VirtualMachineSetResourcePolicyStatus defines the observed state of VirtualMachineSetResourcePolicy.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachineSpec
VirtualMachineSpec defines the desired state of a VirtualMachine.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ImageName describes the name of the image resource used to deploy this This field may be used to specify the name of a VirtualMachineImage This field may also be used to specify the display name (vSphere name) of |
||
|
ClassName describes the name of a VirtualMachineClass that is to be used as the overlaid resource configuration |
||
|
PowerState describes the desired power state of a VirtualMachine. Please note this field may be omitted when creating a new VM and will Additionally, setting this value to "suspended" is not supported when |
Enum: [poweredOn poweredOff suspended] |
|
|
PowerOffMode describes the desired behavior when powering off a VM. There are three, supported power off modes: hard, soft, and If omitted, the mode defaults to hard. |
hard |
Enum: [hard soft trySoft] |
|
SuspendMode describes the desired behavior when suspending a VM. There are three, supported suspend modes: hard, soft, and If omitted, the mode defaults to hard. |
hard |
Enum: [hard soft trySoft] |
|
NextRestartTime may be used to restart the VM, in accordance with A mutating webhook changes this value to the current time (UTC), which Please note it is not possible to schedule future restarts using this |
||
|
RestartMode describes the desired behavior for restarting a VM when There are three, supported suspend modes: hard, soft, and If omitted, the mode defaults to hard. |
hard |
Enum: [hard soft trySoft] |
|
Ports is currently unused and can be considered deprecated. |
||
|
VmMetadata describes any optional metadata that should be passed to the Guest OS. |
||
|
StorageClass describes the name of a StorageClass that should be used to configure storage-related attributes of the VirtualMachine |
||
|
NetworkInterfaces describes a list of VirtualMachineNetworkInterfaces to be configured on the VirtualMachine instance. The maximum number of network interface allowed is 10 because of the limit built into vSphere. |
MaxItems: 10 |
|
|
ResourcePolicyName describes the name of a VirtualMachineSetResourcePolicy to be used when creating the |
||
|
Volumes describes the list of VirtualMachineVolumes that are desired to be attached to the VirtualMachine. Each of |
||
|
ReadinessProbe describes a network probe that can be used to determine if the VirtualMachine is available and |
||
|
AdvancedOptions describes a set of optional, advanced options for configuring a VirtualMachine |
||
|
MinHardwareVersion specifies the desired minimum hardware version Usually the VM’s hardware version is derived from: This field is never updated to reflect the derived hardware version. Please note, setting this field’s value to N ensures a VM’s hardware Several features are hardware version dependent, for example:
Please refer to https://kb.vmware.com/s/article/1003746 for a list of VM It is important to remember that a VM’s hardware version may not be |
Minimum: 13 |
VirtualMachineStatus
VirtualMachineStatus defines the observed state of a VirtualMachine instance.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Host describes the hostname or IP address of the infrastructure host that the VirtualMachine is executing on. |
||
|
HostName describes the observed hostname reported by the VirtualMachine’s Please note, this value is only reported if VMware Tools is installed in |
||
|
PowerState describes the current power state of the VirtualMachine. |
Enum: [poweredOn poweredOff suspended] |
|
|
Phase describes the current phase information of the VirtualMachine. |
||
|
Conditions describes the current condition information of the VirtualMachine. |
||
|
VmIp describes the Primary IP address assigned to the guest operating system, if known. |
||
|
UniqueID describes a unique identifier that is provided by the underlying infrastructure provider, such as |
||
|
BiosUUID describes a unique identifier provided by the underlying infrastructure provider that is exposed to the |
||
|
InstanceUUID describes the unique instance UUID provided by the underlying infrastructure provider, such as vSphere. |
||
|
Volumes describes a list of current status information for each Volume that is desired to be attached to the |
||
|
ChangeBlockTracking describes the CBT enablement status on the VirtualMachine. |
||
|
NetworkInterfaces describes a list of current status information for each network interface that is desired to |
||
|
Zone describes the availability zone where the VirtualMachine has been scheduled. |
||
|
LastRestartTime describes the last time the VM was restarted. |
||
|
HardwareVersion describes the VirtualMachine resource’s observed Please refer to VirtualMachineSpec.MinHardwareVersion for more |
VirtualMachineVolume
VirtualMachineVolume describes a Volume that should be attached to a specific VirtualMachine. Only one of PersistentVolumeClaim, VsphereVolume should be specified.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name specifies the name of the VirtualMachineVolume. Each volume within the scope of a VirtualMachine must |
||
|
PersistentVolumeClaim represents a reference to a PersistentVolumeClaim
|
||
|
VsphereVolume represents a reference to a VsphereVolumeSource in the same namespace. Only one of PersistentVolumeClaim or |
VirtualMachineVolumeProvisioningOptions
VirtualMachineVolumeProvisioningOptions specifies the provisioning options for a VirtualMachineVolume.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ThinProvisioned specifies whether to use thin provisioning for the VirtualMachineVolume. |
||
|
EagerZeroed specifies whether to use eager zero provisioning for the VirtualMachineVolume. |
VirtualMachineVolumeStatus
VirtualMachineVolumeStatus defines the observed state of a VirtualMachineVolume instance.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of the volume in a VirtualMachine. |
||
|
Attached represents whether a volume has been successfully attached to the VirtualMachine or not. |
||
|
DiskUuid represents the underlying virtual disk UUID and is present when attachment succeeds. |
||
|
Error represents the last error seen when attaching or detaching a volume. Error will be empty if attachment succeeds. |
VsphereVolumeSource
VsphereVolumeSource describes a volume source that represent static disks that belong to a VirtualMachine.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Device key of vSphere disk. |
WebConsoleRequest
WebConsoleRequest allows the creation of a one-time web console ticket that can be used to interact with the VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
WebConsoleRequestSpec
WebConsoleRequestSpec describes the specification for used to request a web console request.
| Field | Description | Default | Validation |
|---|---|---|---|
|
VirtualMachineName is the VM in the same namespace, for which the web console is requested. |
||
|
PublicKey is used to encrypt the status.response. This is expected to be a RSA OAEP public key in X.509 PEM format. |
WebConsoleRequestStatus
WebConsoleRequestStatus defines the observed state, which includes the web console request itself.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Response will be the authenticated ticket corresponding to this web console request. |
||
|
ExpiryTime is when the ticket referenced in Response will expire. |
||
|
ProxyAddr describes the host address and optional port used to access DNS IPv4 IPv6 In other words, the field may be set to any value that is parsable |
vmoperator.vmware.com/v1alpha2
AffinitySpec
AffinitySpec defines the group of affinity scheduling rules.
| Field | Description | Default | Validation |
|---|---|---|---|
|
VMAffinity describes affinity scheduling rules related to other VMs. |
||
|
VMAntiAffinity describes anti-affinity scheduling rules related to other |
ClusterVirtualMachineImage
ClusterVirtualMachineImage is the schema for the clustervirtualmachineimages API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
DynamicDirectPathIODevice
DynamicDirectPathIODevice contains the configuration corresponding to a Dynamic DirectPath I/O device.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
GroupMember
GroupMember describes a member of a VirtualMachineGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of member of this group. |
||
|
Kind is the kind of member of this group, which can be either If omitted, it defaults to VirtualMachine. |
VirtualMachine |
Enum: [VirtualMachine VirtualMachineGroup] |
GuestHeartbeatAction
GuestHeartbeatAction describes an action based on the guest heartbeat.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ThresholdStatus is the value that the guest heartbeat status must be at or above to be |
green |
Enum: [yellow green] |
GuestHeartbeatStatus
Underlying type: string
GuestHeartbeatStatus is the guest heartbeat status.
GuestInfoAction
GuestInfoAction describes a key from GuestInfo that must match the associated value expression.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Key is the name of the GuestInfo key. The key is automatically prefixed with "guestinfo." before being |
||
|
Value is a regular expression that is matched against the value of the An empty value is the equivalent of "match any" or ".*". All values must adhere to the RE2 regular expression syntax as documented |
InstanceStorage
InstanceStorage provides information used to configure instance storage volumes for a VirtualMachine.
| Field | Description | Default | Validation |
|---|---|---|---|
|
StorageClass refers to the name of a StorageClass resource used to |
||
|
Volumes describes instance storage volumes created for a VirtualMachine |
InstanceStorageVolume
InstanceStorageVolume contains information required to create an instance storage volume on a VirtualMachine.
| Field | Description | Default | Validation |
|---|---|---|---|
|
InstanceVolumeClaimVolumeSource
InstanceVolumeClaimVolumeSource contains information about the instance storage volume claimed as a PVC.
| Field | Description | Default | Validation |
|---|---|---|---|
|
StorageClass is the name of the Kubernetes StorageClass that provides |
||
|
Size is the size of the requested instance storage volume. |
LoadBalancerIngress
LoadBalancerIngress represents the status of a load balancer ingress point: traffic intended for the service should be sent to an ingress point. IP or Hostname may both be set in this structure. It is up to the consumer to determine which field should be used when accessing this LoadBalancer.
| Field | Description | Default | Validation |
|---|---|---|---|
|
IP is set for load balancer ingress points that are specified by an IP |
||
|
Hostname is set for load balancer ingress points that are specified by a |
LoadBalancerStatus
LoadBalancerStatus represents the status of a load balancer.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Ingress is a list containing ingress addresses for the load balancer. |
NetworkDeviceStatus
NetworkDeviceStatus defines the network interface IP configuration including gateway, subnet mask and IP address as seen by OVF properties.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Gateway4 is the gateway for the IPv4 address family for this device. |
||
|
MacAddress is the MAC address of the network device. |
||
|
IpAddresses represents one or more IP addresses assigned to the network |
NetworkStatus
NetworkStatus describes the observed state of the VM’s network configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Devices describe a list of current status information for each |
||
|
Nameservers describe a list of the DNS servers accessible by one of the |
OVFProperty
OVFProperty describes an OVF property associated with an image. OVF properties may be used in conjunction with the vAppConfig bootstrap provider to customize a VM during its creation.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Key describes the OVF property’s key. |
||
|
Type describes the OVF property’s type. |
||
|
Default describes the OVF property’s default value. |
PersistentVolumeClaimVolumeSource
PersistentVolumeClaimVolumeSource is a composite for the Kubernetes corev1.PersistentVolumeClaimVolumeSource and instance storage options.
| Field | Description | Default | Validation |
|---|---|---|---|
|
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. |
||
|
readOnly Will force the ReadOnly setting in VolumeMounts. |
||
|
InstanceVolumeClaim is set if the PVC is backed by instance storage. |
ResourcePoolSpec
ResourcePoolSpec defines a Logical Grouping of workloads that share resource policies.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the name of the ResourcePool grouping. |
||
|
Reservations describes the guaranteed resources reserved for the |
||
|
Limits describes the limit to resources available to the ResourcePool. |
ResourcePoolStatus
ResourcePoolStatus describes the observed state of a vSphere child resource pool created for the Spec.ResourcePool.Name.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
TCPSocketAction
TCPSocketAction describes an action based on opening a socket.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Port specifies a number or name of the port to access on the VM. |
||
|
Host is an optional host name to connect to. Host defaults to the VM IP. |
VGPUDevice
VGPUDevice contains the configuration corresponding to a vGPU device.
| Field | Description | Default | Validation |
|---|---|---|---|
|
VMAffinitySpec
VMAffinitySpec defines the affinity requirements for scheduling rules related to other VMs.
| Field | Description | Default | Validation |
|---|---|---|---|
|
RequiredDuringSchedulingPreferredDuringExecution describes affinity When there are multiple elements, the lists of nodes corresponding to Note: Any update to this field will replace the entire list rather than |
||
|
PreferredDuringSchedulingPreferredDuringExecution describes affinity When there are multiple elements, the lists of nodes corresponding to Note: Any update to this field will replace the entire list rather than |
VMAffinityTerm
VMAffinityTerm defines the VM affinity/anti-affinity term.
| Field | Description | Default | Validation |
|---|---|---|---|
|
LabelSelector is a label query over a set of VMs. |
||
|
TopologyKey describes where this VM should be co-located (affinity) or not Please note, The following rules apply when specifying the topology key in the context of a zone/host.
|
VMAntiAffinitySpec
VMAntiAffinitySpec defines the anti-affinity requirements for scheduling rules related to other VMs.
| Field | Description | Default | Validation |
|---|---|---|---|
|
RequiredDuringSchedulingPreferredDuringExecution describes anti-affinity When there are multiple elements, the lists of nodes corresponding to Note: Any update to this field will replace the entire list rather than |
||
|
PreferredDuringSchedulingPreferredDuringExecution describes anti-affinity When there are multiple elements, the lists of nodes corresponding to Note: Any update to this field will replace the entire list rather than |
VSphereClusterModuleStatus
VSphereClusterModuleStatus describes the observed state of a vSphere cluster module.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
VirtualDevices
VirtualDevices contains information about the virtual devices associated with a VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachine
VirtualMachine is the schema for the virtualmachines API and represents the desired state and observed status of a virtualmachines resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
VirtualMachineAdvancedSpec
VirtualMachineAdvancedSpec describes a set of optional, advanced VM configuration options.
| Field | Description | Default | Validation |
|---|---|---|---|
|
BootDiskCapacity is the capacity of the VM’s boot disk — the first disk Please note it is not advised to change this value while the VM is |
||
|
DefaultVolumeProvisioningMode specifies the default provisioning mode for |
Enum: [Thin Thick ThickEagerZero] |
|
|
ChangeBlockTracking is a flag that enables incremental backup support |
VirtualMachineBootstrapCloudInitSpec
VirtualMachineBootstrapCloudInitSpec describes the CloudInit configuration used to bootstrap the VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
CloudConfig describes a subset of a Cloud-Init CloudConfig, used to Please note this field and RawCloudConfig are mutually exclusive. |
||
|
RawCloudConfig describes a key in a Secret resource that contains the The CloudConfig data specified by the key may be plain-text, Please note this field and CloudConfig are mutually exclusive. |
||
|
SSHAuthorizedKeys is a list of public keys that CloudInit will apply to |
||
|
UseGlobalNameserversAsDefault will use the global nameservers specified in Defaults to true if omitted. |
||
|
UseGlobalSearchDomainsAsDefault will use the global search domains specified Defaults to true if omitted. |
VirtualMachineBootstrapLinuxPrepSpec
VirtualMachineBootstrapLinuxPrepSpec describes the LinuxPrep configuration used to bootstrap the VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
HardwareClockIsUTC specifies whether the hardware clock is in UTC or |
||
|
TimeZone is a case-sensitive timezone, such as Europe/Sofia. Valid values are based on the tz (timezone) database used by Linux and Please see https://kb.vmware.com/s/article/2145518 for a list of valid |
VirtualMachineBootstrapSpec
VirtualMachineBootstrapSpec defines the desired state of a VM’s bootstrap configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
|
CloudInit may be used to bootstrap Linux guests with Cloud-Init or The guest’s networking stack is configured by Cloud-Init on Linux guests Please note this bootstrap provider may not be used in conjunction with |
||
|
LinuxPrep may be used to bootstrap Linux guests. The guest’s networking stack is configured by Guest OS Customization Please note this bootstrap provider may be used in conjunction with the This bootstrap provider may not be used in conjunction with the CloudInit |
||
Sysprep may be used to bootstrap Windows guests. The guest’s networking stack is configured by Guest OS Customization Please note this bootstrap provider may be used in conjunction with the This bootstrap provider may not be used in conjunction with the CloudInit |
|||
|
VAppConfig may be used to bootstrap guests that rely on vApp properties The guest’s networking stack may be configured using either vApp Many OVFs define one or more properties that are used by the guest to It is also possible to use GOSC to bootstrap this VM’s network stack by Please note the VAppConfig bootstrap provider in conjunction with the This bootstrap provider may not be used in conjunction with the CloudInit |
VirtualMachineBootstrapSysprepSpec
VirtualMachineBootstrapSysprepSpec describes the Sysprep configuration used to bootstrap the VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Sysprep is an object representation of a Windows sysprep.xml answer file. This field encloses all the individual keys listed in a sysprep.xml file. For more detailed information please see Please note this field and RawSysprep are mutually exclusive. |
||
|
RawSysprep describes a key in a Secret resource that contains an XML The data specified by the Secret key may be plain-text, base64-encoded, Please note this field and Sysprep are mutually exclusive. |
VirtualMachineBootstrapVAppConfigSpec
VirtualMachineBootstrapVAppConfigSpec describes the vApp configuration used to bootstrap the VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Properties is a list of vApp/OVF property key/value pairs. Please note this field and RawProperties are mutually exclusive. |
||
|
RawProperties is the name of a Secret resource in the same Namespace as Please note this field and Properties are mutually exclusive. |
VirtualMachineClass
VirtualMachineClass is the schema for the virtualmachineclasses API and represents the desired state and observed status of a virtualmachineclasses resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineClassHardware
VirtualMachineClassHardware describes a virtual hardware resource specification.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
|||
|
VirtualMachineClassPolicies
VirtualMachineClassPolicies describes the policy configuration to be used by a VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
VirtualMachineClassResources
VirtualMachineClassResources describes the virtual hardware resource reservations and limits configuration to be used by a VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachineClassSpec
VirtualMachineClassSpec defines the desired state of VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ControllerName describes the name of the controller responsible for When omitted, controllers reconciling VirtualMachine resources determine Once a non-empty value is assigned to this field, attempts to set this |
||
|
Hardware describes the configuration of the VirtualMachineClass |
||
|
Policies describes the configuration of the VirtualMachineClass |
||
|
Description describes the configuration of the VirtualMachineClass which |
||
|
ConfigSpec describes additional configuration information for a |
Schemaless: \{} |
|
|
ReservedProfileID describes the reservation profile associated with |
||
|
ReservedSlots describes the number of slots reserved for VMs that use |
Minimum: 0 |
VirtualMachineClassStatus
VirtualMachineClassStatus defines the observed state of VirtualMachineClass.
VirtualMachineCryptoSpec
VirtualMachineCryptoSpec defines the desired state of a VirtualMachine’s encryption state.
| Field | Description | Default | Validation |
|---|---|---|---|
|
EncryptionClassName describes the name of the EncryptionClass resource Please note, this field is not required to encrypt the VM. If the If there is a default key provider and an encryption storage class is If there is a default key provider and a VM Class with a virtual, trusted If the underlying vSphere platform does not have a default key provider, If this field is set, spec.storageClass must use an encryption-enabled |
||
|
UseDefaultKeyProvider describes the desired behavior for when an explicit When an explicit EncryptionClass is not provided and this value is true:
When an explicit EncryptionClass is not provided and this value is false:
Please note, this could result in a VirtualMachine that cannot be Defaults to true if omitted. |
true |
VirtualMachineGroup
VirtualMachineGroup is the schema for the VirtualMachineGroup API and represents the desired state and observed status of a VirtualMachineGroup resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineGroupBootOrderGroup
VirtualMachineGroupBootOrderGroup describes a boot order group within a VirtualMachineGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Members describes the names of VirtualMachine or VirtualMachineGroup |
||
|
PowerOnDelay is the amount of time to wait before powering on all the If omitted, the members will be powered on immediately when the group’s |
VirtualMachineGroupMemberStatus
VirtualMachineGroupMemberStatus describes the observed status of a group member.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of this member. |
||
|
Kind is the kind of this member, which can be either VirtualMachine or |
Enum: [VirtualMachine VirtualMachineGroup] |
|
|
UID is the K8s metadata UID of this current member object. |
||
|
Placement describes the placement results for this member. Please note this field is only set for VirtualMachine members. |
||
|
PowerState describes the observed power state of this member. Please note this field is only set for VirtualMachine members. |
Enum: [PoweredOff PoweredOn Suspended] |
|
|
Conditions describes any conditions associated with this member.
|
VirtualMachineGroupPlacementDatastoreStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the name of a datastore. |
||
|
ID describes the datastore ID. |
||
|
URL describes the datastore URL. |
||
|
SupportedDiskFormat describes the list of disk formats supported by this |
||
|
DiskKey describes the device key to which this recommendation applies. |
||
|
TopLevelDirectoryCreateSupported indicates whether or not the datastore |
VirtualMachineGroupSpec
VirtualMachineGroupSpec defines the desired state of VirtualMachineGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
GroupName describes the name of the group that this group belongs to. When this field is set to a valid group that contains this VM Group as a When this field is deleted or changed, any existing owner reference to |
||
|
BootOrder describes the boot sequence for this group members. Each boot When powering off, all members are stopped immediately without delays. |
||
|
PowerState describes the desired power state of a VirtualMachineGroup. Please note this field may be omitted when creating a new VM group. This However, once the field is set to a non-empty value, it may no longer be |
Enum: [PoweredOff PoweredOn Suspended] |
|
|
NextForcePowerStateSyncTime may be used to force sync the power state of A mutating webhook changes this value to the current time (UTC), which Please note it is not possible to schedule future syncs using this field. |
||
|
PowerOffMode describes the desired behavior when powering off a VM Group. Please note this field is only propagated to the group’s members when |
Enum: [Hard Soft TrySoft] |
|
|
SuspendMode describes the desired behavior when suspending a VM Group. Please note this field is only propagated to the group’s members when |
Enum: [Hard Soft TrySoft] |
VirtualMachineGroupStatus
VirtualMachineGroupStatus defines the observed state of VirtualMachineGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Members describes the observed status of group members. |
||
|
LastUpdatedPowerStateTime describes the observed time when the power |
||
|
Conditions describes any conditions associated with this VM Group.
|
VirtualMachineImage
VirtualMachineImage is the schema for the virtualmachineimages API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineImageOSInfo
VirtualMachineImageOSInfo describes the image’s guest operating system.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ID describes the operating system ID. This value is also added to the image resource’s labels as |
||
|
Type describes the operating system type. This value is also added to the image resource’s labels as |
||
|
Version describes the operating system version. This value is also added to the image resource’s labels as |
VirtualMachineImageProductInfo
VirtualMachineImageProductInfo describes product information for an image.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Product is a general descriptor for the image. |
||
|
Vendor describes the organization/user that produced the image. |
||
|
Version describes the short-form version of the image. |
||
|
FullVersion describes the long-form version of the image. |
VirtualMachineImageSpec
VirtualMachineImageSpec defines the desired state of VirtualMachineImage.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ProviderRef is a reference to the resource that contains the source of |
VirtualMachineImageStatus
VirtualMachineImageStatus defines the observed state of VirtualMachineImage.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the display name of this image. |
||
|
Capabilities describes the image’s observed capabilities. The capabilities are discerned when VM Operator reconciles an image.
Every capability is also added to the resource’s labels as |
||
|
Firmware describe the firmware type used by this image, ex. BIOS, EFI. |
||
|
HardwareVersion describes the observed hardware version of this image. |
||
|
OSInfo describes the observed operating system information for this The OS information is also added to the image resource’s labels. Please |
||
|
OVFProperties describes the observed user configurable OVF properties defined for this |
||
|
VMwareSystemProperties describes the observed VMware system properties defined for |
||
|
ProductInfo describes the observed product information for this image. |
||
|
ProviderContentVersion describes the content version from the provider item |
||
|
ProviderItemID describes the ID of the provider item that this image corresponds to. |
||
|
Conditions describes the observed conditions for this image. |
VirtualMachineNetworkConfigDHCPOptionsStatus
VirtualMachineNetworkConfigDHCPOptionsStatus describes the configured DHCP options.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Enabled describes whether DHCP is enabled. |
VirtualMachineNetworkConfigDHCPStatus
VirtualMachineNetworkConfigDHCPStatus describes the configured state of the system-wide DHCP settings for IP4 and IP6.
| Field | Description | Default | Validation |
|---|---|---|---|
IP4 describes the configured state of the IP4 DHCP settings. |
|||
IP6 describes the configured state of the IP6 DHCP settings. |
VirtualMachineNetworkConfigDNSStatus
VirtualMachineNetworkConfigDNSStatus describes the configured state of the RFC 1034 client-side DNS settings.
| Field | Description | Default | Validation |
|---|---|---|---|
|
HostName is the host name portion of the DNS name. For example, |
||
|
Nameservers is a list of the IP addresses for the DNS servers to use. IP4 addresses are specified using dotted decimal notation. For example, IP6 addresses are 128-bit addresses represented as eight fields of up to |
||
|
SearchDomains is a list of domains in which to search for hosts, in the |
VirtualMachineNetworkConfigInterfaceIPStatus
VirtualMachineNetworkConfigInterfaceIPStatus describes the configured state of a VM’s network interface’s IP configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
DHCP describes the interface’s configured DHCP options. |
|||
|
Addresses describes configured IP addresses for this interface. |
||
|
Gateway4 describes the interface’s configured, default, IP4 gateway. Please note the IP address include the network prefix length, ex. |
||
|
Gateway6 describes the interface’s configured, default, IP6 gateway. Please note the IP address includes the network prefix length, ex. |
VirtualMachineNetworkConfigInterfaceStatus
VirtualMachineNetworkConfigInterfaceStatus describes the configured state of network interface.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the corresponding network interface with the same name Please note this name is not necessarily related to the name of the |
||
IP describes the interface’s configured IP information. |
|||
DNS describes the interface’s configured DNS information. |
VirtualMachineNetworkConfigStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Interfaces describes the configured state of the network interfaces. |
||
DNS describes the configured state of client-side DNS. |
VirtualMachineNetworkDHCPOptionsStatus
VirtualMachineNetworkDHCPOptionsStatus describes the observed state of DHCP options.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Config describes platform-dependent settings for the DHCP client. The key part is a unique number while the value part is the platform |
||
|
Enabled reports the status of the DHCP client services. |
VirtualMachineNetworkDHCPStatus
VirtualMachineNetworkDHCPStatus describes the observed state of the client-side, system-wide DHCP settings for IP4 and IP6.
| Field | Description | Default | Validation |
|---|---|---|---|
IP4 describes the observed state of the IP4 DHCP client settings. |
|||
IP6 describes the observed state of the IP6 DHCP client settings. |
VirtualMachineNetworkDNSStatus
VirtualMachineNetworkDNSStatus describes the observed state of the guest’s RFC 1034 client-side DNS settings.
| Field | Description | Default | Validation |
|---|---|---|---|
|
DHCP indicates whether or not dynamic host control protocol (DHCP) was |
||
|
DomainName is the domain name portion of the DNS name. For example, |
||
|
HostName is the host name portion of the DNS name. For example, |
||
|
Nameservers is a list of the IP addresses for the DNS servers to use. IP4 addresses are specified using dotted decimal notation. For example, IP6 addresses are 128-bit addresses represented as eight fields of up to |
||
|
SearchDomains is a list of domains in which to search for hosts, in the |
VirtualMachineNetworkIPRouteGatewayStatus
VirtualMachineNetworkIPRouteGatewayStatus describes the observed state of a guest network’s IP route’s next hop gateway.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Device is the name of the device in the guest for which this gateway |
||
|
Address is the IP4 or IP6 address of the gateway. |
VirtualMachineNetworkIPRouteStatus
VirtualMachineNetworkIPRouteStatus describes the observed state of a guest network’s IP routes.
| Field | Description | Default | Validation |
|---|---|---|---|
Gateway describes where to send the packets to next. |
|||
|
NetworkAddress is the IP4 or IP6 address of the destination network. Addresses include the network’s prefix length, ex. 192.168.0.0/24 or IP6 addresses are 128-bit addresses represented as eight fields of up to |
VirtualMachineNetworkIPStackStatus
VirtualMachineNetworkIPStackStatus describes the observed state of a VM’s IP stack.
| Field | Description | Default | Validation |
|---|---|---|---|
DHCP describes the VM’s observed, client-side, system-wide DHCP options. |
|||
DNS describes the VM’s observed, client-side DNS configuration. |
|||
|
IPRoutes contain the VM’s routing tables for all address families. |
||
|
KernelConfig describes the observed state of the VM’s kernel IP The key part contains a unique number while the value part contains the |
VirtualMachineNetworkInterfaceIPAddrStatus
VirtualMachineNetworkInterfaceIPAddrStatus describes information about a specific IP address.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Address is an IP4 or IP6 address and their network prefix length. An IP4 address is specified using dotted decimal notation. For example, IP6 addresses are 128-bit addresses represented as eight fields of up to |
||
|
Lifetime describes when this address will expire. |
||
|
Origin describes how this address was configured. |
Enum: [dhcp linklayer manual other random] |
|
|
State describes the state of this IP address. |
Enum: [deprecated duplicate inaccessible invalid preferred tentative unknown] |
VirtualMachineNetworkInterfaceIPStatus
VirtualMachineNetworkInterfaceIPStatus describes the observed state of a VM’s network interface’s IP configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
|
AutoConfigurationEnabled describes whether or not ICMPv6 router These requests acquire an IP6 address and default gateway route from If not set then ICMPv6 is not available on this VM. |
||
DHCP describes the VM’s observed, client-side, interface-specific DHCP |
|||
|
Addresses describes observed IP addresses for this interface. |
||
|
MACAddr describes the observed MAC address for this interface. |
VirtualMachineNetworkInterfaceSpec
VirtualMachineNetworkInterfaceSpec describes the desired state of a VM’s network interface.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the unique name of this network interface, used to When the bootstrap provider is Cloud-Init and GuestDeviceName is not |
Pattern: |
|
|
Network is the name of the network resource to which this interface is If no network is provided, then this interface will be connected to the |
||
|
GuestDeviceName is used to rename the device inside the guest when the |
Pattern: |
|
|
MACAddr is the optional MAC address of this interface. If no MAC address is provided, one will be generated by either the network Please note this field is only supported when the Network API Group is |
Pattern: |
|
|
Addresses is an optional list of IP4 or IP6 addresses to assign to this Please note this field is only supported if the connected network Please note IP4 and IP6 addresses must include the network prefix length, Please note this field may not contain IP4 addresses if DHCP4 is set |
||
|
DHCP4 indicates whether or not this interface uses DHCP for IP4 Please note this field is only supported if the network connection Please note this field is mutually exclusive with IP4 addresses in the |
||
|
DHCP6 indicates whether or not this interface uses DHCP for IP6 Please note this field is only supported if the network connection Please note this field is mutually exclusive with IP6 addresses in the |
||
|
Gateway4 is the default, IP4 gateway for this interface. If unset, the gateway from the network provider will be used. However, Please note this field is only supported if the network connection Please note this field is mutually exclusive with DHCP4. |
||
|
Gateway6 is the primary IP6 gateway for this interface. If unset, the gateway from the network provider will be used. However, Please note this field is only supported if the network connection Please note this field is mutually exclusive with DHCP6. |
||
|
MTU is the Maximum Transmission Unit size in bytes. Please note this feature is available only with the following bootstrap |
||
|
Nameservers is a list of IP4 and/or IP6 addresses used as DNS Please note this feature is available only with the following bootstrap When using CloudInit and UseGlobalNameserversAsDefault is either unset or Please note that Linux allows only three nameservers |
||
|
Routes is a list of optional, static routes. Please note this feature is available only with the following bootstrap |
||
|
SearchDomains is a list of search domains used when resolving IP Please note this feature is available only with the following bootstrap When using CloudInit and UseGlobalSearchDomainsAsDefault is either unset |
VirtualMachineNetworkInterfaceStatus
VirtualMachineNetworkInterfaceStatus describes the observed state of a VM’s network interface.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the corresponding network interface with the same name Please note this name is not necessarily related to the name of the |
||
|
DeviceKey describes the unique hardware device key of this network |
||
IP describes the observed state of the interface’s IP configuration. |
|||
DNS describes the observed state of the interface’s DNS configuration. |
VirtualMachineNetworkRouteSpec
VirtualMachineNetworkRouteSpec defines a static route for a guest.
| Field | Description | Default | Validation |
|---|---|---|---|
|
To is either "default", or an IP4 or IP6 address. |
||
|
Via is an IP4 or IP6 address. |
||
|
Metric is the weight/priority of the route. |
Minimum: 1 |
VirtualMachineNetworkSpec
VirtualMachineNetworkSpec defines a VM’s desired network configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
|
HostName is the value the guest uses as its host name. Please note this feature is available only with the following bootstrap When the bootstrap provider is Sysprep (except for RawSysprep) this is |
||
|
Disabled is a flag that indicates whether or not to disable networking When set to true, the VM is not configured with a default interface nor |
||
|
Nameservers is a list of IP4 and/or IP6 addresses used as DNS Please note global nameservers are only available with the following Please note that Linux allows only three nameservers |
||
|
SearchDomains is a list of search domains used when resolving IP Please note global search domains are only available with the following |
||
|
Interfaces is the list of network interfaces used by this VM. If the Interfaces field is empty and the Disabled field is false, then The maximum number of network interface allowed is 10 because of the limit |
MaxItems: 10 |
VirtualMachineNetworkStatus
VirtualMachineNetworkStatus defines the observed state of a VM’s network configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
Config describes the resolved, configured network settings for the VM, Please note this information does not represent the observed network |
|||
|
HostName describes the observed hostname reported by the VirtualMachine’s Please note, this value is only reported if VMware Tools is installed in |
||
|
Interfaces describes the status of the VM’s network interfaces. |
||
|
IPStacks describes information about the guest’s configured IP networking |
||
|
PrimaryIP4 describes the VM’s primary IP4 address. If the bootstrap provider is CloudInit then this value is set to the If the bootstrap provider is anything else then this field is set to the |
||
|
PrimaryIP6 describes the VM’s primary IP6 address. If the bootstrap provider is CloudInit then this value is set to the If the bootstrap provider is anything else then this field is set to the |
VirtualMachinePlacementStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Zone describes the recommended zone for this VM. |
||
|
Node describes the recommended node for this VM. |
||
|
Pool describes the recommended resource pool for this VM. |
||
|
Datastores describe the recommended datastores for this VM. |
VirtualMachinePowerOpMode
Underlying type: string
VirtualMachinePowerOpMode represents the various power operation modes when powering off or suspending a VM.
-
Enum: [Hard Soft TrySoft]
VirtualMachinePowerState
Underlying type: string
VirtualMachinePowerState defines a VM’s desired and observed power states.
-
Enum: [PoweredOff PoweredOn Suspended]
VirtualMachinePublishRequest
VirtualMachinePublishRequest defines the information necessary to publish a VirtualMachine as a VirtualMachineImage to an image registry.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachinePublishRequestSource
VirtualMachinePublishRequestSource is the source of a publication request, typically a VirtualMachine resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of the referenced object. If omitted this value defaults to the name of the |
||
|
APIVersion is the API version of the referenced object. |
vmoperator.vmware.com/v1alpha1 |
|
|
Kind is the kind of referenced object. |
VirtualMachine |
VirtualMachinePublishRequestSpec
VirtualMachinePublishRequestSpec defines the desired state of a VirtualMachinePublishRequest.
All the fields in this spec are optional. This is especially useful when a DevOps persona wants to publish a VM without doing anything more than applying a VirtualMachinePublishRequest resource that has the same name as said VM in the same namespace as said VM.
| Field | Description | Default | Validation |
|---|---|---|---|
Source is the source of the publication request, ex. a VirtualMachine If this value is omitted then the publication controller checks to |
|||
Target is the target of the publication request, ex. item If this value is omitted, the controller uses spec.source.name + "-image" Please note that while optional, if a VirtualMachinePublishRequest sans |
|||
|
TTLSecondsAfterFinished is the time-to-live duration for how long this If this field is unset then the request resource will not be |
Minimum: 0 |
VirtualMachinePublishRequestStatus
VirtualMachinePublishRequestStatus defines the observed state of a VirtualMachinePublishRequest.
| Field | Description | Default | Validation |
|---|---|---|---|
|
SourceRef is the reference to the source of the publication request, |
||
|
TargetRef is the reference to the target of the publication request, |
||
|
CompletionTime represents time when the request was completed. It is not The value of this field should be equal to the value of the |
||
|
StartTime represents time when the request was acknowledged by the |
||
|
Attempts represents the number of times the request to publish the VM |
||
|
LastAttemptTime represents the time when the latest request was sent. |
||
|
ImageName is the name of the VirtualMachineImage resource that is This field will not be set until the VirtualMachineImage resource |
||
|
Ready is set to true only when the VM has been published successfully Readiness is determined by waiting until there is status condition
|
||
|
Conditions is a list of the latest, available observations of the |
VirtualMachinePublishRequestTarget
VirtualMachinePublishRequestTarget is the target of a publication request, typically a ContentLibrary resource.
| Field | Description | Default | Validation |
|---|---|---|---|
Item contains information about the name of the object to which Please note this value is optional and if omitted, the controller |
|||
Location contains information about the location to which to publish |
VirtualMachinePublishRequestTargetItem
VirtualMachinePublishRequestTargetItem is the item part of a publication request’s target.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of the published object. If the spec.target.location.apiVersion equals If omitted then the controller will use spec.source.name + "-image". |
||
|
Description is the description to assign to the published object. |
VirtualMachinePublishRequestTargetLocation
VirtualMachinePublishRequestTargetLocation is the location part of a publication request’s target.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of the referenced object. Please note an error will be returned if this field is not A default publication target is a resource with an API version |
||
|
APIVersion is the API version of the referenced object. |
imageregistry.vmware.com/v1alpha1 |
|
|
Kind is the kind of referenced object. |
ContentLibrary |
VirtualMachineReadinessProbeSpec
VirtualMachineReadinessProbeSpec describes a probe used to determine if a VM is in a ready state. All probe actions are mutually exclusive.
| Field | Description | Default | Validation |
|---|---|---|---|
|
TCPSocket specifies an action involving a TCP port. Deprecated: The TCPSocket action requires network connectivity that is not supported in all environments. |
||
|
GuestHeartbeat specifies an action involving the guest heartbeat status. |
||
|
GuestInfo specifies an action involving key/value pairs from GuestInfo. The elements are evaluated with the logical AND operator, meaning For example, a VM resource’s probe definition could be specified as the guestInfo: With the above configuration in place, the VM would not be considered From within the guest operating system it is possible to set GuestInfo vmware-rpctool "info-set guestinfo.ready true" Once executed, the VM’s readiness probe will be signaled and the |
||
|
TimeoutSeconds specifies a number of seconds after which the probe times out. |
Maximum: 60 |
|
|
PeriodSeconds specifics how often (in seconds) to perform the probe. |
Minimum: 1 |
VirtualMachineReservedSpec
VirtualMachineReservedSpec describes a set of VM configuration options reserved for system use. Modification attempts by DevOps users will result in a validation error.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ResourcePolicyName describes the name of a |
VirtualMachineResourceSpec
VirtualMachineResourceSpec describes a virtual hardware policy specification.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachineService
VirtualMachineService is the Schema for the virtualmachineservices API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineServicePort
VirtualMachineServicePort describes the specification of a service port to be exposed by a VirtualMachineService. This VirtualMachineServicePort specification includes attributes that define the external and internal representation of the service port.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the name to be used to identify this |
||
|
Protocol describes the Layer 4 transport protocol for this port. |
||
|
Port describes the external port that will be exposed by the service. |
||
|
TargetPort describes the internal port open on a VirtualMachine that |
VirtualMachineServiceSpec
VirtualMachineServiceSpec defines the desired state of VirtualMachineService.
| Field | Description | Default | Validation |
|---|---|---|---|
Type specifies a desired VirtualMachineServiceType for this |
|||
|
Ports specifies a list of VirtualMachineServicePort to expose with this |
||
|
Selector specifies a map of key-value pairs, also known as a Label |
||
|
Only applies to VirtualMachineService Type: LoadBalancer |
||
|
LoadBalancerSourceRanges is an array of IP addresses in the format of |
||
|
clusterIP is the IP address of the service and is usually assigned |
||
|
externalName is the external reference that kubedns or equivalent will |
VirtualMachineServiceStatus
VirtualMachineServiceStatus defines the observed state of VirtualMachineService.
| Field | Description | Default | Validation |
|---|---|---|---|
|
LoadBalancer contains the current status of the load balancer, |
VirtualMachineServiceType
Underlying type: string
VirtualMachineServiceType string describes ingress methods for a service.
VirtualMachineSetResourcePolicy
VirtualMachineSetResourcePolicy is the Schema for the virtualmachinesetresourcepolicies API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachineSetResourcePolicySpec
VirtualMachineSetResourcePolicySpec defines the desired state of VirtualMachineSetResourcePolicy.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
VirtualMachineSetResourcePolicyStatus
VirtualMachineSetResourcePolicyStatus defines the observed state of VirtualMachineSetResourcePolicy.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachineSpec
VirtualMachineSpec defines the desired state of a VirtualMachine.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ImageName describes the name of the image resource used to deploy this This field may be used to specify the name of a VirtualMachineImage This field may also be used to specify the display name (vSphere name) of |
||
|
ClassName describes the name of the VirtualMachineClass resource used to |
||
|
Affinity describes the VM’s scheduling constraints. |
||
|
Crypto describes the desired encryption state of the VirtualMachine. |
||
|
StorageClass describes the name of a Kubernetes StorageClass resource Please see https://kubernetes.io/docs/concepts/storage/storage-classes/ |
||
|
Bootstrap describes the desired state of the guest’s bootstrap If omitted, a default bootstrap method may be selected based on the |
||
|
Network describes the desired network configuration for the VM. Please note this value may be omitted entirely and the VM will be |
||
|
PowerState describes the desired power state of a VirtualMachine. Please note this field may be omitted when creating a new VM and will Additionally, setting this value to "Suspended" is not supported when |
Enum: [PoweredOff PoweredOn Suspended] |
|
|
PowerOffMode describes the desired behavior when powering off a VM. There are three, supported power off modes: Hard, Soft, and If omitted, the mode defaults to TrySoft. |
TrySoft |
Enum: [Hard Soft TrySoft] |
|
SuspendMode describes the desired behavior when suspending a VM. There are three, supported suspend modes: Hard, Soft, and If omitted, the mode defaults to TrySoft. |
TrySoft |
Enum: [Hard Soft TrySoft] |
|
NextRestartTime may be used to restart the VM, in accordance with A mutating webhook changes this value to the current time (UTC), which Please note it is not possible to schedule future restarts using this |
||
|
RestartMode describes the desired behavior for restarting a VM when There are three, supported suspend modes: Hard, Soft, and If omitted, the mode defaults to TrySoft. |
TrySoft |
Enum: [Hard Soft TrySoft] |
|
Volumes describes a list of volumes that can be mounted to the VM. |
||
|
ReadinessProbe describes a probe used to determine the VM’s ready state. |
||
|
Advanced describes a set of optional, advanced VM configuration options. |
||
|
Reserved describes a set of VM configuration options reserved for system Please note attempts to modify the value of this field by a DevOps user |
||
|
MinHardwareVersion describes the desired, minimum hardware version. The logic that determines the hardware version is as follows:
This field is never updated to reflect the derived hardware version. Please note, setting this field’s value to N ensures a VM’s hardware Several features are hardware version dependent, for example:
Please refer to https://kb.vmware.com/s/article/1003746 for a list of VM It is important to remember that a VM’s hardware version may not be |
Minimum: 13 |
|
|
GroupName indicates the name of the VirtualMachineGroup to which this VMs that belong to a group do not drive their own placement, rather that When this field is set to a valid group that contains this VM as a When this field is deleted or changed, any existing owner reference to |
VirtualMachineStatus
VirtualMachineStatus defines the observed state of a VirtualMachine instance.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Image is a reference to the VirtualMachineImage resource used to deploy |
||
|
Class is a reference to the VirtualMachineClass resource used to deploy |
||
|
Host describes the hostname or IP address of the infrastructure host |
||
|
PowerState describes the observed power state of the VirtualMachine. |
Enum: [PoweredOff PoweredOn Suspended] |
|
|
Conditions describes the observed conditions of the VirtualMachine. |
||
|
Network describes the observed state of the VM’s network configuration. |
||
|
UniqueID describes a unique identifier that is provided by the underlying |
||
|
BiosUUID describes a unique identifier provided by the underlying |
||
|
InstanceUUID describes the unique instance UUID provided by the |
||
|
Volumes describes a list of current status information for each Volume |
||
|
ChangeBlockTracking describes the CBT enablement status on the VM. |
||
|
Zone describes the availability zone where the VirtualMachine has been Please note this field may be empty when the cluster is not zone-aware. |
||
|
LastRestartTime describes the last time the VM was restarted. |
||
|
HardwareVersion describes the VirtualMachine resource’s observed Please refer to VirtualMachineSpec.MinHardwareVersion for more |
VirtualMachineVolume
VirtualMachineVolume represents a named volume in a VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name represents the volume’s name. Must be a DNS_LABEL and unique within |
||
|
PersistentVolumeClaim represents a reference to a PersistentVolumeClaim More information is available at |
VirtualMachineVolumeProvisioningMode
Underlying type: string
VirtualMachineVolumeProvisioningMode is the type used to express the desired or observed provisioning mode for a virtual machine disk.
-
Enum: [Thin Thick ThickEagerZero]
VirtualMachineVolumeSource
VirtualMachineVolumeSource represents the source location of a volume to mount. Only one of its members may be specified.
| Field | Description | Default | Validation |
|---|---|---|---|
|
PersistentVolumeClaim represents a reference to a PersistentVolumeClaim More information is available at |
VirtualMachineVolumeStatus
VirtualMachineVolumeStatus defines the observed state of a VirtualMachineVolume instance.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of the attached volume. |
||
|
Attached represents whether a volume has been successfully attached to |
||
|
DiskUUID represents the underlying virtual disk UUID and is present when |
||
|
Error represents the last error seen when attaching or detaching a |
VirtualMachineWebConsoleRequest
VirtualMachineWebConsoleRequest allows the creation of a one-time, web console connection to a VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachineWebConsoleRequestSpec
VirtualMachineWebConsoleRequestSpec describes the desired state for a web console request to a VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of a VM in the same Namespace as this web console |
||
|
PublicKey is used to encrypt the status.response. This is expected to be a RSA OAEP public key in X.509 PEM format. |
VirtualMachineWebConsoleRequestStatus
VirtualMachineWebConsoleRequestStatus describes the observed state of the request.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Response will be the authenticated ticket corresponding to this web console request. |
||
|
ExpiryTime is the time at which access via this request will expire. |
||
|
ProxyAddr describes the host address and optional port used to access The value could be a DNS entry, IPv4, or IPv6 address, followed by an DNS IPv4 IPv6 In other words, the field may be set to any value that is parsable |
vmoperator.vmware.com/v1alpha3
Package v1alpha3 is one of the schemas for VM Operator.
AffinitySpec
AffinitySpec defines the group of affinity scheduling rules.
| Field | Description | Default | Validation |
|---|---|---|---|
|
VMAffinity describes affinity scheduling rules related to other VMs. |
||
|
VMAntiAffinity describes anti-affinity scheduling rules related to other |
ClusterVirtualMachineImage
ClusterVirtualMachineImage is the schema for the clustervirtualmachineimages API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
DynamicDirectPathIODevice
DynamicDirectPathIODevice contains the configuration corresponding to a Dynamic DirectPath I/O device.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
GroupMember
GroupMember describes a member of a VirtualMachineGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of member of this group. |
||
|
Kind is the kind of member of this group, which can be either If omitted, it defaults to VirtualMachine. |
VirtualMachine |
Enum: [VirtualMachine VirtualMachineGroup] |
GuestHeartbeatAction
GuestHeartbeatAction describes an action based on the guest heartbeat.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ThresholdStatus is the value that the guest heartbeat status must be at or above to be |
green |
Enum: [yellow green] |
GuestHeartbeatStatus
Underlying type: string
GuestHeartbeatStatus is the guest heartbeat status.
GuestInfoAction
GuestInfoAction describes a key from GuestInfo that must match the associated value expression.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Key is the name of the GuestInfo key. The key is automatically prefixed with "guestinfo." before being |
||
|
Value is a regular expression that is matched against the value of the An empty value is the equivalent of "match any" or ".*". All values must adhere to the RE2 regular expression syntax as documented |
InstanceStorage
InstanceStorage provides information used to configure instance storage volumes for a VirtualMachine.
| Field | Description | Default | Validation |
|---|---|---|---|
|
StorageClass refers to the name of a StorageClass resource used to |
||
|
Volumes describes instance storage volumes created for a VirtualMachine |
InstanceStorageVolume
InstanceStorageVolume contains information required to create an instance storage volume on a VirtualMachine.
| Field | Description | Default | Validation |
|---|---|---|---|
|
InstanceVolumeClaimVolumeSource
InstanceVolumeClaimVolumeSource contains information about the instance storage volume claimed as a PVC.
| Field | Description | Default | Validation |
|---|---|---|---|
|
StorageClass is the name of the Kubernetes StorageClass that provides |
||
|
Size is the size of the requested instance storage volume. |
LoadBalancerIngress
LoadBalancerIngress represents the status of a load balancer ingress point: traffic intended for the service should be sent to an ingress point. IP or Hostname may both be set in this structure. It is up to the consumer to determine which field should be used when accessing this LoadBalancer.
| Field | Description | Default | Validation |
|---|---|---|---|
|
IP is set for load balancer ingress points that are specified by an IP |
||
|
Hostname is set for load balancer ingress points that are specified by a |
LoadBalancerStatus
LoadBalancerStatus represents the status of a load balancer.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Ingress is a list containing ingress addresses for the load balancer. |
NetworkDeviceStatus
NetworkDeviceStatus defines the network interface IP configuration including gateway, subnet mask and IP address as seen by OVF properties.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Gateway4 is the gateway for the IPv4 address family for this device. |
||
|
MacAddress is the MAC address of the network device. |
||
|
IpAddresses represents one or more IP addresses assigned to the network |
NetworkStatus
NetworkStatus describes the observed state of the VM’s network configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Devices describe a list of current status information for each |
||
|
Nameservers describe a list of the DNS servers accessible by one of the |
OVFProperty
OVFProperty describes an OVF property associated with an image. OVF properties may be used in conjunction with the vAppConfig bootstrap provider to customize a VM during its creation.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Key describes the OVF property’s key. |
||
|
Type describes the OVF property’s type. |
||
|
Default describes the OVF property’s default value. |
PersistentVolumeClaimVolumeSource
PersistentVolumeClaimVolumeSource is a composite for the Kubernetes corev1.PersistentVolumeClaimVolumeSource and instance storage options.
| Field | Description | Default | Validation |
|---|---|---|---|
|
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. |
||
|
readOnly Will force the ReadOnly setting in VolumeMounts. |
||
|
InstanceVolumeClaim is set if the PVC is backed by instance storage. |
ResourcePoolSpec
ResourcePoolSpec defines a Logical Grouping of workloads that share resource policies.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the name of the ResourcePool grouping. |
||
|
Reservations describes the guaranteed resources reserved for the |
||
|
Limits describes the limit to resources available to the ResourcePool. |
ResourcePoolStatus
ResourcePoolStatus describes the observed state of a vSphere child resource pool created for the Spec.ResourcePool.Name.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
TCPSocketAction
TCPSocketAction describes an action based on opening a socket.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Port specifies a number or name of the port to access on the VM. |
||
|
Host is an optional host name to connect to. Host defaults to the VM IP. |
VGPUDevice
VGPUDevice contains the configuration corresponding to a vGPU device.
| Field | Description | Default | Validation |
|---|---|---|---|
|
VMAffinitySpec
VMAffinitySpec defines the affinity requirements for scheduling rules related to other VMs.
| Field | Description | Default | Validation |
|---|---|---|---|
|
RequiredDuringSchedulingPreferredDuringExecution describes affinity When there are multiple elements, the lists of nodes corresponding to Note: Any update to this field will replace the entire list rather than |
||
|
PreferredDuringSchedulingPreferredDuringExecution describes affinity When there are multiple elements, the lists of nodes corresponding to Note: Any update to this field will replace the entire list rather than |
VMAffinityTerm
VMAffinityTerm defines the VM affinity/anti-affinity term.
| Field | Description | Default | Validation |
|---|---|---|---|
|
LabelSelector is a label query over a set of VMs. |
||
|
TopologyKey describes where this VM should be co-located (affinity) or not Please note, The following rules apply when specifying the topology key in the context of a zone/host.
|
VMAntiAffinitySpec
VMAntiAffinitySpec defines the anti-affinity requirements for scheduling rules related to other VMs.
| Field | Description | Default | Validation |
|---|---|---|---|
|
RequiredDuringSchedulingPreferredDuringExecution describes anti-affinity When there are multiple elements, the lists of nodes corresponding to Note: Any update to this field will replace the entire list rather than |
||
|
PreferredDuringSchedulingPreferredDuringExecution describes anti-affinity When there are multiple elements, the lists of nodes corresponding to Note: Any update to this field will replace the entire list rather than |
VSphereClusterModuleStatus
VSphereClusterModuleStatus describes the observed state of a vSphere cluster module.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
VirtualDevices
VirtualDevices contains information about the virtual devices associated with a VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachine
VirtualMachine is the schema for the virtualmachines API and represents the desired state and observed status of a virtualmachines resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
VirtualMachineAdvancedSpec
VirtualMachineAdvancedSpec describes a set of optional, advanced VM configuration options.
| Field | Description | Default | Validation |
|---|---|---|---|
|
BootDiskCapacity is the capacity of the VM’s boot disk — the first disk Please note it is not advised to change this value while the VM is Please note this field is ignored if the VM is deployed from an ISO with |
||
|
DefaultVolumeProvisioningMode specifies the default provisioning mode for |
Enum: [Thin Thick ThickEagerZero] |
|
|
ChangeBlockTracking is a flag that enables incremental backup support |
VirtualMachineBootstrapCloudInitSpec
VirtualMachineBootstrapCloudInitSpec describes the CloudInit configuration used to bootstrap the VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
InstanceID is the cloud-init metadata instance ID. |
||
|
CloudConfig describes a subset of a Cloud-Init CloudConfig, used to Please note this field and RawCloudConfig are mutually exclusive. |
||
|
RawCloudConfig describes a key in a Secret resource that contains the The CloudConfig data specified by the key may be plain-text, Please note this field and CloudConfig are mutually exclusive. |
||
|
SSHAuthorizedKeys is a list of public keys that CloudInit will apply to |
||
|
UseGlobalNameserversAsDefault will use the global nameservers specified in Defaults to true if omitted. |
||
|
UseGlobalSearchDomainsAsDefault will use the global search domains specified Defaults to true if omitted. |
VirtualMachineBootstrapLinuxPrepSpec
VirtualMachineBootstrapLinuxPrepSpec describes the LinuxPrep configuration used to bootstrap the VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
HardwareClockIsUTC specifies whether the hardware clock is in UTC or |
||
|
TimeZone is a case-sensitive timezone, such as Europe/Sofia. Valid values are based on the tz (timezone) database used by Linux and Please see https://kb.vmware.com/s/article/2145518 for a list of valid |
VirtualMachineBootstrapSpec
VirtualMachineBootstrapSpec defines the desired state of a VM’s bootstrap configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
|
CloudInit may be used to bootstrap Linux guests with Cloud-Init or The guest’s networking stack is configured by Cloud-Init on Linux guests Please note this bootstrap provider may not be used in conjunction with |
||
|
LinuxPrep may be used to bootstrap Linux guests. The guest’s networking stack is configured by Guest OS Customization Please note this bootstrap provider may be used in conjunction with the This bootstrap provider may not be used in conjunction with the CloudInit |
||
Sysprep may be used to bootstrap Windows guests. The guest’s networking stack is configured by Guest OS Customization Please note this bootstrap provider may be used in conjunction with the This bootstrap provider may not be used in conjunction with the CloudInit |
|||
|
VAppConfig may be used to bootstrap guests that rely on vApp properties The guest’s networking stack may be configured using either vApp Many OVFs define one or more properties that are used by the guest to It is also possible to use GOSC to bootstrap this VM’s network stack by Please note the VAppConfig bootstrap provider in conjunction with the This bootstrap provider may not be used in conjunction with the CloudInit |
VirtualMachineBootstrapSysprepSpec
VirtualMachineBootstrapSysprepSpec describes the Sysprep configuration used to bootstrap the VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Sysprep is an object representation of a Windows sysprep.xml answer file. This field encloses all the individual keys listed in a sysprep.xml file. For more detailed information please see Please note this field and RawSysprep are mutually exclusive. |
||
|
RawSysprep describes a key in a Secret resource that contains an XML The data specified by the Secret key may be plain-text, base64-encoded, Please note this field and Sysprep are mutually exclusive. |
VirtualMachineBootstrapVAppConfigSpec
VirtualMachineBootstrapVAppConfigSpec describes the vApp configuration used to bootstrap the VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Properties is a list of vApp/OVF property key/value pairs. Please note this field and RawProperties are mutually exclusive. |
||
|
RawProperties is the name of a Secret resource in the same Namespace as Please note this field and Properties are mutually exclusive. |
VirtualMachineCdromSpec
VirtualMachineCdromSpec describes the desired state of a CD-ROM device.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name consists of at least two lowercase letters or digits of this CD-ROM. This field is immutable when the VM is powered on. |
Pattern: |
|
|
Image describes the reference to an ISO type VirtualMachineImage or This field is immutable when the VM is powered on. Please note, unlike the spec.imageName field, the value of this |
||
|
Connected describes the desired connection state of the CD-ROM device. When true, the CD-ROM device is added and connected to the VM. When explicitly set to false, the CD-ROM device is added but remains Note: Before disconnecting a CD-ROM, the device may need to be unmounted Defaults to true if omitted. |
true |
|
|
AllowGuestControl describes whether or not a web console connection Defaults to true if omitted. |
true |
VirtualMachineClass
VirtualMachineClass is the schema for the virtualmachineclasses API and represents the desired state and observed status of a virtualmachineclasses resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineClassHardware
VirtualMachineClassHardware describes a virtual hardware resource specification.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
|||
|
VirtualMachineClassPolicies
VirtualMachineClassPolicies describes the policy configuration to be used by a VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
VirtualMachineClassResources
VirtualMachineClassResources describes the virtual hardware resource reservations and limits configuration to be used by a VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachineClassSpec
VirtualMachineClassSpec defines the desired state of VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ControllerName describes the name of the controller responsible for When omitted, controllers reconciling VirtualMachine resources determine Once a non-empty value is assigned to this field, attempts to set this |
||
|
Hardware describes the configuration of the VirtualMachineClass |
||
|
Policies describes the configuration of the VirtualMachineClass |
||
|
Description describes the configuration of the VirtualMachineClass which |
||
|
ConfigSpec describes additional configuration information for a |
Schemaless: \{} |
|
|
ReservedProfileID describes the reservation profile associated with |
||
|
ReservedSlots describes the number of slots reserved for VMs that use |
Minimum: 0 |
VirtualMachineClassStatus
VirtualMachineClassStatus defines the observed state of VirtualMachineClass.
VirtualMachineCryptoSpec
VirtualMachineCryptoSpec defines the desired state of a VirtualMachine’s encryption state.
| Field | Description | Default | Validation |
|---|---|---|---|
|
EncryptionClassName describes the name of the EncryptionClass resource Please note, this field is not required to encrypt the VM. If the If there is a default key provider and an encryption storage class is If there is a default key provider and a VM Class with a virtual, trusted If the underlying vSphere platform does not have a default key provider, If this field is set, spec.storageClass must use an encryption-enabled |
||
|
UseDefaultKeyProvider describes the desired behavior for when an explicit When an explicit EncryptionClass is not provided and this value is true:
When an explicit EncryptionClass is not provided and this value is false:
Please note, this could result in a VirtualMachine that cannot be Defaults to true if omitted. |
true |
VirtualMachineCryptoStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Encrypted describes the observed state of the VirtualMachine’s
|
||
|
ProviderID describes the provider ID used to encrypt the VirtualMachine. |
||
|
KeyID describes the key ID used to encrypt the VirtualMachine. |
VirtualMachineEncryptionType
Underlying type: string
VirtualMachineGroup
VirtualMachineGroup is the schema for the VirtualMachineGroup API and represents the desired state and observed status of a VirtualMachineGroup resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineGroupBootOrderGroup
VirtualMachineGroupBootOrderGroup describes a boot order group within a VirtualMachineGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Members describes the names of VirtualMachine or VirtualMachineGroup |
||
|
PowerOnDelay is the amount of time to wait before powering on all the If omitted, the members will be powered on immediately when the group’s |
VirtualMachineGroupMemberStatus
VirtualMachineGroupMemberStatus describes the observed status of a group member.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of this member. |
||
|
Kind is the kind of this member, which can be either VirtualMachine or |
Enum: [VirtualMachine VirtualMachineGroup] |
|
|
UID is the K8s metadata UID of this current member object. |
||
|
Placement describes the placement results for this member. Please note this field is only set for VirtualMachine members. |
||
|
PowerState describes the observed power state of this member. Please note this field is only set for VirtualMachine members. |
Enum: [PoweredOff PoweredOn Suspended] |
|
|
Conditions describes any conditions associated with this member.
|
VirtualMachineGroupPlacementDatastoreStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the name of a datastore. |
||
|
ID describes the datastore ID. |
||
|
URL describes the datastore URL. |
||
|
SupportedDiskFormat describes the list of disk formats supported by this |
||
|
DiskKey describes the device key to which this recommendation applies. |
||
|
TopLevelDirectoryCreateSupported indicates whether or not the datastore |
VirtualMachineGroupSpec
VirtualMachineGroupSpec defines the desired state of VirtualMachineGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
GroupName describes the name of the group that this group belongs to. When this field is set to a valid group that contains this VM Group as a When this field is deleted or changed, any existing owner reference to |
||
|
BootOrder describes the boot sequence for this group members. Each boot When powering off, all members are stopped immediately without delays. |
||
|
PowerState describes the desired power state of a VirtualMachineGroup. Please note this field may be omitted when creating a new VM group. This However, once the field is set to a non-empty value, it may no longer be |
Enum: [PoweredOff PoweredOn Suspended] |
|
|
NextForcePowerStateSyncTime may be used to force sync the power state of A mutating webhook changes this value to the current time (UTC), which Please note it is not possible to schedule future syncs using this field. |
||
|
PowerOffMode describes the desired behavior when powering off a VM Group. Please note this field is only propagated to the group’s members when |
Enum: [Hard Soft TrySoft] |
|
|
SuspendMode describes the desired behavior when suspending a VM Group. Please note this field is only propagated to the group’s members when |
Enum: [Hard Soft TrySoft] |
VirtualMachineGroupStatus
VirtualMachineGroupStatus defines the observed state of VirtualMachineGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Members describes the observed status of group members. |
||
|
LastUpdatedPowerStateTime describes the observed time when the power |
||
|
Conditions describes any conditions associated with this VM Group.
|
VirtualMachineImage
VirtualMachineImage is the schema for the virtualmachineimages API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineImageCache
VirtualMachineImageCache is the schema for the virtualmachineimagecaches API.
Deprecated: This type is deprecated and will be removed in a future release. Please use v1alpha5.VirtualMachineImageCache instead.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachineImageCacheFileStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
ID describes the value used to locate the file.
|
||
Type describes the type of file. |
Enum: [Disk Other] |
||
|
DiskType describes the type of disk. |
Enum: [Classic Managed] |
VirtualMachineImageCacheFileType
Underlying type: string
VirtualMachineImageCacheFileType describes the types of files that may be cached.
-
Enum: [Disk Other]
VirtualMachineImageCacheLocationSpec
| Field | Description | Default | Validation |
|---|---|---|---|
|
DatacenterID describes the ID of the datacenter to which the image should |
||
|
ProfileID describes the ID of the storage profile used to cache the |
||
|
DatastoreID describes the ID of the datastore to which the image should |
VirtualMachineImageCacheLocationStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
DatacenterID describes the ID of the datacenter where the image is |
||
|
DatastoreID describes the ID of the datastore where the image is cached. |
||
|
ProfileID describes the ID of the storage profile used to cache the |
||
|
Files describes the image’s files cached on this datastore. |
||
|
Conditions describes any conditions associated with this cache location. Generally this should just include the ReadyType condition. |
VirtualMachineImageCacheOVFStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
ConfigMapName describes the name of the ConfigMap resource that contains |
||
|
ProviderVersion describes the observed provider version at which the OVF |
VirtualMachineImageCacheSpec
VirtualMachineImageCacheSpec defines the desired state of VirtualMachineImageCache.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ProviderID describes the ID of the provider item to which the image |
||
|
ProviderVersion describes the version of the provider item to which the |
||
|
Locations describes the locations where the image should be cached. |
VirtualMachineImageCacheStatus
VirtualMachineImageCacheStatus defines the observed state of VirtualMachineImageCache.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Locations describe the observed locations where the image is cached. |
||
OVF describes the observed status of the cached OVF content. |
|||
|
Conditions describes any conditions associated with this cached image. Generally this should just include the ReadyType condition, which will |
VirtualMachineImageDiskInfo
VirtualMachineImageDiskInfo describes information about any disks associated with this image.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Capacity is the virtual disk capacity in bytes. |
||
|
Size is the estimated populated size of the virtual disk in bytes. |
VirtualMachineImageOSInfo
VirtualMachineImageOSInfo describes the image’s guest operating system.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ID describes the operating system ID. This value is also added to the image resource’s labels as |
||
|
Type describes the operating system type. This value is also added to the image resource’s labels as |
||
|
Version describes the operating system version. This value is also added to the image resource’s labels as |
VirtualMachineImageProductInfo
VirtualMachineImageProductInfo describes product information for an image.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Product is a general descriptor for the image. |
||
|
Vendor describes the organization/user that produced the image. |
||
|
Version describes the short-form version of the image. |
||
|
FullVersion describes the long-form version of the image. |
VirtualMachineImageRef
| Field | Description | Default | Validation |
|---|---|---|---|
|
Kind describes the type of image, either a namespace-scoped |
||
|
Name refers to the name of a VirtualMachineImage resource in the same |
VirtualMachineImageSpec
VirtualMachineImageSpec defines the desired state of VirtualMachineImage.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ProviderRef is a reference to the resource that contains the source of |
VirtualMachineImageStatus
VirtualMachineImageStatus defines the observed state of VirtualMachineImage.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the display name of this image. |
||
|
Capabilities describes the image’s observed capabilities. The capabilities are discerned when VM Operator reconciles an image.
Every capability is also added to the resource’s labels as |
||
|
Firmware describe the firmware type used by this image, ex. BIOS, EFI. |
||
|
HardwareVersion describes the observed hardware version of this image. |
||
|
OSInfo describes the observed operating system information for this The OS information is also added to the image resource’s labels. Please |
||
|
OVFProperties describes the observed user configurable OVF properties defined for this |
||
|
VMwareSystemProperties describes the observed VMware system properties defined for |
||
|
ProductInfo describes the observed product information for this image. |
||
|
Disks describes the observed disk information for this image. |
||
|
ProviderContentVersion describes the content version from the provider item |
||
|
ProviderItemID describes the ID of the provider item that this image corresponds to. |
||
|
Conditions describes the observed conditions for this image. |
||
|
Type describes the content library item type (OVF or ISO) of the image. |
VirtualMachineNetworkConfigDHCPOptionsStatus
VirtualMachineNetworkConfigDHCPOptionsStatus describes the configured DHCP options.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Enabled describes whether DHCP is enabled. |
VirtualMachineNetworkConfigDHCPStatus
VirtualMachineNetworkConfigDHCPStatus describes the configured state of the system-wide DHCP settings for IP4 and IP6.
| Field | Description | Default | Validation |
|---|---|---|---|
IP4 describes the configured state of the IP4 DHCP settings. |
|||
IP6 describes the configured state of the IP6 DHCP settings. |
VirtualMachineNetworkConfigDNSStatus
VirtualMachineNetworkConfigDNSStatus describes the configured state of the RFC 1034 client-side DNS settings.
| Field | Description | Default | Validation |
|---|---|---|---|
|
HostName is the host name portion of the DNS name. For example, |
||
|
DomainName is the domain name portion of the DNS name. For example, |
||
|
Nameservers is a list of the IP addresses for the DNS servers to use. IP4 addresses are specified using dotted decimal notation. For example, IP6 addresses are 128-bit addresses represented as eight fields of up to |
||
|
SearchDomains is a list of domains in which to search for hosts, in the |
VirtualMachineNetworkConfigInterfaceIPStatus
VirtualMachineNetworkConfigInterfaceIPStatus describes the configured state of a VM’s network interface’s IP configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
DHCP describes the interface’s configured DHCP options. |
|||
|
Addresses describes configured IP addresses for this interface. |
||
|
Gateway4 describes the interface’s configured, default, IP4 gateway. Please note the IP address include the network prefix length, ex. |
||
|
Gateway6 describes the interface’s configured, default, IP6 gateway. Please note the IP address includes the network prefix length, ex. |
VirtualMachineNetworkConfigInterfaceStatus
VirtualMachineNetworkConfigInterfaceStatus describes the configured state of network interface.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the corresponding network interface with the same name Please note this name is not necessarily related to the name of the |
||
IP describes the interface’s configured IP information. |
|||
DNS describes the interface’s configured DNS information. |
VirtualMachineNetworkConfigStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Interfaces describes the configured state of the network interfaces. |
||
DNS describes the configured state of client-side DNS. |
VirtualMachineNetworkDHCPOptionsStatus
VirtualMachineNetworkDHCPOptionsStatus describes the observed state of DHCP options.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Config describes platform-dependent settings for the DHCP client. The key part is a unique number while the value part is the platform |
||
|
Enabled reports the status of the DHCP client services. |
VirtualMachineNetworkDHCPStatus
VirtualMachineNetworkDHCPStatus describes the observed state of the client-side, system-wide DHCP settings for IP4 and IP6.
| Field | Description | Default | Validation |
|---|---|---|---|
IP4 describes the observed state of the IP4 DHCP client settings. |
|||
IP6 describes the observed state of the IP6 DHCP client settings. |
VirtualMachineNetworkDNSStatus
VirtualMachineNetworkDNSStatus describes the observed state of the guest’s RFC 1034 client-side DNS settings.
| Field | Description | Default | Validation |
|---|---|---|---|
|
DHCP indicates whether or not dynamic host control protocol (DHCP) was |
||
|
HostName is the host name portion of the DNS name. For example, |
||
|
DomainName is the domain name portion of the DNS name. For example, |
||
|
Nameservers is a list of the IP addresses for the DNS servers to use. IP4 addresses are specified using dotted decimal notation. For example, IP6 addresses are 128-bit addresses represented as eight fields of up to |
||
|
SearchDomains is a list of domains in which to search for hosts, in the |
VirtualMachineNetworkIPRouteGatewayStatus
VirtualMachineNetworkIPRouteGatewayStatus describes the observed state of a guest network’s IP route’s next hop gateway.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Device is the name of the device in the guest for which this gateway |
||
|
Address is the IP4 or IP6 address of the gateway. |
VirtualMachineNetworkIPRouteStatus
VirtualMachineNetworkIPRouteStatus describes the observed state of a guest network’s IP routes.
| Field | Description | Default | Validation |
|---|---|---|---|
Gateway describes where to send the packets to next. |
|||
|
NetworkAddress is the IP4 or IP6 address of the destination network. Addresses include the network’s prefix length, ex. 192.168.0.0/24 or IP6 addresses are 128-bit addresses represented as eight fields of up to |
VirtualMachineNetworkIPStackStatus
VirtualMachineNetworkIPStackStatus describes the observed state of a VM’s IP stack.
| Field | Description | Default | Validation |
|---|---|---|---|
DHCP describes the VM’s observed, client-side, system-wide DHCP options. |
|||
DNS describes the VM’s observed, client-side DNS configuration. |
|||
|
IPRoutes contain the VM’s routing tables for all address families. |
||
|
KernelConfig describes the observed state of the VM’s kernel IP The key part contains a unique number while the value part contains the |
VirtualMachineNetworkInterfaceIPAddrStatus
VirtualMachineNetworkInterfaceIPAddrStatus describes information about a specific IP address.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Address is an IP4 or IP6 address and their network prefix length. An IP4 address is specified using dotted decimal notation. For example, IP6 addresses are 128-bit addresses represented as eight fields of up to |
||
|
Lifetime describes when this address will expire. |
||
|
Origin describes how this address was configured. |
Enum: [dhcp linklayer manual other random] |
|
|
State describes the state of this IP address. |
Enum: [deprecated duplicate inaccessible invalid preferred tentative unknown] |
VirtualMachineNetworkInterfaceIPStatus
VirtualMachineNetworkInterfaceIPStatus describes the observed state of a VM’s network interface’s IP configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
|
AutoConfigurationEnabled describes whether or not ICMPv6 router These requests acquire an IP6 address and default gateway route from If not set then ICMPv6 is not available on this VM. |
||
DHCP describes the VM’s observed, client-side, interface-specific DHCP |
|||
|
Addresses describes observed IP addresses for this interface. |
||
|
MACAddr describes the observed MAC address for this interface. |
VirtualMachineNetworkInterfaceSpec
VirtualMachineNetworkInterfaceSpec describes the desired state of a VM’s network interface.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the unique name of this network interface, used to When the bootstrap provider is Cloud-Init and GuestDeviceName is not |
Pattern: |
|
|
Network is the name of the network resource to which this interface is If no network is provided, then this interface will be connected to the |
||
|
GuestDeviceName is used to rename the device inside the guest when the |
Pattern: |
|
|
MACAddr is the optional MAC address of this interface. If no MAC address is provided, one will be generated by either the network Please note this field is only supported when the Network API Group is |
Pattern: |
|
|
Addresses is an optional list of IP4 or IP6 addresses to assign to this Please note this field is only supported if the connected network Please note IP4 and IP6 addresses must include the network prefix length, Please note this field may not contain IP4 addresses if DHCP4 is set |
||
|
DHCP4 indicates whether or not this interface uses DHCP for IP4 Please note this field is only supported if the network connection Please note this field is mutually exclusive with IP4 addresses in the |
||
|
DHCP6 indicates whether or not this interface uses DHCP for IP6 Please note this field is only supported if the network connection Please note this field is mutually exclusive with IP6 addresses in the |
||
|
Gateway4 is the default, IP4 gateway for this interface. If unset, the gateway from the network provider will be used. However, Please note this field is only supported if the network connection Please note this field is mutually exclusive with DHCP4. |
||
|
Gateway6 is the primary IP6 gateway for this interface. If unset, the gateway from the network provider will be used. However, Please note this field is only supported if the network connection Please note this field is mutually exclusive with DHCP6. |
||
|
MTU is the Maximum Transmission Unit size in bytes. Please note this feature is available only with the following bootstrap |
||
|
Nameservers is a list of IP4 and/or IP6 addresses used as DNS Please note this feature is available only with the following bootstrap When using CloudInit and UseGlobalNameserversAsDefault is either unset or Please note that Linux allows only three nameservers |
||
|
Routes is a list of optional, static routes. Please note this feature is available only with the following bootstrap |
||
|
SearchDomains is a list of search domains used when resolving IP Please note this feature is available only with the following bootstrap When using CloudInit and UseGlobalSearchDomainsAsDefault is either unset |
VirtualMachineNetworkInterfaceStatus
VirtualMachineNetworkInterfaceStatus describes the observed state of a VM’s network interface.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the corresponding network interface with the same name Please note this name is not necessarily related to the name of the |
||
|
DeviceKey describes the unique hardware device key of this network |
||
IP describes the observed state of the interface’s IP configuration. |
|||
DNS describes the observed state of the interface’s DNS configuration. |
VirtualMachineNetworkRouteSpec
VirtualMachineNetworkRouteSpec defines a static route for a guest.
| Field | Description | Default | Validation |
|---|---|---|---|
|
To is either "default", or an IP4 or IP6 address. |
||
|
Via is an IP4 or IP6 address. |
||
|
Metric is the weight/priority of the route. |
Minimum: 1 |
VirtualMachineNetworkSpec
VirtualMachineNetworkSpec defines a VM’s desired network configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
|
HostName describes the value the guest uses as its host name. If omitted, Please note, this feature is available with the following bootstrap This field must adhere to the format specified in RFC-1034, Section 3.5
Please note, the combined values of spec.network.hostName and |
||
|
DomainName describes the value the guest uses as its domain name. Please note, this feature is available with the following bootstrap This field must adhere to the format specified in RFC-1034, Section 3.5
Please note, the combined values of spec.network.hostName and When deploying a guest running Microsoft Windows, this field describes |
||
|
Disabled is a flag that indicates whether or not to disable networking When set to true, the VM is not configured with a default interface nor |
||
|
Nameservers is a list of IP4 and/or IP6 addresses used as DNS Please note global nameservers are only available with the following Please note that Linux allows only three nameservers |
||
|
SearchDomains is a list of search domains used when resolving IP Please note global search domains are only available with the following |
||
|
Interfaces is the list of network interfaces used by this VM. If the Interfaces field is empty and the Disabled field is false, then The maximum number of network interface allowed is 10 because a vSphere |
MaxItems: 10 |
VirtualMachineNetworkStatus
VirtualMachineNetworkStatus defines the observed state of a VM’s network configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
Config describes the resolved, configured network settings for the VM, Please note this information does not represent the observed network |
|||
|
HostName describes the observed hostname reported by the VirtualMachine’s Please note, this value is only reported if VMware Tools is installed in |
||
|
Interfaces describes the status of the VM’s network interfaces. |
||
|
IPStacks describes information about the guest’s configured IP networking |
||
|
PrimaryIP4 describes the VM’s primary IP4 address. If the bootstrap provider is CloudInit then this value is set to the If the bootstrap provider is anything else then this field is set to the |
||
|
PrimaryIP6 describes the VM’s primary IP6 address. If the bootstrap provider is CloudInit then this value is set to the If the bootstrap provider is anything else then this field is set to the |
VirtualMachinePlacementStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Zone describes the recommended zone for this VM. |
||
|
Node describes the recommended node for this VM. |
||
|
Pool describes the recommended resource pool for this VM. |
||
|
Datastores describe the recommended datastores for this VM. |
VirtualMachinePowerOpMode
Underlying type: string
VirtualMachinePowerOpMode represents the various power operation modes when powering off or suspending a VM.
-
Enum: [Hard Soft TrySoft]
VirtualMachinePowerState
Underlying type: string
VirtualMachinePowerState defines a VM’s desired and observed power states.
-
Enum: [PoweredOff PoweredOn Suspended]
VirtualMachinePublishRequest
VirtualMachinePublishRequest defines the information necessary to publish a VirtualMachine as a VirtualMachineImage to an image registry.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachinePublishRequestSource
VirtualMachinePublishRequestSource is the source of a publication request, typically a VirtualMachine resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of the referenced object. If omitted this value defaults to the name of the |
||
|
APIVersion is the API version of the referenced object. |
vmoperator.vmware.com/v1alpha1 |
|
|
Kind is the kind of referenced object. |
VirtualMachine |
VirtualMachinePublishRequestSpec
VirtualMachinePublishRequestSpec defines the desired state of a VirtualMachinePublishRequest.
All the fields in this spec are optional. This is especially useful when a DevOps persona wants to publish a VM without doing anything more than applying a VirtualMachinePublishRequest resource that has the same name as said VM in the same namespace as said VM.
| Field | Description | Default | Validation |
|---|---|---|---|
Source is the source of the publication request, ex. a VirtualMachine If this value is omitted then the publication controller checks to |
|||
Target is the target of the publication request, ex. item If this value is omitted, the controller uses spec.source.name + "-image" Please note that while optional, if a VirtualMachinePublishRequest sans |
|||
|
TTLSecondsAfterFinished is the time-to-live duration for how long this If this field is unset then the request resource will not be |
Minimum: 0 |
VirtualMachinePublishRequestStatus
VirtualMachinePublishRequestStatus defines the observed state of a VirtualMachinePublishRequest.
| Field | Description | Default | Validation |
|---|---|---|---|
|
SourceRef is the reference to the source of the publication request, |
||
|
TargetRef is the reference to the target of the publication request, |
||
|
CompletionTime represents time when the request was completed. It is not The value of this field should be equal to the value of the |
||
|
StartTime represents time when the request was acknowledged by the |
||
|
Attempts represents the number of times the request to publish the VM |
||
|
LastAttemptTime represents the time when the latest request was sent. |
||
|
ImageName is the name of the VirtualMachineImage resource that is This field will not be set until the VirtualMachineImage resource |
||
|
Ready is set to true only when the VM has been published successfully Readiness is determined by waiting until there is status condition
|
||
|
Conditions is a list of the latest, available observations of the |
VirtualMachinePublishRequestTarget
VirtualMachinePublishRequestTarget is the target of a publication request, typically a ContentLibrary resource.
| Field | Description | Default | Validation |
|---|---|---|---|
Item contains information about the name of the object to which Please note this value is optional and if omitted, the controller |
|||
Location contains information about the location to which to publish |
VirtualMachinePublishRequestTargetItem
VirtualMachinePublishRequestTargetItem is the item part of a publication request’s target.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of the published object. If the spec.target.location.apiVersion equals If omitted then the controller will use spec.source.name + "-image". |
||
|
Description is the description to assign to the published object. |
VirtualMachinePublishRequestTargetLocation
VirtualMachinePublishRequestTargetLocation is the location part of a publication request’s target.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of the referenced object. Please note an error will be returned if this field is not A default publication target is a resource with an API version |
||
|
APIVersion is the API version of the referenced object. |
imageregistry.vmware.com/v1alpha1 |
|
|
Kind is the kind of referenced object. |
ContentLibrary |
VirtualMachineReadinessProbeSpec
VirtualMachineReadinessProbeSpec describes a probe used to determine if a VM is in a ready state. All probe actions are mutually exclusive.
| Field | Description | Default | Validation |
|---|---|---|---|
|
TCPSocket specifies an action involving a TCP port. Deprecated: The TCPSocket action requires network connectivity that is not supported in all environments. |
||
|
GuestHeartbeat specifies an action involving the guest heartbeat status. |
||
|
GuestInfo specifies an action involving key/value pairs from GuestInfo. The elements are evaluated with the logical AND operator, meaning For example, a VM resource’s probe definition could be specified as the guestInfo: With the above configuration in place, the VM would not be considered From within the guest operating system it is possible to set GuestInfo vmware-rpctool "info-set guestinfo.ready true" Once executed, the VM’s readiness probe will be signaled and the |
||
|
TimeoutSeconds specifies a number of seconds after which the probe times out. |
Maximum: 60 |
|
|
PeriodSeconds specifics how often (in seconds) to perform the probe. |
Minimum: 1 |
VirtualMachineReplicaSet
VirtualMachineReplicaSet is the schema for the virtualmachinereplicasets API.
Deprecated: This type is deprecated and will be removed in a future release. Please use v1alpha5.VirtualMachineReplicaSet instead.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachineReplicaSetSpec
VirtualMachineReplicaSetSpec is the specification of a VirtualMachineReplicaSet.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Replicas is the number of desired replicas. |
1 |
|
|
DeletePolicy defines the policy used to identify nodes to delete when downscaling. |
Enum: [Random] |
|
|
Selector is a label to query over virtual machines that should match the It must match the VirtualMachine template’s labels. |
||
|
Template is the object that describes the virtual machine that will be |
VirtualMachineReplicaSetStatus
VirtualMachineReplicaSetStatus represents the observed state of a VirtualMachineReplicaSet resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Replicas is the most recently observed number of replicas. |
||
|
FullyLabeledReplicas is the number of replicas that have labels matching the |
||
|
ReadyReplicas is the number of ready replicas for this VirtualMachineReplicaSet. A |
||
|
ObservedGeneration reflects the generation of the most recently observed |
||
|
Conditions represents the latest available observations of a |
VirtualMachineReservedSpec
VirtualMachineReservedSpec describes a set of VM configuration options reserved for system use. Modification attempts by DevOps users will result in a validation error.
| Field | Description | Default | Validation |
|---|---|---|---|
|
VirtualMachineResourceSpec
VirtualMachineResourceSpec describes a virtual hardware policy specification.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachineService
VirtualMachineService is the Schema for the virtualmachineservices API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineServicePort
VirtualMachineServicePort describes the specification of a service port to be exposed by a VirtualMachineService. This VirtualMachineServicePort specification includes attributes that define the external and internal representation of the service port.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the name to be used to identify this |
||
|
Protocol describes the Layer 4 transport protocol for this port. |
||
|
Port describes the external port that will be exposed by the service. |
||
|
TargetPort describes the internal port open on a VirtualMachine that |
VirtualMachineServiceSpec
VirtualMachineServiceSpec defines the desired state of VirtualMachineService.
| Field | Description | Default | Validation |
|---|---|---|---|
Type specifies a desired VirtualMachineServiceType for this |
|||
|
Ports specifies a list of VirtualMachineServicePort to expose with this |
||
|
Selector specifies a map of key-value pairs, also known as a Label |
||
|
LoadBalancer will get created with the IP specified in this field. |
||
|
LoadBalancerSourceRanges is an array of IP addresses in the format of |
||
|
ClusterIP is the IP address of the service and is usually assigned |
||
|
ExternalName is the external reference that kubedns or equivalent will |
VirtualMachineServiceStatus
VirtualMachineServiceStatus defines the observed state of VirtualMachineService.
| Field | Description | Default | Validation |
|---|---|---|---|
|
LoadBalancer contains the current status of the load balancer, |
VirtualMachineServiceType
Underlying type: string
VirtualMachineServiceType string describes ingress methods for a service.
VirtualMachineSetResourcePolicy
VirtualMachineSetResourcePolicy is the Schema for the virtualmachinesetresourcepolicies API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachineSetResourcePolicySpec
VirtualMachineSetResourcePolicySpec defines the desired state of VirtualMachineSetResourcePolicy.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
VirtualMachineSetResourcePolicyStatus
VirtualMachineSetResourcePolicyStatus defines the observed state of VirtualMachineSetResourcePolicy.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachineSpec
VirtualMachineSpec defines the desired state of a VirtualMachine.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Cdrom describes the desired state of the VM’s CD-ROM devices. Each CD-ROM device requires a reference to an ISO-type Multiple CD-ROM devices using the same backing image, regardless of image CD-ROM devices can be added, updated, or removed when the VM is powered |
||
|
Image describes the reference to the VirtualMachineImage or Please note, unlike the field spec.imageName, the value of Please also note, when creating a new VirtualMachine, if this field and Please note, this field may be empty if the VM was imported instead of |
||
|
ImageName describes the name of the image resource used to deploy this This field may be used to specify the name of a VirtualMachineImage This field may also be used to specify the display name (vSphere name) of Please also note, when creating a new VirtualMachine, if this field and Please note, this field may be empty if the VM was imported instead of |
||
|
ClassName describes the name of the VirtualMachineClass resource used to Please note, this field may be empty if the VM was imported instead of |
||
|
Affinity describes the VM’s scheduling constraints. |
||
|
Crypto describes the desired encryption state of the VirtualMachine. |
||
|
StorageClass describes the name of a Kubernetes StorageClass resource Please see https://kubernetes.io/docs/concepts/storage/storage-classes/ |
||
|
Bootstrap describes the desired state of the guest’s bootstrap If omitted, a default bootstrap method may be selected based on the |
||
|
Network describes the desired network configuration for the VM. Please note this value may be omitted entirely and the VM will be |
||
|
PowerState describes the desired power state of a VirtualMachine. Please note this field may be omitted when creating a new VM and will Additionally, setting this value to "Suspended" is not supported when |
Enum: [PoweredOff PoweredOn Suspended] |
|
|
PowerOffMode describes the desired behavior when powering off a VM. There are three, supported power off modes: Hard, Soft, and If omitted, the mode defaults to TrySoft. |
TrySoft |
Enum: [Hard Soft TrySoft] |
|
SuspendMode describes the desired behavior when suspending a VM. There are three, supported suspend modes: Hard, Soft, and If omitted, the mode defaults to TrySoft. |
TrySoft |
Enum: [Hard Soft TrySoft] |
|
NextRestartTime may be used to restart the VM, in accordance with A mutating webhook changes this value to the current time (UTC), which Please note it is not possible to schedule future restarts using this |
||
|
RestartMode describes the desired behavior for restarting a VM when There are three, supported suspend modes: Hard, Soft, and If omitted, the mode defaults to TrySoft. |
TrySoft |
Enum: [Hard Soft TrySoft] |
|
Volumes describes a list of volumes that can be mounted to the VM. |
||
|
ReadinessProbe describes a probe used to determine the VM’s ready state. |
||
|
Advanced describes a set of optional, advanced VM configuration options. |
||
|
Reserved describes a set of VM configuration options reserved for system Please note attempts to modify the value of this field by a DevOps user |
||
|
MinHardwareVersion describes the desired, minimum hardware version. The logic that determines the hardware version is as follows:
This field is never updated to reflect the derived hardware version. Please note, setting this field’s value to N ensures a VM’s hardware Several features are hardware version dependent, for example:
Please refer to https://kb.vmware.com/s/article/1003746 for a list of VM It is important to remember that a VM’s hardware version may not be |
Minimum: 13 |
|
|
InstanceUUID describes the desired Instance UUID for a VM. |
Format: uuid |
|
|
BiosUUID describes the desired BIOS UUID for a VM. |
Format: uuid |
|
|
GuestID describes the desired guest operating system identifier for a VM. The logic that determines the guest ID is as follows: If this field is set, then its value is used. For a complete list of supported values, please refer to Please note that some guest ID values may require a minimal hardware Please note that this field is immutable after the VM is powered on. This field is required when the VM has any CD-ROM devices attached. |
||
|
GroupName indicates the name of the VirtualMachineGroup to which this VMs that belong to a group do not drive their own placement, rather that When this field is set to a valid group that contains this VM as a When this field is deleted or changed, any existing owner reference to |
VirtualMachineStatus
VirtualMachineStatus defines the observed state of a VirtualMachine instance.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Class is a reference to the VirtualMachineClass resource used to deploy |
||
|
Host describes the hostname or IP address of the infrastructure host |
||
|
PowerState describes the observed power state of the VirtualMachine. |
Enum: [PoweredOff PoweredOn Suspended] |
|
|
Conditions describes the observed conditions of the VirtualMachine. |
||
|
Crypto describes the observed state of the VirtualMachine’s encryption |
||
|
Network describes the observed state of the VM’s network configuration. |
||
|
UniqueID describes a unique identifier that is provided by the underlying |
||
|
BiosUUID describes a unique identifier provided by the underlying |
||
|
InstanceUUID describes the unique instance UUID provided by the |
||
|
Volumes describes the observed state of the volumes that are intended to |
||
|
ChangeBlockTracking describes whether or not change block tracking is |
||
|
Zone describes the availability zone where the VirtualMachine has been Please note this field may be empty when the cluster is not zone-aware. |
||
|
LastRestartTime describes the last time the VM was restarted. |
||
|
HardwareVersion describes the VirtualMachine resource’s observed Please refer to VirtualMachineSpec.MinHardwareVersion for more |
||
|
Storage describes the observed state of the VirtualMachine’s storage. |
VirtualMachineStorageStatus
VirtualMachineStorageStatus defines the observed state of a VirtualMachine’s storage.
| Field | Description | Default | Validation |
|---|---|---|---|
Usage describes the observed amount of storage used by a VirtualMachine. |
VirtualMachineStorageStatusUsage
| Field | Description | Default | Validation |
|---|---|---|---|
|
Total describes the total storage space used by a VirtualMachine that |
||
|
Disks describes the total storage space used by a VirtualMachine’s |
||
|
Other describes the total storage space used by the VirtualMachine’s |
VirtualMachineTemplateSpec
VirtualMachineTemplateSpec describes the data needed to create a VirtualMachine from a template.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Refer to Kubernetes API documentation for fields of |
||
|
Specification of the desired behavior of each replica virtual machine. |
VirtualMachineVolume
VirtualMachineVolume represents a named volume in a VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name represents the volume’s name. Must be a DNS_LABEL and unique within |
||
|
PersistentVolumeClaim represents a reference to a PersistentVolumeClaim More information is available at |
VirtualMachineVolumeCryptoStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
ProviderID describes the provider ID used to encrypt the volume. |
||
|
KeyID describes the key ID used to encrypt the volume. |
VirtualMachineVolumeProvisioningMode
Underlying type: string
VirtualMachineVolumeProvisioningMode is the type used to express the desired or observed provisioning mode for a virtual machine disk.
-
Enum: [Thin Thick ThickEagerZero]
VirtualMachineVolumeSource
VirtualMachineVolumeSource represents the source location of a volume to mount. Only one of its members may be specified.
| Field | Description | Default | Validation |
|---|---|---|---|
|
PersistentVolumeClaim represents a reference to a PersistentVolumeClaim More information is available at |
VirtualMachineVolumeStatus
VirtualMachineVolumeStatus defines the observed state of a VirtualMachineVolume instance.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of the attached volume. |
||
Type is the type of the attached volume. |
Managed |
Enum: [Classic Managed] |
|
Crypto describes the volume’s encryption status. |
|||
|
Limit describes the storage limit for the volume. |
||
|
Used describes the observed, non-shared size of the volume on disk. |
||
|
Attached represents whether a volume has been successfully attached to |
||
|
DiskUUID represents the underlying virtual disk UUID and is present when |
||
|
Error represents the last error seen when attaching or detaching a |
VirtualMachineVolumeType
Underlying type: string
VirtualMachineVolumeType describes the type of a VirtualMachine volume.
-
Enum: [Classic Managed]
VirtualMachineWebConsoleRequest
VirtualMachineWebConsoleRequest allows the creation of a one-time, web console connection to a VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachineWebConsoleRequestSpec
VirtualMachineWebConsoleRequestSpec describes the desired state for a web console request to a VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of a VM in the same Namespace as this web console |
||
|
PublicKey is used to encrypt the status.response. This is expected to be a RSA OAEP public key in X.509 PEM format. |
VirtualMachineWebConsoleRequestStatus
VirtualMachineWebConsoleRequestStatus describes the observed state of the request.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Response will be the authenticated ticket corresponding to this web console request. |
||
|
ExpiryTime is the time at which access via this request will expire. |
||
|
ProxyAddr describes the host address and optional port used to access The value could be a DNS entry, IPv4, or IPv6 address, followed by an DNS IPv4 IPv6 In other words, the field may be set to any value that is parsable |
vmoperator.vmware.com/v1alpha4
Package v1alpha4 is one of the schemas for VM Operator.
AffinitySpec
AffinitySpec defines the group of affinity scheduling rules.
| Field | Description | Default | Validation |
|---|---|---|---|
|
VMAffinity describes affinity scheduling rules related to other VMs. |
||
|
VMAntiAffinity describes anti-affinity scheduling rules related to other |
ClusterVirtualMachineImage
ClusterVirtualMachineImage is the schema for the clustervirtualmachineimages API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
DynamicDirectPathIODevice
DynamicDirectPathIODevice contains the configuration corresponding to a Dynamic DirectPath I/O device.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
GroupMember
GroupMember describes a member of a VirtualMachineGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of member of this group. |
||
|
Kind is the kind of member of this group, which can be either If omitted, it defaults to VirtualMachine. |
VirtualMachine |
Enum: [VirtualMachine VirtualMachineGroup] |
GuestHeartbeatAction
GuestHeartbeatAction describes an action based on the guest heartbeat.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ThresholdStatus is the value that the guest heartbeat status must be at or above to be |
green |
Enum: [yellow green] |
GuestHeartbeatStatus
Underlying type: string
GuestHeartbeatStatus is the guest heartbeat status.
GuestInfoAction
GuestInfoAction describes a key from GuestInfo that must match the associated value expression.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Key is the name of the GuestInfo key. The key is automatically prefixed with "guestinfo." before being |
||
|
Value is a regular expression that is matched against the value of the An empty value is the equivalent of "match any" or ".*". All values must adhere to the RE2 regular expression syntax as documented |
InstanceStorage
InstanceStorage provides information used to configure instance storage volumes for a VirtualMachine.
| Field | Description | Default | Validation |
|---|---|---|---|
|
StorageClass refers to the name of a StorageClass resource used to |
||
|
Volumes describes instance storage volumes created for a VirtualMachine |
InstanceStorageVolume
InstanceStorageVolume contains information required to create an instance storage volume on a VirtualMachine.
| Field | Description | Default | Validation |
|---|---|---|---|
|
InstanceVolumeClaimVolumeSource
InstanceVolumeClaimVolumeSource contains information about the instance storage volume claimed as a PVC.
| Field | Description | Default | Validation |
|---|---|---|---|
|
StorageClass is the name of the Kubernetes StorageClass that provides |
||
|
Size is the size of the requested instance storage volume. |
LoadBalancerIngress
LoadBalancerIngress represents the status of a load balancer ingress point: traffic intended for the service should be sent to an ingress point. IP or Hostname may both be set in this structure. It is up to the consumer to determine which field should be used when accessing this LoadBalancer.
| Field | Description | Default | Validation |
|---|---|---|---|
|
IP is set for load balancer ingress points that are specified by an IP |
||
|
Hostname is set for load balancer ingress points that are specified by a |
LoadBalancerStatus
LoadBalancerStatus represents the status of a load balancer.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Ingress is a list containing ingress addresses for the load balancer. |
NetworkDeviceStatus
NetworkDeviceStatus defines the network interface IP configuration including gateway, subnet mask and IP address as seen by OVF properties.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Gateway4 is the gateway for the IPv4 address family for this device. |
||
|
MacAddress is the MAC address of the network device. |
||
|
IpAddresses represents one or more IP addresses assigned to the network |
NetworkStatus
NetworkStatus describes the observed state of the VM’s network configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Devices describe a list of current status information for each |
||
|
Nameservers describe a list of the DNS servers accessible by one of the |
OVFProperty
OVFProperty describes an OVF property associated with an image. OVF properties may be used in conjunction with the vAppConfig bootstrap provider to customize a VM during its creation.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Key describes the OVF property’s key. |
||
|
Type describes the OVF property’s type. |
||
|
Default describes the OVF property’s default value. |
PersistentVolumeClaimVolumeSource
PersistentVolumeClaimVolumeSource is a composite for the Kubernetes corev1.PersistentVolumeClaimVolumeSource and instance storage options.
| Field | Description | Default | Validation |
|---|---|---|---|
|
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. |
||
|
readOnly Will force the ReadOnly setting in VolumeMounts. |
||
|
InstanceVolumeClaim is set if the PVC is backed by instance storage. |
ResourcePoolSpec
ResourcePoolSpec defines a Logical Grouping of workloads that share resource policies.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the name of the ResourcePool grouping. |
||
|
Reservations describes the guaranteed resources reserved for the |
||
|
Limits describes the limit to resources available to the ResourcePool. |
ResourcePoolStatus
ResourcePoolStatus describes the observed state of a vSphere child resource pool created for the Spec.ResourcePool.Name.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
TCPSocketAction
TCPSocketAction describes an action based on opening a socket.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Port specifies a number or name of the port to access on the VM. |
||
|
Host is an optional host name to connect to. Host defaults to the VM IP. |
VGPUDevice
VGPUDevice contains the configuration corresponding to a vGPU device.
| Field | Description | Default | Validation |
|---|---|---|---|
|
VMAffinitySpec
VMAffinitySpec defines the affinity requirements for scheduling rules related to other VMs.
| Field | Description | Default | Validation |
|---|---|---|---|
|
RequiredDuringSchedulingPreferredDuringExecution describes affinity When there are multiple elements, the lists of nodes corresponding to Note: Any update to this field will replace the entire list rather than |
||
|
PreferredDuringSchedulingPreferredDuringExecution describes affinity When there are multiple elements, the lists of nodes corresponding to Note: Any update to this field will replace the entire list rather than |
VMAffinityTerm
VMAffinityTerm defines the VM affinity/anti-affinity term.
| Field | Description | Default | Validation |
|---|---|---|---|
|
LabelSelector is a label query over a set of VMs. |
||
|
TopologyKey describes where this VM should be co-located (affinity) or not Please note, The following rules apply when specifying the topology key in the context of a zone/host.
|
VMAntiAffinitySpec
VMAntiAffinitySpec defines the anti-affinity requirements for scheduling rules related to other VMs.
| Field | Description | Default | Validation |
|---|---|---|---|
|
RequiredDuringSchedulingPreferredDuringExecution describes anti-affinity When there are multiple elements, the lists of nodes corresponding to Note: Any update to this field will replace the entire list rather than |
||
|
PreferredDuringSchedulingPreferredDuringExecution describes anti-affinity When there are multiple elements, the lists of nodes corresponding to Note: Any update to this field will replace the entire list rather than |
VSphereClusterModuleStatus
VSphereClusterModuleStatus describes the observed state of a vSphere cluster module.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
VirtualDevices
VirtualDevices contains information about the virtual devices associated with a VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachine
VirtualMachine is the schema for the virtualmachines API and represents the desired state and observed status of a virtualmachines resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
VirtualMachineAdvancedSpec
VirtualMachineAdvancedSpec describes a set of optional, advanced VM configuration options.
| Field | Description | Default | Validation |
|---|---|---|---|
|
BootDiskCapacity is the capacity of the VM’s boot disk — the first disk Please note it is not advised to change this value while the VM is Please note this field is ignored if the VM is deployed from an ISO with |
||
|
DefaultVolumeProvisioningMode specifies the default provisioning mode for |
Enum: [Thin Thick ThickEagerZero] |
|
|
ChangeBlockTracking is a flag that enables incremental backup support |
VirtualMachineBootstrapCloudInitSpec
VirtualMachineBootstrapCloudInitSpec describes the CloudInit configuration used to bootstrap the VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
InstanceID is the cloud-init metadata instance ID. |
||
|
CloudConfig describes a subset of a Cloud-Init CloudConfig, used to Please note this field and RawCloudConfig are mutually exclusive. |
||
|
RawCloudConfig describes a key in a Secret resource that contains the The CloudConfig data specified by the key may be plain-text, Please note this field and CloudConfig are mutually exclusive. |
||
|
SSHAuthorizedKeys is a list of public keys that CloudInit will apply to |
||
|
UseGlobalNameserversAsDefault will use the global nameservers specified in Defaults to true if omitted. |
||
|
UseGlobalSearchDomainsAsDefault will use the global search domains specified Defaults to true if omitted. |
VirtualMachineBootstrapLinuxPrepSpec
VirtualMachineBootstrapLinuxPrepSpec describes the LinuxPrep configuration used to bootstrap the VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
HardwareClockIsUTC specifies whether the hardware clock is in UTC or |
||
|
TimeZone is a case-sensitive timezone, such as Europe/Sofia. Valid values are based on the tz (timezone) database used by Linux and Please see https://kb.vmware.com/s/article/2145518 for a list of valid |
VirtualMachineBootstrapSpec
VirtualMachineBootstrapSpec defines the desired state of a VM’s bootstrap configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
|
CloudInit may be used to bootstrap Linux guests with Cloud-Init or The guest’s networking stack is configured by Cloud-Init on Linux guests Please note this bootstrap provider may not be used in conjunction with |
||
|
LinuxPrep may be used to bootstrap Linux guests. The guest’s networking stack is configured by Guest OS Customization Please note this bootstrap provider may be used in conjunction with the This bootstrap provider may not be used in conjunction with the CloudInit |
||
Sysprep may be used to bootstrap Windows guests. The guest’s networking stack is configured by Guest OS Customization Please note this bootstrap provider may be used in conjunction with the This bootstrap provider may not be used in conjunction with the CloudInit |
|||
|
VAppConfig may be used to bootstrap guests that rely on vApp properties The guest’s networking stack may be configured using either vApp Many OVFs define one or more properties that are used by the guest to It is also possible to use GOSC to bootstrap this VM’s network stack by Please note the VAppConfig bootstrap provider in conjunction with the This bootstrap provider may not be used in conjunction with the CloudInit |
VirtualMachineBootstrapSysprepSpec
VirtualMachineBootstrapSysprepSpec describes the Sysprep configuration used to bootstrap the VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Sysprep is an object representation of a Windows sysprep.xml answer file. This field encloses all the individual keys listed in a sysprep.xml file. For more detailed information please see Please note this field and RawSysprep are mutually exclusive. |
||
|
RawSysprep describes a key in a Secret resource that contains an XML The data specified by the Secret key may be plain-text, base64-encoded, Please note this field and Sysprep are mutually exclusive. |
VirtualMachineBootstrapVAppConfigSpec
VirtualMachineBootstrapVAppConfigSpec describes the vApp configuration used to bootstrap the VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Properties is a list of vApp/OVF property key/value pairs. Please note this field and RawProperties are mutually exclusive. |
||
|
RawProperties is the name of a Secret resource in the same Namespace as Please note this field and Properties are mutually exclusive. |
VirtualMachineCdromSpec
VirtualMachineCdromSpec describes the desired state of a CD-ROM device.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name consists of at least two lowercase letters or digits of this CD-ROM. This field is immutable when the VM is powered on. |
Pattern: |
|
|
Image describes the reference to an ISO type VirtualMachineImage or This field is immutable when the VM is powered on. Please note, unlike the spec.imageName field, the value of this |
||
|
Connected describes the desired connection state of the CD-ROM device. When true, the CD-ROM device is added and connected to the VM. When explicitly set to false, the CD-ROM device is added but remains Note: Before disconnecting a CD-ROM, the device may need to be unmounted Defaults to true if omitted. |
true |
|
|
AllowGuestControl describes whether or not a web console connection Defaults to true if omitted. |
true |
VirtualMachineClass
VirtualMachineClass is the schema for the virtualmachineclasses API and represents the desired state and observed status of a virtualmachineclasses resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineClassHardware
VirtualMachineClassHardware describes a virtual hardware resource specification.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
|||
|
VirtualMachineClassInstance
VirtualMachineClassInstance is the schema for the virtualmachineclassinstances API and represents the desired state and observed status of a virtualmachineclassinstance resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachineClassInstanceSpec
VirtualMachineClassInstanceSpec defines the desired state of VirtualMachineClassInstance. It is a composite of VirtualMachineClassSpec.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ControllerName describes the name of the controller responsible for When omitted, controllers reconciling VirtualMachine resources determine Once a non-empty value is assigned to this field, attempts to set this |
||
|
Hardware describes the configuration of the VirtualMachineClass |
||
|
Policies describes the configuration of the VirtualMachineClass |
||
|
Description describes the configuration of the VirtualMachineClass which |
||
|
ConfigSpec describes additional configuration information for a |
Schemaless: \{} |
|
|
ReservedProfileID describes the reservation profile associated with |
||
|
ReservedSlots describes the number of slots reserved for VMs that use |
Minimum: 0 |
VirtualMachineClassInstanceStatus
VirtualMachineClassInstanceStatus defines the observed state of VirtualMachineClassInstance.
VirtualMachineClassPolicies
VirtualMachineClassPolicies describes the policy configuration to be used by a VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
VirtualMachineClassResources
VirtualMachineClassResources describes the virtual hardware resource reservations and limits configuration to be used by a VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachineClassSpec
VirtualMachineClassSpec defines the desired state of VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ControllerName describes the name of the controller responsible for When omitted, controllers reconciling VirtualMachine resources determine Once a non-empty value is assigned to this field, attempts to set this |
||
|
Hardware describes the configuration of the VirtualMachineClass |
||
|
Policies describes the configuration of the VirtualMachineClass |
||
|
Description describes the configuration of the VirtualMachineClass which |
||
|
ConfigSpec describes additional configuration information for a |
Schemaless: \{} |
|
|
ReservedProfileID describes the reservation profile associated with |
||
|
ReservedSlots describes the number of slots reserved for VMs that use |
Minimum: 0 |
VirtualMachineClassStatus
VirtualMachineClassStatus defines the observed state of VirtualMachineClass.
VirtualMachineCryptoSpec
VirtualMachineCryptoSpec defines the desired state of a VirtualMachine’s encryption state.
| Field | Description | Default | Validation |
|---|---|---|---|
|
EncryptionClassName describes the name of the EncryptionClass resource Please note, this field is not required to encrypt the VM. If the If there is a default key provider and an encryption storage class is If there is a default key provider and a VM Class with a virtual, trusted If the underlying vSphere platform does not have a default key provider, If this field is set, spec.storageClass must use an encryption-enabled |
||
|
UseDefaultKeyProvider describes the desired behavior for when an explicit When an explicit EncryptionClass is not provided and this value is true:
When an explicit EncryptionClass is not provided and this value is false:
Please note, this could result in a VirtualMachine that cannot be Defaults to true if omitted. |
true |
VirtualMachineCryptoStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Encrypted describes the observed state of the VirtualMachine’s
|
||
|
ProviderID describes the provider ID used to encrypt the VirtualMachine. |
||
|
KeyID describes the key ID used to encrypt the VirtualMachine. |
VirtualMachineEncryptionType
Underlying type: string
VirtualMachineGroup
VirtualMachineGroup is the schema for the VirtualMachineGroup API and represents the desired state and observed status of a VirtualMachineGroup resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineGroupBootOrderGroup
VirtualMachineGroupBootOrderGroup describes a boot order group within a VirtualMachineGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Members describes the names of VirtualMachine or VirtualMachineGroup |
||
|
PowerOnDelay is the amount of time to wait before powering on all the If omitted, the members will be powered on immediately when the group’s |
VirtualMachineGroupMemberStatus
VirtualMachineGroupMemberStatus describes the observed status of a group member.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of this member. |
||
|
Kind is the kind of this member, which can be either VirtualMachine or |
Enum: [VirtualMachine VirtualMachineGroup] |
|
|
UID is the K8s metadata UID of this current member object. |
||
|
Placement describes the placement results for this member. Please note this field is only set for VirtualMachine members. |
||
|
PowerState describes the observed power state of this member. Please note this field is only set for VirtualMachine members. |
Enum: [PoweredOff PoweredOn Suspended] |
|
|
Conditions describes any conditions associated with this member.
|
VirtualMachineGroupPlacementDatastoreStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the name of a datastore. |
||
|
ID describes the datastore ID. |
||
|
URL describes the datastore URL. |
||
|
SupportedDiskFormat describes the list of disk formats supported by this |
||
|
DiskKey describes the device key to which this recommendation applies. |
||
|
TopLevelDirectoryCreateSupported indicates whether or not the datastore |
VirtualMachineGroupSpec
VirtualMachineGroupSpec defines the desired state of VirtualMachineGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
GroupName describes the name of the group that this group belongs to. When this field is set to a valid group that contains this VM Group as a When this field is deleted or changed, any existing owner reference to |
||
|
BootOrder describes the boot sequence for this group members. Each boot When powering off, all members are stopped immediately without delays. |
||
|
PowerState describes the desired power state of a VirtualMachineGroup. Please note this field may be omitted when creating a new VM group. This However, once the field is set to a non-empty value, it may no longer be |
Enum: [PoweredOff PoweredOn Suspended] |
|
|
NextForcePowerStateSyncTime may be used to force sync the power state of A mutating webhook changes this value to the current time (UTC), which Please note it is not possible to schedule future syncs using this field. |
||
|
PowerOffMode describes the desired behavior when powering off a VM Group. Please note this field is only propagated to the group’s members when |
Enum: [Hard Soft TrySoft] |
|
|
SuspendMode describes the desired behavior when suspending a VM Group. Please note this field is only propagated to the group’s members when |
Enum: [Hard Soft TrySoft] |
VirtualMachineGroupStatus
VirtualMachineGroupStatus defines the observed state of VirtualMachineGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Members describes the observed status of group members. |
||
|
LastUpdatedPowerStateTime describes the observed time when the power |
||
|
Conditions describes any conditions associated with this VM Group.
|
VirtualMachineImage
VirtualMachineImage is the schema for the virtualmachineimages API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineImageCache
VirtualMachineImageCache is the schema for the virtualmachineimagecaches API.
Deprecated: This type is deprecated and will be removed in a future release. Please use v1alpha5.VirtualMachineImageCache instead.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachineImageCacheFileStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
ID describes the value used to locate the file.
|
||
Type describes the type of file. |
Enum: [Disk Other] |
||
|
DiskType describes the type of disk. |
Enum: [Classic Managed] |
VirtualMachineImageCacheFileType
Underlying type: string
VirtualMachineImageCacheFileType describes the types of files that may be cached.
-
Enum: [Disk Other]
VirtualMachineImageCacheLocationSpec
| Field | Description | Default | Validation |
|---|---|---|---|
|
DatacenterID describes the ID of the datacenter to which the image should |
||
|
ProfileID describes the ID of the storage profile used to cache the |
||
|
DatastoreID describes the ID of the datastore to which the image should |
VirtualMachineImageCacheLocationStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
DatacenterID describes the ID of the datacenter where the image is |
||
|
DatastoreID describes the ID of the datastore where the image is cached. |
||
|
ProfileID describes the ID of the storage profile used to cache the |
||
|
Files describes the image’s files cached on this datastore. |
||
|
Conditions describes any conditions associated with this cache location. Generally this should just include the ReadyType condition. |
VirtualMachineImageCacheOVFStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
ConfigMapName describes the name of the ConfigMap resource that contains |
||
|
ProviderVersion describes the observed provider version at which the OVF |
VirtualMachineImageCacheSpec
VirtualMachineImageCacheSpec defines the desired state of VirtualMachineImageCache.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ProviderID describes the ID of the provider item to which the image |
||
|
ProviderVersion describes the version of the provider item to which the |
||
|
Locations describes the locations where the image should be cached. |
VirtualMachineImageCacheStatus
VirtualMachineImageCacheStatus defines the observed state of VirtualMachineImageCache.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Locations describe the observed locations where the image is cached. |
||
OVF describes the observed status of the cached OVF content. |
|||
|
Conditions describes any conditions associated with this cached image. Generally this should just include the ReadyType condition, which will |
VirtualMachineImageDiskInfo
VirtualMachineImageDiskInfo describes information about any disks associated with this image.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Capacity is the virtual disk capacity in bytes. |
||
|
Size is the estimated populated size of the virtual disk in bytes. |
VirtualMachineImageOSInfo
VirtualMachineImageOSInfo describes the image’s guest operating system.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ID describes the operating system ID. This value is also added to the image resource’s labels as |
||
|
Type describes the operating system type. This value is also added to the image resource’s labels as |
||
|
Version describes the operating system version. This value is also added to the image resource’s labels as |
VirtualMachineImageProductInfo
VirtualMachineImageProductInfo describes product information for an image.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Product is a general descriptor for the image. |
||
|
Vendor describes the organization/user that produced the image. |
||
|
Version describes the short-form version of the image. |
||
|
FullVersion describes the long-form version of the image. |
VirtualMachineImageRef
| Field | Description | Default | Validation |
|---|---|---|---|
|
Kind describes the type of image, either a namespace-scoped |
||
|
Name refers to the name of a VirtualMachineImage resource in the same |
VirtualMachineImageSpec
VirtualMachineImageSpec defines the desired state of VirtualMachineImage.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ProviderRef is a reference to the resource that contains the source of |
VirtualMachineImageStatus
VirtualMachineImageStatus defines the observed state of VirtualMachineImage.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the display name of this image. |
||
|
Capabilities describes the image’s observed capabilities. The capabilities are discerned when VM Operator reconciles an image.
Every capability is also added to the resource’s labels as |
||
|
Firmware describe the firmware type used by this image, ex. BIOS, EFI. |
||
|
HardwareVersion describes the observed hardware version of this image. |
||
|
OSInfo describes the observed operating system information for this The OS information is also added to the image resource’s labels. Please |
||
|
OVFProperties describes the observed user configurable OVF properties defined for this |
||
|
VMwareSystemProperties describes the observed VMware system properties defined for |
||
|
ProductInfo describes the observed product information for this image. |
||
|
Disks describes the observed disk information for this image. |
||
|
ProviderContentVersion describes the content version from the provider item |
||
|
ProviderItemID describes the ID of the provider item that this image corresponds to. |
||
|
Conditions describes the observed conditions for this image. |
||
|
Type describes the content library item type (OVF, ISO, or VM) of the |
VirtualMachineNetworkConfigDHCPOptionsStatus
VirtualMachineNetworkConfigDHCPOptionsStatus describes the configured DHCP options.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Enabled describes whether DHCP is enabled. |
VirtualMachineNetworkConfigDHCPStatus
VirtualMachineNetworkConfigDHCPStatus describes the configured state of the system-wide DHCP settings for IP4 and IP6.
| Field | Description | Default | Validation |
|---|---|---|---|
IP4 describes the configured state of the IP4 DHCP settings. |
|||
IP6 describes the configured state of the IP6 DHCP settings. |
VirtualMachineNetworkConfigDNSStatus
VirtualMachineNetworkConfigDNSStatus describes the configured state of the RFC 1034 client-side DNS settings.
| Field | Description | Default | Validation |
|---|---|---|---|
|
HostName is the host name portion of the DNS name. For example, |
||
|
DomainName is the domain name portion of the DNS name. For example, |
||
|
Nameservers is a list of the IP addresses for the DNS servers to use. IP4 addresses are specified using dotted decimal notation. For example, IP6 addresses are 128-bit addresses represented as eight fields of up to |
||
|
SearchDomains is a list of domains in which to search for hosts, in the |
VirtualMachineNetworkConfigInterfaceIPStatus
VirtualMachineNetworkConfigInterfaceIPStatus describes the configured state of a VM’s network interface’s IP configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
DHCP describes the interface’s configured DHCP options. |
|||
|
Addresses describes configured IP addresses for this interface. |
||
|
Gateway4 describes the interface’s configured, default, IP4 gateway. Please note the IP address include the network prefix length, ex. |
||
|
Gateway6 describes the interface’s configured, default, IP6 gateway. Please note the IP address includes the network prefix length, ex. |
VirtualMachineNetworkConfigInterfaceStatus
VirtualMachineNetworkConfigInterfaceStatus describes the configured state of network interface.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the corresponding network interface with the same name Please note this name is not necessarily related to the name of the |
||
IP describes the interface’s configured IP information. |
|||
DNS describes the interface’s configured DNS information. |
VirtualMachineNetworkConfigStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Interfaces describes the configured state of the network interfaces. |
||
DNS describes the configured state of client-side DNS. |
VirtualMachineNetworkDHCPOptionsStatus
VirtualMachineNetworkDHCPOptionsStatus describes the observed state of DHCP options.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Config describes platform-dependent settings for the DHCP client. The key part is a unique number while the value part is the platform |
||
|
Enabled reports the status of the DHCP client services. |
VirtualMachineNetworkDHCPStatus
VirtualMachineNetworkDHCPStatus describes the observed state of the client-side, system-wide DHCP settings for IP4 and IP6.
| Field | Description | Default | Validation |
|---|---|---|---|
IP4 describes the observed state of the IP4 DHCP client settings. |
|||
IP6 describes the observed state of the IP6 DHCP client settings. |
VirtualMachineNetworkDNSStatus
VirtualMachineNetworkDNSStatus describes the observed state of the guest’s RFC 1034 client-side DNS settings.
| Field | Description | Default | Validation |
|---|---|---|---|
|
DHCP indicates whether or not dynamic host control protocol (DHCP) was |
||
|
HostName is the host name portion of the DNS name. For example, |
||
|
DomainName is the domain name portion of the DNS name. For example, |
||
|
Nameservers is a list of the IP addresses for the DNS servers to use. IP4 addresses are specified using dotted decimal notation. For example, IP6 addresses are 128-bit addresses represented as eight fields of up to |
||
|
SearchDomains is a list of domains in which to search for hosts, in the |
VirtualMachineNetworkIPRouteGatewayStatus
VirtualMachineNetworkIPRouteGatewayStatus describes the observed state of a guest network’s IP route’s next hop gateway.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Device is the name of the device in the guest for which this gateway |
||
|
Address is the IP4 or IP6 address of the gateway. |
VirtualMachineNetworkIPRouteStatus
VirtualMachineNetworkIPRouteStatus describes the observed state of a guest network’s IP routes.
| Field | Description | Default | Validation |
|---|---|---|---|
Gateway describes where to send the packets to next. |
|||
|
NetworkAddress is the IP4 or IP6 address of the destination network. Addresses include the network’s prefix length, ex. 192.168.0.0/24 or IP6 addresses are 128-bit addresses represented as eight fields of up to |
VirtualMachineNetworkIPStackStatus
VirtualMachineNetworkIPStackStatus describes the observed state of a VM’s IP stack.
| Field | Description | Default | Validation |
|---|---|---|---|
DHCP describes the VM’s observed, client-side, system-wide DHCP options. |
|||
DNS describes the VM’s observed, client-side DNS configuration. |
|||
|
IPRoutes contain the VM’s routing tables for all address families. |
||
|
KernelConfig describes the observed state of the VM’s kernel IP The key part contains a unique number while the value part contains the |
VirtualMachineNetworkInterfaceIPAddrStatus
VirtualMachineNetworkInterfaceIPAddrStatus describes information about a specific IP address.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Address is an IP4 or IP6 address and their network prefix length. An IP4 address is specified using dotted decimal notation. For example, IP6 addresses are 128-bit addresses represented as eight fields of up to |
||
|
Lifetime describes when this address will expire. |
||
|
Origin describes how this address was configured. |
Enum: [dhcp linklayer manual other random] |
|
|
State describes the state of this IP address. |
Enum: [deprecated duplicate inaccessible invalid preferred tentative unknown] |
VirtualMachineNetworkInterfaceIPStatus
VirtualMachineNetworkInterfaceIPStatus describes the observed state of a VM’s network interface’s IP configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
|
AutoConfigurationEnabled describes whether or not ICMPv6 router These requests acquire an IP6 address and default gateway route from If not set then ICMPv6 is not available on this VM. |
||
DHCP describes the VM’s observed, client-side, interface-specific DHCP |
|||
|
Addresses describes observed IP addresses for this interface. |
||
|
MACAddr describes the observed MAC address for this interface. |
VirtualMachineNetworkInterfaceSpec
VirtualMachineNetworkInterfaceSpec describes the desired state of a VM’s network interface.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the unique name of this network interface, used to When the bootstrap provider is Cloud-Init and GuestDeviceName is not |
Pattern: |
|
|
Network is the name of the network resource to which this interface is If no network is provided, then this interface will be connected to the |
||
|
GuestDeviceName is used to rename the device inside the guest when the |
Pattern: |
|
|
MACAddr is the optional MAC address of this interface. If no MAC address is provided, one will be generated by either the network Please note this field is only supported when the Network API Group is |
Pattern: |
|
|
Addresses is an optional list of IP4 or IP6 addresses to assign to this Please note this field is only supported if the connected network Please note IP4 and IP6 addresses must include the network prefix length, Please note this field may not contain IP4 addresses if DHCP4 is set |
||
|
DHCP4 indicates whether or not this interface uses DHCP for IP4 Please note this field is only supported if the network connection Please note this field is mutually exclusive with IP4 addresses in the |
||
|
DHCP6 indicates whether or not this interface uses DHCP for IP6 Please note this field is only supported if the network connection Please note this field is mutually exclusive with IP6 addresses in the |
||
|
Gateway4 is the default, IP4 gateway for this interface. If unset, the gateway from the network provider will be used. However, Please note this field is only supported if the network connection Please note this field is mutually exclusive with DHCP4. |
||
|
Gateway6 is the primary IP6 gateway for this interface. If unset, the gateway from the network provider will be used. However, Please note this field is only supported if the network connection Please note this field is mutually exclusive with DHCP6. |
||
|
MTU is the Maximum Transmission Unit size in bytes. Please note this feature is available only with the following bootstrap |
||
|
Nameservers is a list of IP4 and/or IP6 addresses used as DNS Please note this feature is available only with the following bootstrap When using CloudInit and UseGlobalNameserversAsDefault is either unset or Please note that Linux allows only three nameservers |
||
|
Routes is a list of optional, static routes. Please note this feature is available only with the following bootstrap |
||
|
SearchDomains is a list of search domains used when resolving IP Please note this feature is available only with the following bootstrap When using CloudInit and UseGlobalSearchDomainsAsDefault is either unset |
VirtualMachineNetworkInterfaceStatus
VirtualMachineNetworkInterfaceStatus describes the observed state of a VM’s network interface.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the corresponding network interface with the same name Please note this name is not necessarily related to the name of the |
||
|
DeviceKey describes the unique hardware device key of this network |
||
IP describes the observed state of the interface’s IP configuration. |
|||
DNS describes the observed state of the interface’s DNS configuration. |
VirtualMachineNetworkRouteSpec
VirtualMachineNetworkRouteSpec defines a static route for a guest.
| Field | Description | Default | Validation |
|---|---|---|---|
|
To is either "default", or an IP4 or IP6 address. |
||
|
Via is an IP4 or IP6 address. |
||
|
Metric is the weight/priority of the route. |
Minimum: 1 |
VirtualMachineNetworkSpec
VirtualMachineNetworkSpec defines a VM’s desired network configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
|
HostName describes the value the guest uses as its host name. If omitted, Please note, this feature is available with the following bootstrap This field must adhere to the format specified in RFC-1034, Section 3.5
Please note, the combined values of spec.network.hostName and |
||
|
DomainName describes the value the guest uses as its domain name. Please note, this feature is available with the following bootstrap This field must adhere to the format specified in RFC-1034, Section 3.5
Please note, the combined values of spec.network.hostName and When deploying a guest running Microsoft Windows, this field describes |
||
|
Disabled is a flag that indicates whether or not to disable networking When set to true, the VM is not configured with a default interface nor |
||
|
Nameservers is a list of IP4 and/or IP6 addresses used as DNS Please note global nameservers are only available with the following Please note that Linux allows only three nameservers |
||
|
SearchDomains is a list of search domains used when resolving IP Please note global search domains are only available with the following |
||
|
Interfaces is the list of network interfaces used by this VM. If the Interfaces field is empty and the Disabled field is false, then The maximum number of network interface allowed is 10 because a vSphere |
MaxItems: 10 |
VirtualMachineNetworkStatus
VirtualMachineNetworkStatus defines the observed state of a VM’s network configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
Config describes the resolved, configured network settings for the VM, Please note this information does not represent the observed network |
|||
|
HostName describes the observed hostname reported by the VirtualMachine’s Please note, this value is only reported if VMware Tools is installed in |
||
|
Interfaces describes the status of the VM’s network interfaces. |
||
|
IPStacks describes information about the guest’s configured IP networking |
||
|
PrimaryIP4 describes the VM’s primary IP4 address. If the bootstrap provider is CloudInit then this value is set to the If the bootstrap provider is anything else then this field is set to the |
||
|
PrimaryIP6 describes the VM’s primary IP6 address. If the bootstrap provider is CloudInit then this value is set to the If the bootstrap provider is anything else then this field is set to the |
VirtualMachinePlacementStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Zone describes the recommended zone for this VM. |
||
|
Node describes the recommended node for this VM. |
||
|
Pool describes the recommended resource pool for this VM. |
||
|
Datastores describe the recommended datastores for this VM. |
VirtualMachinePowerOpMode
Underlying type: string
VirtualMachinePowerOpMode represents the various power operation modes when powering off or suspending a VM.
-
Enum: [Hard Soft TrySoft]
VirtualMachinePowerState
Underlying type: string
VirtualMachinePowerState defines a VM’s desired and observed power states.
-
Enum: [PoweredOff PoweredOn Suspended]
VirtualMachinePromoteDisksMode
Underlying type: string
VirtualMachinePromoteDisksMode represents the available modes for promoting child disks to full clones.
-
Enum: [Online Offline Disabled]
VirtualMachinePublishRequest
VirtualMachinePublishRequest defines the information necessary to publish a VirtualMachine as a VirtualMachineImage to an image registry.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachinePublishRequestSource
VirtualMachinePublishRequestSource is the source of a publication request, typically a VirtualMachine resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of the referenced object. If omitted this value defaults to the name of the |
||
|
APIVersion is the API version of the referenced object. |
vmoperator.vmware.com/v1alpha1 |
|
|
Kind is the kind of referenced object. |
VirtualMachine |
VirtualMachinePublishRequestSpec
VirtualMachinePublishRequestSpec defines the desired state of a VirtualMachinePublishRequest.
All the fields in this spec are optional. This is especially useful when a DevOps persona wants to publish a VM without doing anything more than applying a VirtualMachinePublishRequest resource that has the same name as said VM in the same namespace as said VM.
| Field | Description | Default | Validation |
|---|---|---|---|
Source is the source of the publication request, ex. a VirtualMachine If this value is omitted then the publication controller checks to |
|||
Target is the target of the publication request, ex. item If this value is omitted, the controller uses spec.source.name + "-image" Please note that while optional, if a VirtualMachinePublishRequest sans |
|||
|
TTLSecondsAfterFinished is the time-to-live duration for how long this If this field is unset then the request resource will not be |
Minimum: 0 |
VirtualMachinePublishRequestStatus
VirtualMachinePublishRequestStatus defines the observed state of a VirtualMachinePublishRequest.
| Field | Description | Default | Validation |
|---|---|---|---|
|
SourceRef is the reference to the source of the publication request, |
||
|
TargetRef is the reference to the target of the publication request, |
||
|
CompletionTime represents time when the request was completed. It is not The value of this field should be equal to the value of the |
||
|
StartTime represents time when the request was acknowledged by the |
||
|
Attempts represents the number of times the request to publish the VM |
||
|
LastAttemptTime represents the time when the latest request was sent. |
||
|
ImageName is the name of the VirtualMachineImage resource that is This field will not be set until the VirtualMachineImage resource |
||
|
Ready is set to true only when the VM has been published successfully Readiness is determined by waiting until there is status condition
|
||
|
Conditions is a list of the latest, available observations of the |
VirtualMachinePublishRequestTarget
VirtualMachinePublishRequestTarget is the target of a publication request, typically a ContentLibrary resource.
| Field | Description | Default | Validation |
|---|---|---|---|
Item contains information about the name of the object to which Please note this value is optional and if omitted, the controller |
|||
Location contains information about the location to which to publish |
VirtualMachinePublishRequestTargetItem
VirtualMachinePublishRequestTargetItem is the item part of a publication request’s target.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of the published object. If the spec.target.location.apiVersion equals If omitted then the controller will use spec.source.name + "-image". |
||
|
Description is the description to assign to the published object. |
VirtualMachinePublishRequestTargetLocation
VirtualMachinePublishRequestTargetLocation is the location part of a publication request’s target.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of the referenced object. Please note an error will be returned if this field is not A default publication target is a resource with an API version |
||
|
APIVersion is the API version of the referenced object. |
imageregistry.vmware.com/v1alpha1 |
|
|
Kind is the kind of referenced object. |
ContentLibrary |
VirtualMachineReadinessProbeSpec
VirtualMachineReadinessProbeSpec describes a probe used to determine if a VM is in a ready state. All probe actions are mutually exclusive.
| Field | Description | Default | Validation |
|---|---|---|---|
|
TCPSocket specifies an action involving a TCP port. Deprecated: The TCPSocket action requires network connectivity that is not supported in all environments. |
||
|
GuestHeartbeat specifies an action involving the guest heartbeat status. |
||
|
GuestInfo specifies an action involving key/value pairs from GuestInfo. The elements are evaluated with the logical AND operator, meaning For example, a VM resource’s probe definition could be specified as the guestInfo: With the above configuration in place, the VM would not be considered From within the guest operating system it is possible to set GuestInfo vmware-rpctool "info-set guestinfo.ready true" Once executed, the VM’s readiness probe will be signaled and the |
||
|
TimeoutSeconds specifies a number of seconds after which the probe times out. |
Maximum: 60 |
|
|
PeriodSeconds specifics how often (in seconds) to perform the probe. |
Minimum: 1 |
VirtualMachineReplicaSet
VirtualMachineReplicaSet is the schema for the virtualmachinereplicasets API.
Deprecated: This type is deprecated and will be removed in a future release. Please use v1alpha5.VirtualMachineReplicaSet instead.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachineReplicaSetSpec
VirtualMachineReplicaSetSpec is the specification of a VirtualMachineReplicaSet.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Replicas is the number of desired replicas. |
1 |
|
|
DeletePolicy defines the policy used to identify nodes to delete when downscaling. |
Enum: [Random] |
|
|
Selector is a label to query over virtual machines that should match the It must match the VirtualMachine template’s labels. |
||
|
Template is the object that describes the virtual machine that will be |
VirtualMachineReplicaSetStatus
VirtualMachineReplicaSetStatus represents the observed state of a VirtualMachineReplicaSet resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Replicas is the most recently observed number of replicas. |
||
|
FullyLabeledReplicas is the number of replicas that have labels matching the |
||
|
ReadyReplicas is the number of ready replicas for this VirtualMachineReplicaSet. A |
||
|
ObservedGeneration reflects the generation of the most recently observed |
||
|
Conditions represents the latest available observations of a |
VirtualMachineReservedSpec
VirtualMachineReservedSpec describes a set of VM configuration options reserved for system use. Modification attempts by DevOps users will result in a validation error.
| Field | Description | Default | Validation |
|---|---|---|---|
|
VirtualMachineResourceSpec
VirtualMachineResourceSpec describes a virtual hardware policy specification.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachineService
VirtualMachineService is the Schema for the virtualmachineservices API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineServicePort
VirtualMachineServicePort describes the specification of a service port to be exposed by a VirtualMachineService. This VirtualMachineServicePort specification includes attributes that define the external and internal representation of the service port.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the name to be used to identify this |
||
|
Protocol describes the Layer 4 transport protocol for this port. |
||
|
Port describes the external port that will be exposed by the service. |
||
|
TargetPort describes the internal port open on a VirtualMachine that |
VirtualMachineServiceSpec
VirtualMachineServiceSpec defines the desired state of VirtualMachineService.
| Field | Description | Default | Validation |
|---|---|---|---|
Type specifies a desired VirtualMachineServiceType for this |
|||
|
Ports specifies a list of VirtualMachineServicePort to expose with this |
||
|
Selector specifies a map of key-value pairs, also known as a Label |
||
|
LoadBalancer will get created with the IP specified in this field. |
||
|
LoadBalancerSourceRanges is an array of IP addresses in the format of |
||
|
ClusterIP is the IP address of the service and is usually assigned |
||
|
ExternalName is the external reference that kubedns or equivalent will |
VirtualMachineServiceStatus
VirtualMachineServiceStatus defines the observed state of VirtualMachineService.
| Field | Description | Default | Validation |
|---|---|---|---|
|
LoadBalancer contains the current status of the load balancer, |
VirtualMachineServiceType
Underlying type: string
VirtualMachineServiceType string describes ingress methods for a service.
VirtualMachineSetResourcePolicy
VirtualMachineSetResourcePolicy is the Schema for the virtualmachinesetresourcepolicies API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachineSetResourcePolicySpec
VirtualMachineSetResourcePolicySpec defines the desired state of VirtualMachineSetResourcePolicy.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
VirtualMachineSetResourcePolicyStatus
VirtualMachineSetResourcePolicyStatus defines the observed state of VirtualMachineSetResourcePolicy.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachineSpec
VirtualMachineSpec defines the desired state of a VirtualMachine.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Cdrom describes the desired state of the VM’s CD-ROM devices. Each CD-ROM device requires a reference to an ISO-type Multiple CD-ROM devices using the same backing image, regardless of image CD-ROM devices can be added, updated, or removed when the VM is powered |
||
|
Image describes the reference to the VirtualMachineImage or Please note, unlike the field spec.imageName, the value of Please also note, when creating a new VirtualMachine, if this field and Please note, this field may be empty if the VM was imported instead of |
||
|
ImageName describes the name of the image resource used to deploy this This field may be used to specify the name of a VirtualMachineImage This field may also be used to specify the display name (vSphere name) of Please also note, when creating a new VirtualMachine, if this field and Please note, this field may be empty if the VM was imported instead of |
||
|
ClassName describes the name of the VirtualMachineClass resource used to Please note, this field may be empty if the VM was imported instead of If a VM is using a class, a different value in spec.className |
||
|
Affinity describes the VM’s scheduling constraints. |
||
|
Crypto describes the desired encryption state of the VirtualMachine. |
||
|
StorageClass describes the name of a Kubernetes StorageClass resource Please see https://kubernetes.io/docs/concepts/storage/storage-classes/ |
||
|
Bootstrap describes the desired state of the guest’s bootstrap If omitted, a default bootstrap method may be selected based on the |
||
|
Network describes the desired network configuration for the VM. Please note this value may be omitted entirely and the VM will be |
||
|
PowerState describes the desired power state of a VirtualMachine. Please note this field may be omitted when creating a new VM and will Additionally, setting this value to "Suspended" is not supported when |
Enum: [PoweredOff PoweredOn Suspended] |
|
|
PowerOffMode describes the desired behavior when powering off a VM. There are three, supported power off modes: Hard, Soft, and If omitted, the mode defaults to TrySoft. |
TrySoft |
Enum: [Hard Soft TrySoft] |
|
SuspendMode describes the desired behavior when suspending a VM. There are three, supported suspend modes: Hard, Soft, and If omitted, the mode defaults to TrySoft. |
TrySoft |
Enum: [Hard Soft TrySoft] |
|
NextRestartTime may be used to restart the VM, in accordance with A mutating webhook changes this value to the current time (UTC), which Please note it is not possible to schedule future restarts using this |
||
|
RestartMode describes the desired behavior for restarting a VM when There are three, supported suspend modes: Hard, Soft, and If omitted, the mode defaults to TrySoft. |
TrySoft |
Enum: [Hard Soft TrySoft] |
|
Volumes describes a list of volumes that can be mounted to the VM. |
||
|
ReadinessProbe describes a probe used to determine the VM’s ready state. |
||
|
Advanced describes a set of optional, advanced VM configuration options. |
||
|
Reserved describes a set of VM configuration options reserved for system Please note attempts to modify the value of this field by a DevOps user |
||
|
MinHardwareVersion describes the desired, minimum hardware version. The logic that determines the hardware version is as follows:
This field is never updated to reflect the derived hardware version. Please note, setting this field’s value to N ensures a VM’s hardware Several features are hardware version dependent, for example:
Please refer to https://kb.vmware.com/s/article/1003746 for a list of VM It is important to remember that a VM’s hardware version may not be |
Minimum: 13 |
|
|
InstanceUUID describes the desired Instance UUID for a VM. |
Format: uuid |
|
|
BiosUUID describes the desired BIOS UUID for a VM. |
Format: uuid |
|
|
GuestID describes the desired guest operating system identifier for a VM. The logic that determines the guest ID is as follows: If this field is set, then its value is used. For a complete list of supported values, please refer to Please note that some guest ID values may require a minimal hardware Please note that this field is immutable after the VM is powered on. This field is required when the VM has any CD-ROM devices attached. |
||
|
PromoteDisksMode describes the mode used to promote a VM’s delta disks to
Please note, this field is ignored for encrypted VMs since they do not Defaults to Online. |
Online |
Enum: [Online Offline Disabled] |
|
GroupName indicates the name of the VirtualMachineGroup to which this VMs that belong to a group do not drive their own placement, rather that When this field is set to a valid group that contains this VM as a When this field is deleted or changed, any existing owner reference to |
VirtualMachineStatus
VirtualMachineStatus defines the observed state of a VirtualMachine instance.
| Field | Description | Default | Validation |
|---|---|---|---|
|
NodeName describes the observed name of the node where the VirtualMachine |
||
|
PowerState describes the observed power state of the VirtualMachine. |
Enum: [PoweredOff PoweredOn Suspended] |
|
|
Conditions describes the observed conditions of the VirtualMachine. |
||
|
Crypto describes the observed state of the VirtualMachine’s encryption |
||
|
Network describes the observed state of the VM’s network configuration. |
||
|
UniqueID describes a unique identifier that is provided by the underlying |
||
|
BiosUUID describes a unique identifier provided by the underlying |
||
|
InstanceUUID describes the unique instance UUID provided by the |
||
|
Volumes describes the observed state of the volumes that are intended to |
||
|
ChangeBlockTracking describes whether or not change block tracking is |
||
|
Zone describes the availability zone where the VirtualMachine has been Please note this field may be empty when the cluster is not zone-aware. |
||
|
LastRestartTime describes the last time the VM was restarted. |
||
|
HardwareVersion describes the VirtualMachine resource’s observed Please refer to VirtualMachineSpec.MinHardwareVersion for more |
||
|
Storage describes the observed state of the VirtualMachine’s storage. |
VirtualMachineStorageStatus
VirtualMachineStorageStatus defines the observed state of a VirtualMachine’s storage.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Total describes the total storage space used by a VirtualMachine that |
||
|
Requested describes the observed amount of storage requested by a |
||
Used describes the observed amount of storage used by a VirtualMachine. |
VirtualMachineStorageStatusRequested
| Field | Description | Default | Validation |
|---|---|---|---|
|
Disks describes the total storage space requested by a VirtualMachine’s |
VirtualMachineStorageStatusUsed
| Field | Description | Default | Validation |
|---|---|---|---|
|
Disks describes the total storage space used by a VirtualMachine’s |
||
|
Other describes the total storage space used by the VirtualMachine’s |
VirtualMachineTemplateSpec
VirtualMachineTemplateSpec describes the data needed to create a VirtualMachine from a template.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Refer to Kubernetes API documentation for fields of |
||
|
Specification of the desired behavior of each replica virtual machine. |
VirtualMachineVolume
VirtualMachineVolume represents a named volume in a VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name represents the volume’s name. Must be a DNS_LABEL and unique within |
||
|
PersistentVolumeClaim represents a reference to a PersistentVolumeClaim More information is available at |
VirtualMachineVolumeCryptoStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
ProviderID describes the provider ID used to encrypt the volume. |
||
|
KeyID describes the key ID used to encrypt the volume. |
VirtualMachineVolumeProvisioningMode
Underlying type: string
VirtualMachineVolumeProvisioningMode is the type used to express the desired or observed provisioning mode for a virtual machine disk.
-
Enum: [Thin Thick ThickEagerZero]
VirtualMachineVolumeSource
VirtualMachineVolumeSource represents the source location of a volume to mount. Only one of its members may be specified.
| Field | Description | Default | Validation |
|---|---|---|---|
|
PersistentVolumeClaim represents a reference to a PersistentVolumeClaim More information is available at |
VirtualMachineVolumeStatus
VirtualMachineVolumeStatus defines the observed state of a VirtualMachineVolume instance.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of the attached volume. |
||
Type is the type of the attached volume. |
Managed |
Enum: [Classic Managed] |
|
Crypto describes the volume’s encryption status. |
|||
|
Limit describes the maximum, requested capacity of the volume. |
||
|
Requested describes the minimum, requested capacity of the volume. Please note, this value is used when calculating a VM’s impact to a |
||
|
Used describes the observed, non-shared size of the volume on disk. For example, if this is a linked-clone’s boot volume, this value Another example is when a volume is thin-provisioned. The volume’s |
||
|
Attached represents whether a volume has been successfully attached to |
||
|
DiskUUID represents the underlying virtual disk UUID and is present when |
||
|
Error represents the last error seen when attaching or detaching a |
VirtualMachineVolumeType
Underlying type: string
VirtualMachineVolumeType describes the type of a VirtualMachine volume.
-
Enum: [Classic Managed]
VirtualMachineWebConsoleRequest
VirtualMachineWebConsoleRequest allows the creation of a one-time, web console connection to a VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachineWebConsoleRequestSpec
VirtualMachineWebConsoleRequestSpec describes the desired state for a web console request to a VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of a VM in the same Namespace as this web console |
||
|
PublicKey is used to encrypt the status.response. This is expected to be a RSA OAEP public key in X.509 PEM format. |
VirtualMachineWebConsoleRequestStatus
VirtualMachineWebConsoleRequestStatus describes the observed state of the request.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Response will be the authenticated ticket corresponding to this web console request. |
||
|
ExpiryTime is the time at which access via this request will expire. |
||
|
ProxyAddr describes the host address and optional port used to access The value could be a DNS entry, IPv4, or IPv6 address, followed by an DNS IPv4 IPv6 In other words, the field may be set to any value that is parsable |
vmoperator.vmware.com/v1alpha5
Package v1alpha5 is one of the schemas for VM Operator.
AffinitySpec
AffinitySpec defines the group of affinity scheduling rules.
| Field | Description | Default | Validation |
|---|---|---|---|
|
VMAffinity describes affinity scheduling rules related to other VMs. |
||
|
VMAntiAffinity describes anti-affinity scheduling rules related to other |
ClusterVirtualMachineImage
ClusterVirtualMachineImage is the schema for the clustervirtualmachineimages API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
DynamicDirectPathIODevice
DynamicDirectPathIODevice contains the configuration corresponding to a Dynamic DirectPath I/O device.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
GroupMember
GroupMember describes a member of a VirtualMachineGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of member of this group. |
||
|
Kind is the kind of member of this group, which can be either If omitted, it defaults to VirtualMachine. |
VirtualMachine |
Enum: [VirtualMachine VirtualMachineGroup] |
GuestHeartbeatAction
GuestHeartbeatAction describes an action based on the guest heartbeat.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ThresholdStatus is the value that the guest heartbeat status must be at or above to be |
green |
Enum: [yellow green] |
GuestHeartbeatStatus
Underlying type: string
GuestHeartbeatStatus is the guest heartbeat status.
GuestInfoAction
GuestInfoAction describes a key from GuestInfo that must match the associated value expression.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Key is the name of the GuestInfo key. The key is automatically prefixed with "guestinfo." before being |
||
|
Value is a regular expression that is matched against the value of the An empty value is the equivalent of "match any" or ".*". All values must adhere to the RE2 regular expression syntax as documented |
IDEControllerSpec
| Field | Description | Default | Validation |
|---|---|---|---|
|
BusNumber describes the desired bus number of the controller. |
Maximum: 1 |
InstanceStorage
InstanceStorage provides information used to configure instance storage volumes for a VirtualMachine.
| Field | Description | Default | Validation |
|---|---|---|---|
|
StorageClass refers to the name of a StorageClass resource used to |
||
|
Volumes describes instance storage volumes created for a VirtualMachine |
InstanceStorageVolume
InstanceStorageVolume contains information required to create an instance storage volume on a VirtualMachine.
| Field | Description | Default | Validation |
|---|---|---|---|
|
InstanceVolumeClaimVolumeSource
InstanceVolumeClaimVolumeSource contains information about the instance storage volume claimed as a PVC.
| Field | Description | Default | Validation |
|---|---|---|---|
|
StorageClass is the name of the Kubernetes StorageClass that provides |
||
|
Size is the size of the requested instance storage volume. |
LoadBalancerIngress
LoadBalancerIngress represents the status of a load balancer ingress point: traffic intended for the service should be sent to an ingress point. IP or Hostname may both be set in this structure. It is up to the consumer to determine which field should be used when accessing this LoadBalancer.
| Field | Description | Default | Validation |
|---|---|---|---|
|
IP is set for load balancer ingress points that are specified by an IP |
||
|
Hostname is set for load balancer ingress points that are specified by a |
LoadBalancerStatus
LoadBalancerStatus represents the status of a load balancer.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Ingress is a list containing ingress addresses for the load balancer. |
NVMEControllerSpec
| Field | Description | Default | Validation |
|---|---|---|---|
|
BusNumber describes the desired bus number of the controller. |
Maximum: 3 |
|
|
SharingMode describes the sharing mode for the controller. Defaults to None. |
None |
Enum: [None Physical] |
NetworkDeviceStatus
NetworkDeviceStatus defines the network interface IP configuration including gateway, subnet mask and IP address as seen by OVF properties.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Gateway4 is the gateway for the IPv4 address family for this device. |
||
|
MacAddress is the MAC address of the network device. |
||
|
IpAddresses represents one or more IP addresses assigned to the network |
NetworkStatus
NetworkStatus describes the observed state of the VM’s network configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Devices describe a list of current status information for each |
||
|
Nameservers describe a list of the DNS servers accessible by one of the |
OVFProperty
OVFProperty describes an OVF property associated with an image. OVF properties may be used in conjunction with the vAppConfig bootstrap provider to customize a VM during its creation.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Key describes the OVF property’s key. |
||
|
Type describes the OVF property’s type. |
||
|
Default describes the OVF property’s default value. |
PersistentVolumeClaimVolumeSource
PersistentVolumeClaimVolumeSource is a composite for the Kubernetes corev1.PersistentVolumeClaimVolumeSource and instance storage options.
| Field | Description | Default | Validation |
|---|---|---|---|
|
claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. |
||
|
readOnly Will force the ReadOnly setting in VolumeMounts. |
||
|
InstanceVolumeClaim is set if the PVC is backed by instance storage. |
PolicySpec
Underlying type: LocalObjectRef
| Field | Description | Default | Validation |
|---|---|---|---|
|
APIVersion defines the versioned schema of this representation of an |
||
|
Kind is a string value representing the REST resource this object |
||
|
Name refers to a unique resource in the current namespace. |
PolicyStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Generation describes the observed generation of the policy applied to |
QuiesceSpec
QuiesceSpec represents specifications that will be used to quiesce the guest when taking a snapshot.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Timeout represents the maximum time in minutes for snapshot |
ResourcePoolSpec
ResourcePoolSpec defines a Logical Grouping of workloads that share resource policies.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the name of the ResourcePool grouping. |
||
|
Reservations describes the guaranteed resources reserved for the |
||
|
Limits describes the limit to resources available to the ResourcePool. |
ResourcePoolStatus
ResourcePoolStatus describes the observed state of a vSphere child resource pool created for the Spec.ResourcePool.Name.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
SATAControllerSpec
| Field | Description | Default | Validation |
|---|---|---|---|
|
BusNumber describes the desired bus number of the controller. |
Maximum: 3 |
SCSIControllerSpec
| Field | Description | Default | Validation |
|---|---|---|---|
|
BusNumber describes the desired bus number of the controller. |
Maximum: 3 |
|
|
SharingMode describes the sharing mode for the controller. Defaults to None. |
None |
Enum: [None Physical Virtual] |
|
Type describes the desired type of SCSI controller. Defaults to ParaVirtual. |
ParaVirtual |
Enum: [ParaVirtual BusLogic LsiLogic LsiLogicSAS] |
SCSIControllerType
Underlying type: string
-
Enum: [ParaVirtual BusLogic LsiLogic LsiLogicSAS]
TCPSocketAction
TCPSocketAction describes an action based on opening a socket.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Port specifies a number or name of the port to access on the VM. |
||
|
Host is an optional host name to connect to. Host defaults to the VM IP. |
VGPUDevice
VGPUDevice contains the configuration corresponding to a vGPU device.
| Field | Description | Default | Validation |
|---|---|---|---|
|
VMAffinitySpec
VMAffinitySpec defines the affinity requirements for scheduling rules related to other VMs.
| Field | Description | Default | Validation |
|---|---|---|---|
|
RequiredDuringSchedulingPreferredDuringExecution describes affinity When there are multiple elements, the lists of nodes corresponding to Note: Any update to this field will replace the entire list rather than |
||
|
PreferredDuringSchedulingPreferredDuringExecution describes affinity When there are multiple elements, the lists of nodes corresponding to Note: Any update to this field will replace the entire list rather than |
VMAffinityTerm
VMAffinityTerm defines the VM affinity/anti-affinity term.
| Field | Description | Default | Validation |
|---|---|---|---|
|
LabelSelector is a label query over a set of VMs. |
||
|
TopologyKey describes where this VM should be co-located (affinity) or not Please note, The following rules apply when specifying the topology key in the context of a zone/host.
|
VMAntiAffinitySpec
VMAntiAffinitySpec defines the anti-affinity requirements for scheduling rules related to other VMs.
| Field | Description | Default | Validation |
|---|---|---|---|
|
RequiredDuringSchedulingPreferredDuringExecution describes anti-affinity When there are multiple elements, the lists of nodes corresponding to Note: Any update to this field will replace the entire list rather than |
||
|
PreferredDuringSchedulingPreferredDuringExecution describes anti-affinity When there are multiple elements, the lists of nodes corresponding to Note: Any update to this field will replace the entire list rather than |
VSphereClusterModuleStatus
VSphereClusterModuleStatus describes the observed state of a vSphere cluster module.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
VirtualControllerSharingMode
Underlying type: string
VirtualControllerStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
BusNumber describes the observed bus number of the controller. |
||
Type describes the observed type of the controller. |
Enum: [IDE NVME SCSI SATA] |
||
|
DeviceKey describes the observed device key of the controller. |
||
|
Devices describes the observed devices connected to the controller. |
VirtualControllerType
Underlying type: string
-
Enum: [IDE NVME SCSI SATA]
VirtualDeviceStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Type describes the type of the virtual device. |
Enum: [CDROM Disk] |
|
|
UnitNumber describes the observed unit number of the device. |
VirtualDeviceType
Underlying type: string
-
Enum: [CDROM Disk]
VirtualDevices
VirtualDevices contains information about the virtual devices associated with a VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachine
VirtualMachine is the schema for the virtualmachines API and represents the desired state and observed status of a virtualmachines resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
VirtualMachineAdvancedSpec
VirtualMachineAdvancedSpec describes a set of optional, advanced VM configuration options.
| Field | Description | Default | Validation |
|---|---|---|---|
|
BootDiskCapacity is the capacity of the VM’s boot disk — the first disk Please note it is not advised to change this value while the VM is Please note this field is ignored if the VM is deployed from an ISO with |
||
|
DefaultVolumeProvisioningMode specifies the default provisioning mode for |
Enum: [Thin Thick ThickEagerZero] |
|
|
ChangeBlockTracking is a flag that enables incremental backup support |
VirtualMachineBootOptions
VirtualMachineBootOptions defines the boot-time behavior of a virtual machine.
| Field | Description | Default | Validation |
|---|---|---|---|
Firmware represents the firmware for the virtual machine to use. Any update
The available values of this field are:
|
Enum: [bios efi] |
||
|
BootDelay is the delay before starting the boot sequence. The boot delay |
||
|
BootOrder represents the boot order of the virtual machine. After list is exhausted, |
||
|
BootRetry specifies whether a virtual machine that fails to boot
|
Disabled |
|
|
BootRetryDelay specifies a time interval between virtual machine boot failure |
||
|
EFISecureBoot specifies whether the virtual machine’s firmware will Please note, this field will not be honored unless the value of
|
Disabled |
Enum: [Enabled Disabled] |
|
NetworkBootProtocol is the protocol to attempt during PXE network boot or NetBoot.
|
IP4 |
Enum: [IP4 IP6] |
VirtualMachineBootOptionsBootRetry
Underlying type: string
VirtualMachineBootOptionsBootRetry represents whether a virtual machine that fails to boot will automatically try again.
VirtualMachineBootOptionsBootableDevice
VirtualMachineBootOptionsBootableDevice represents a bootable device that a VM may be booted from.
| Field | Description | Default | Validation |
|---|---|---|---|
Type represents the type of bootable device. The available device types are:
|
Enum: [Disk Network CDRom] |
||
|
Name represents the name of the bootable device. It is |
VirtualMachineBootOptionsBootableDeviceType
Underlying type: string
VirtualMachineBootOptionsBootableDeviceType represents the type of bootable device.
-
Enum: [Disk Network CDRom]
VirtualMachineBootOptionsEFISecureBoot
Underlying type: string
VirtualMachineBootOptionsEFISecureBoot represents whether the virtual machine will perform EFI Secure Boot.
-
Enum: [Enabled Disabled]
VirtualMachineBootOptionsFirmwareType
Underlying type: string
VirtualMachineBootOptionsFirmwareType represents the firmware to use.
-
Enum: [bios efi]
VirtualMachineBootOptionsNetworkBootProtocol
Underlying type: string
VirtualMachineBootOptionsNetworkBootProtocol represents the protocol to use during PXE network boot or NetBoot.
-
Enum: [IP4 IP6]
VirtualMachineBootstrapCloudInitSpec
VirtualMachineBootstrapCloudInitSpec describes the CloudInit configuration used to bootstrap the VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
InstanceID is the cloud-init metadata instance ID. |
||
|
CloudConfig describes a subset of a Cloud-Init CloudConfig, used to Please note this field and RawCloudConfig are mutually exclusive. |
||
|
RawCloudConfig describes a key in a Secret resource that contains the The CloudConfig data specified by the key may be plain-text, Please note this field and CloudConfig are mutually exclusive. |
||
|
SSHAuthorizedKeys is a list of public keys that CloudInit will apply to |
||
|
UseGlobalNameserversAsDefault will use the global nameservers specified in Defaults to true if omitted. |
||
|
UseGlobalSearchDomainsAsDefault will use the global search domains specified Defaults to true if omitted. |
||
|
WaitOnNetwork4 indicates whether the cloud-init datasource should wait When set to true, the cloud-init datasource will sleep for a second, |
||
|
WaitOnNetwork6 indicates whether the cloud-init datasource should wait When set to true, the cloud-init datasource will sleep for a second, |
VirtualMachineBootstrapLinuxPrepSpec
VirtualMachineBootstrapLinuxPrepSpec describes the LinuxPrep configuration used to bootstrap the VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
HardwareClockIsUTC specifies whether the hardware clock is in UTC or |
||
|
TimeZone is a case-sensitive timezone, such as Europe/Sofia. Valid values are based on the tz (timezone) database used by Linux and Please see https://kb.vmware.com/s/article/2145518 for a list of valid |
||
|
ExpirePasswordAfterNextLogin indicates whether or not the root account is required to |
||
|
Password is the new root password for the machine. When not explicitly specified, the Key field for the selector defaults to |
||
|
ScriptText is the script to run before and after customization. Please see https://knowledge.broadcom.com/external/article?legacyId=1026614 |
||
|
CustomizeAtNextPowerOn describes when customization is performed on the VM. When set to false, the VM will not be customized at the next power on. When When not set, the VM will only be customized at every power on when the hash |
VirtualMachineBootstrapSpec
VirtualMachineBootstrapSpec defines the desired state of a VM’s bootstrap configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
|
CloudInit may be used to bootstrap Linux guests with Cloud-Init or The guest’s networking stack is configured by Cloud-Init on Linux guests Please note this bootstrap provider may not be used in conjunction with |
||
|
LinuxPrep may be used to bootstrap Linux guests. The guest’s networking stack is configured by Guest OS Customization Please note this bootstrap provider may be used in conjunction with the This bootstrap provider may not be used in conjunction with the CloudInit |
||
Sysprep may be used to bootstrap Windows guests. The guest’s networking stack is configured by Guest OS Customization Please note this bootstrap provider may be used in conjunction with the This bootstrap provider may not be used in conjunction with the CloudInit |
|||
|
VAppConfig may be used to bootstrap guests that rely on vApp properties The guest’s networking stack may be configured using either vApp Many OVFs define one or more properties that are used by the guest to It is also possible to use GOSC to bootstrap this VM’s network stack by Please note the VAppConfig bootstrap provider in conjunction with the This bootstrap provider may not be used in conjunction with the CloudInit |
VirtualMachineBootstrapSysprepSpec
VirtualMachineBootstrapSysprepSpec describes the Sysprep configuration used to bootstrap the VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Sysprep is an object representation of a Windows sysprep.xml answer file. This field encloses all the individual keys listed in a sysprep.xml file. For more detailed information please see Please note this field and RawSysprep are mutually exclusive. |
||
|
RawSysprep describes a key in a Secret resource that contains an XML The data specified by the Secret key may be plain-text, base64-encoded, Please note this field and Sysprep are mutually exclusive. |
||
|
CustomizeAtNextPowerOn describes when customization is performed on the VM. When set to false, the VM will not be customized at the next power on. When When not set, the VM will only be customized at every power on when the hash |
VirtualMachineBootstrapVAppConfigSpec
VirtualMachineBootstrapVAppConfigSpec describes the vApp configuration used to bootstrap the VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Properties is a list of vApp/OVF property key/value pairs. Please note this field and RawProperties are mutually exclusive. |
||
|
RawProperties is the name of a Secret resource in the same Namespace as Please note this field and Properties are mutually exclusive. |
VirtualMachineCPUAllocationStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Total describes the observed number of processors. |
||
|
Reservation describes the observed CPU reservation in MHz. |
VirtualMachineCdromSpec
VirtualMachineCdromSpec describes the desired state of a CD-ROM device.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name consists of at least two lowercase letters or digits of this CD-ROM. This field is immutable when the VM is powered on. |
Pattern: |
|
|
Image describes the reference to an ISO type VirtualMachineImage or This field is immutable when the VM is powered on. Please note, unlike the spec.imageName field, the value of this |
||
|
ControllerBusNumber describes the bus number of the controller to which The bus number specifies a controller based on the value of the
If this and controllerType are both omitted, the CD-ROM will be attached If the specified controller has no available slots, the request will be |
||
|
ControllerType describes the type of the controller to which this CD-ROM Please keep in mind the number of devices supported by the different
Defaults to IDE when controllerBusNumber is also omitted; otherwise the |
Enum: [IDE SATA] |
|
|
UnitNumber describes the desired unit number for attaching the CD-ROM to When omitted, the next available unit number of the selected controller This value must be unique for the controller referenced by the |
||
|
Connected describes the desired connection state of the CD-ROM device. When true, the CD-ROM device is added and connected to the VM. When explicitly set to false, the CD-ROM device is added but remains Note: Before disconnecting a CD-ROM, the device may need to be unmounted Defaults to true if omitted. |
true |
|
|
AllowGuestControl describes whether or not a web console connection Defaults to true if omitted. |
true |
VirtualMachineClass
VirtualMachineClass is the schema for the virtualmachineclasses API and represents the desired state and observed status of a virtualmachineclasses resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineClassHardware
VirtualMachineClassHardware describes a virtual hardware resource specification.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
|||
|
VirtualMachineClassInstance
VirtualMachineClassInstance is the schema for the virtualmachineclassinstances API and represents the desired state and observed status of a virtualmachineclassinstance resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachineClassInstanceSpec
VirtualMachineClassInstanceSpec defines the desired state of VirtualMachineClassInstance. It is a composite of VirtualMachineClassSpec.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ControllerName describes the name of the controller responsible for When omitted, controllers reconciling VirtualMachine resources determine Once a non-empty value is assigned to this field, attempts to set this |
||
|
Hardware describes the configuration of the VirtualMachineClass |
||
|
Policies describes the configuration of the VirtualMachineClass |
||
|
Description describes the configuration of the VirtualMachineClass which |
||
|
ConfigSpec describes additional configuration information for a |
Schemaless: \{} |
|
|
ReservedProfileID describes the reservation profile associated with |
||
|
ReservedSlots describes the number of slots reserved for VMs that use |
Minimum: 0 |
VirtualMachineClassInstanceStatus
VirtualMachineClassInstanceStatus defines the observed state of VirtualMachineClassInstance.
VirtualMachineClassPolicies
VirtualMachineClassPolicies describes the policy configuration to be used by a VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
VirtualMachineClassResources
VirtualMachineClassResources describes the virtual hardware resource reservations and limits configuration to be used by a VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachineClassSpec
VirtualMachineClassSpec defines the desired state of VirtualMachineClass.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ControllerName describes the name of the controller responsible for When omitted, controllers reconciling VirtualMachine resources determine Once a non-empty value is assigned to this field, attempts to set this |
||
|
Hardware describes the configuration of the VirtualMachineClass |
||
|
Policies describes the configuration of the VirtualMachineClass |
||
|
Description describes the configuration of the VirtualMachineClass which |
||
|
ConfigSpec describes additional configuration information for a |
Schemaless: \{} |
|
|
ReservedProfileID describes the reservation profile associated with |
||
|
ReservedSlots describes the number of slots reserved for VMs that use |
Minimum: 0 |
VirtualMachineClassStatus
VirtualMachineClassStatus defines the observed state of VirtualMachineClass.
VirtualMachineCryptoSpec
VirtualMachineCryptoSpec defines the desired state of a VirtualMachine’s encryption state.
| Field | Description | Default | Validation |
|---|---|---|---|
|
EncryptionClassName describes the name of the EncryptionClass resource Please note, this field is not required to encrypt the VM. If the If there is a default key provider and an encryption storage class is If there is a default key provider and a VM Class with a virtual, trusted If the underlying vSphere platform does not have a default key provider, If this field is set, spec.storageClass must use an encryption-enabled |
||
|
UseDefaultKeyProvider describes the desired behavior for when an explicit When an explicit EncryptionClass is not provided and this value is true:
When an explicit EncryptionClass is not provided and this value is false:
Please note, this could result in a VirtualMachine that cannot be Defaults to true if omitted. |
true |
|
|
VTPMMode describes the desired behavior when deploying a VirtualMachine The possible values for this field are:
The default value of this field is New. |
New |
Enum: [Clone New] |
VirtualMachineCryptoStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Encrypted describes the observed state of the VirtualMachine’s
|
||
|
ProviderID describes the provider ID used to encrypt the VirtualMachine. |
||
|
KeyID describes the key ID used to encrypt the VirtualMachine. |
||
|
HasVTPM indicates whether or not the VM has a vTPM. |
VirtualMachineCryptoVTPMMode
Underlying type: string
VirtualMachineCryptoVTPMMode represents whether to preserve the vTPM from an encrypted VirtualMachine-backed image when deploying a VirtualMachine.
-
Enum: [Clone New]
VirtualMachineEncryptionType
Underlying type: string
VirtualMachineGroup
VirtualMachineGroup is the schema for the VirtualMachineGroup API and represents the desired state and observed status of a VirtualMachineGroup resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineGroupBootOrderGroup
VirtualMachineGroupBootOrderGroup describes a boot order group within a VirtualMachineGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Members describes the names of VirtualMachine or VirtualMachineGroup |
||
|
PowerOnDelay is the amount of time to wait before powering on all the If omitted, the members will be powered on immediately when the group’s |
VirtualMachineGroupMemberStatus
VirtualMachineGroupMemberStatus describes the observed status of a group member.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of this member. |
||
|
Kind is the kind of this member, which can be either VirtualMachine or |
Enum: [VirtualMachine VirtualMachineGroup] |
|
|
UID is the K8s metadata UID of this current member object. |
||
|
Placement describes the placement results for this member. Please note this field is only set for VirtualMachine members. |
||
|
PowerState describes the observed power state of this member. Please note this field is only set for VirtualMachine members. |
Enum: [PoweredOff PoweredOn Suspended] |
|
|
Conditions describes any conditions associated with this member.
|
VirtualMachineGroupPlacementDatastoreStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the name of a datastore. |
||
|
ID describes the datastore ID. |
||
|
URL describes the datastore URL. |
||
|
SupportedDiskFormat describes the list of disk formats supported by this |
||
|
DiskKey describes the device key to which this recommendation applies. |
||
|
TopLevelDirectoryCreateSupported indicates whether or not the datastore |
VirtualMachineGroupPublishRequest
VirtualMachineGroupPublishRequest defines the information necessary to publish the VirtualMachines in a VirtualMachineGroup as VirtualMachineImages to an image registry.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachineGroupPublishRequestImageStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Source is the name of the published VirtualMachine. |
||
|
PublishRequestName is the name of the VirtualMachinePublishRequest object |
||
|
ImageName is the name of the VirtualMachineImage resource that is This field will not be set until the VirtualMachineImage resource |
||
|
Conditions is a copy of the conditions from the |
VirtualMachineGroupPublishRequestSpec
VirtualMachineGroupPublishRequestSpec defines the desired state of a VirtualMachineGroupPublishRequest.
All the fields in this spec are optional. This is especially useful when a DevOps persona wants to publish a VM Group without doing anything more than applying a VirtualMachineGroupPublishRequest resource that has the same name as said VMs in the same namespace as said VMs in VM Group.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Source is the name of the VirtualMachineGroup to be published. If this value is omitted then the publication controller checks to |
||
|
VirtualMachines is a list of the VirtualMachine objects from the source If omitted, this field defaults to the names of all of the VMs currently |
||
|
Target is the name of the ContentLibrary resource to which the When this value is omitted, the controller attempts to identify the Please note that while optional, if a VirtualMachineGroupPublishRequest |
||
|
TTLSecondsAfterFinished is the time-to-live duration for how long this If this field is unset then the request resource will not be |
Minimum: 0 |
VirtualMachineGroupPublishRequestStatus
VirtualMachineGroupPublishRequestStatus defines the observed state of a VirtualMachineGroupPublishRequest.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Source is the name of the published VirtualMachineGroup. |
||
|
Target is the name of the ContentLibrary to which the group is published. |
||
|
CompletionTime represents when the request was completed. It is not The value of this field should be equal to the value of the |
||
|
StartTime represents when the request was acknowledged by the Please note that the group will not be published until the group’s Ready |
||
|
Images describes the observed status of the individual VirtualMachine |
||
|
Conditions is a list of the latest, available observations of the |
VirtualMachineGroupSpec
VirtualMachineGroupSpec defines the desired state of VirtualMachineGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
GroupName describes the name of the group that this group belongs to. When this field is set to a valid group that contains this VM Group as a When this field is deleted or changed, any existing owner reference to |
||
|
BootOrder describes the boot sequence for this group members. Each boot When powering off, all members are stopped immediately without delays. |
||
|
PowerState describes the desired power state of a VirtualMachineGroup. Please note this field may be omitted when creating a new VM group. This However, once the field is set to a non-empty value, it may no longer be |
Enum: [PoweredOff PoweredOn Suspended] |
|
|
NextForcePowerStateSyncTime may be used to force sync the power state of A mutating webhook changes this value to the current time (UTC), which Please note it is not possible to schedule future syncs using this field. |
||
|
PowerOffMode describes the desired behavior when powering off a VM Group. Please note this field is only propagated to the group’s members when |
Enum: [Hard Soft TrySoft] |
|
|
SuspendMode describes the desired behavior when suspending a VM Group. Please note this field is only propagated to the group’s members when |
Enum: [Hard Soft TrySoft] |
VirtualMachineGroupStatus
VirtualMachineGroupStatus defines the observed state of VirtualMachineGroup.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Members describes the observed status of group members. |
||
|
LastUpdatedPowerStateTime describes the observed time when the power |
||
|
Conditions describes any conditions associated with this VM Group.
|
VirtualMachineGuestStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
GuestID describes the ID of the observed operating system. |
||
|
GuestFullName describes the full name of the observed operating system. |
VirtualMachineHardwareSpec
| Field | Description | Default | Validation |
|---|---|---|---|
|
Cdrom describes the desired state of the VM’s CD-ROM devices. Each CD-ROM device requires a reference to an ISO-type Multiple CD-ROM devices using the same backing image, regardless of image CD-ROM devices can be added, updated, or removed when the VM is powered |
||
|
IDEControllers describes the desired list of IDE controllers for the VM. Defaults to two IDE controllers, with bus 0 and bus 1. |
MaxItems: 2 |
|
|
NVMEControllers describes the desired list of NVME controllers for the |
MaxItems: 4 |
|
|
SATAControllers describes the desired list of SATA controllers for the Please note, all SATA controllers are VirtualAHCI. |
MaxItems: 4 |
|
|
SCSIControllers describes the desired list of SCSI controllers for the |
MaxItems: 4 |
VirtualMachineHardwareStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Controllers describes the observed list of virtual controllers for the |
||
CPU describes the observed CPU allocation of the VM. |
|||
Memory describes the observed memory allocation of the VM. |
|||
|
VGPUs describes the observed vGPUs used by this VM. |
VirtualMachineHardwareVGPUStatus
| Field | Description | Default | Validation |
|---|---|---|---|
Type describes the observed type of the vGPU. |
|||
|
Profile describes the observed profile used by the vGPU. Please note, this is only applicable to Nvidia vGPUs. |
||
|
MigrationType describes the vGPU’s observed vMotion support. |
VirtualMachineImage
VirtualMachineImage is the schema for the virtualmachineimages API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineImageCache
VirtualMachineImageCache is the schema for the virtualmachineimagecaches API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachineImageCacheFileStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
ID describes the value used to locate the file.
|
||
Type describes the type of file. |
Enum: [Disk Other] |
||
|
DiskType describes the type of disk. |
Enum: [Classic Managed] |
VirtualMachineImageCacheFileType
Underlying type: string
VirtualMachineImageCacheFileType describes the types of files that may be cached.
-
Enum: [Disk Other]
VirtualMachineImageCacheLocationSpec
| Field | Description | Default | Validation |
|---|---|---|---|
|
DatacenterID describes the ID of the datacenter to which the image should |
MinLength: 1 |
|
|
ProfileID describes the ID of the storage profile used to cache the |
MinLength: 1 |
|
|
DatastoreID describes the ID of the datastore to which the image should |
MinLength: 1 |
VirtualMachineImageCacheLocationStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
DatacenterID describes the ID of the datacenter where the image is |
||
|
DatastoreID describes the ID of the datastore where the image is cached. |
||
|
ProfileID describes the ID of the storage profile used to cache the |
||
|
Files describes the image’s files cached on this datastore. |
||
|
Conditions describes any conditions associated with this cache location. Generally this should just include the ReadyType condition. |
VirtualMachineImageCacheOVFStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
ConfigMapName describes the name of the ConfigMap resource that contains |
||
|
ProviderVersion describes the observed provider version at which the OVF |
VirtualMachineImageCacheSpec
VirtualMachineImageCacheSpec defines the desired state of VirtualMachineImageCache.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ProviderID describes the ID of the provider item to which the image |
||
|
ProviderVersion describes the version of the provider item to which the |
||
|
Locations describes the locations where the image should be cached. |
VirtualMachineImageCacheStatus
VirtualMachineImageCacheStatus defines the observed state of VirtualMachineImageCache.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Locations describe the observed locations where the image is cached. |
||
OVF describes the observed status of the cached OVF content. |
|||
|
Conditions describes any conditions associated with this cached image. Generally this should just include the ReadyType condition, which will |
VirtualMachineImageDiskInfo
VirtualMachineImageDiskInfo describes information about any disks associated with this image.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the unique identifier for the virtual disk. |
||
|
Limit is the total virtual disk capacity. |
||
|
Requested is the minimum storage requirements for the virtual disk. |
||
|
ControllerType describes the type of controller to which this disk is |
Enum: [IDE NVME SCSI SATA] |
|
|
ControllerBusNumber describes bus number of the controller to which this |
||
|
UnitNumber describes the unit number for this disk. |
VirtualMachineImageOSInfo
VirtualMachineImageOSInfo describes the image’s guest operating system.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ID describes the operating system ID. This value is also added to the image resource’s labels as |
||
|
Type describes the operating system type. This value is also added to the image resource’s labels as |
||
|
Version describes the operating system version. This value is also added to the image resource’s labels as |
VirtualMachineImageProductInfo
VirtualMachineImageProductInfo describes product information for an image.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Product is a general descriptor for the image. |
||
|
Vendor describes the organization/user that produced the image. |
||
|
Version describes the short-form version of the image. |
||
|
FullVersion describes the long-form version of the image. |
VirtualMachineImageRef
| Field | Description | Default | Validation |
|---|---|---|---|
|
Kind describes the type of image, either a namespace-scoped |
||
|
Name refers to the name of a VirtualMachineImage resource in the same |
VirtualMachineImageSpec
VirtualMachineImageSpec defines the desired state of VirtualMachineImage.
| Field | Description | Default | Validation |
|---|---|---|---|
|
ProviderRef is a reference to the resource that contains the source of |
VirtualMachineImageStatus
VirtualMachineImageStatus defines the observed state of VirtualMachineImage.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the display name of this image. |
||
|
Capabilities describes the image’s observed capabilities. The capabilities are discerned when VM Operator reconciles an image.
Every capability is also added to the resource’s labels as |
||
|
Firmware describe the firmware type used by this image, ex. BIOS, EFI. |
||
|
HardwareVersion describes the observed hardware version of this image. |
||
|
OSInfo describes the observed operating system information for this The OS information is also added to the image resource’s labels. Please |
||
|
OVFProperties describes the observed user configurable OVF properties defined for this |
||
|
VMwareSystemProperties describes the observed VMware system properties defined for |
||
|
ProductInfo describes the observed product information for this image. |
||
|
Disks describes the observed disk information for this image. |
||
|
ProviderContentVersion describes the content version from the provider item |
||
|
ProviderItemID describes the ID of the provider item that this image corresponds to. |
||
|
Conditions describes the observed conditions for this image. |
||
|
Type describes the content library item type (OVF, ISO, or VM) of the |
VirtualMachineMemoryAllocationStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Total describes the observed amount of configured memory. |
||
|
Reservation describes the observed memory reservation. |
VirtualMachineNetworkConfigDHCPOptionsStatus
VirtualMachineNetworkConfigDHCPOptionsStatus describes the configured DHCP options.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Enabled describes whether DHCP is enabled. |
VirtualMachineNetworkConfigDHCPStatus
VirtualMachineNetworkConfigDHCPStatus describes the configured state of the system-wide DHCP settings for IP4 and IP6.
| Field | Description | Default | Validation |
|---|---|---|---|
IP4 describes the configured state of the IP4 DHCP settings. |
|||
IP6 describes the configured state of the IP6 DHCP settings. |
VirtualMachineNetworkConfigDNSStatus
VirtualMachineNetworkConfigDNSStatus describes the configured state of the RFC 1034 client-side DNS settings.
| Field | Description | Default | Validation |
|---|---|---|---|
|
HostName is the host name portion of the DNS name. For example, |
||
|
DomainName is the domain name portion of the DNS name. For example, |
||
|
Nameservers is a list of the IP addresses for the DNS servers to use. IP4 addresses are specified using dotted decimal notation. For example, IP6 addresses are 128-bit addresses represented as eight fields of up to |
||
|
SearchDomains is a list of domains in which to search for hosts, in the |
VirtualMachineNetworkConfigInterfaceIPStatus
VirtualMachineNetworkConfigInterfaceIPStatus describes the configured state of a VM’s network interface’s IP configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
DHCP describes the interface’s configured DHCP options. |
|||
|
Addresses describes configured IP addresses for this interface. |
||
|
Gateway4 describes the interface’s configured, default, IP4 gateway. Please note the IP address include the network prefix length, ex. |
||
|
Gateway6 describes the interface’s configured, default, IP6 gateway. Please note the IP address includes the network prefix length, ex. |
VirtualMachineNetworkConfigInterfaceStatus
VirtualMachineNetworkConfigInterfaceStatus describes the configured state of network interface.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the corresponding network interface with the same name Please note this name is not necessarily related to the name of the |
||
IP describes the interface’s configured IP information. |
|||
DNS describes the interface’s configured DNS information. |
VirtualMachineNetworkConfigStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Interfaces describes the configured state of the network interfaces. |
||
DNS describes the configured state of client-side DNS. |
VirtualMachineNetworkDHCPOptionsStatus
VirtualMachineNetworkDHCPOptionsStatus describes the observed state of DHCP options.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Config describes platform-dependent settings for the DHCP client. The key part is a unique number while the value part is the platform |
||
|
Enabled reports the status of the DHCP client services. |
VirtualMachineNetworkDHCPStatus
VirtualMachineNetworkDHCPStatus describes the observed state of the client-side, system-wide DHCP settings for IP4 and IP6.
| Field | Description | Default | Validation |
|---|---|---|---|
IP4 describes the observed state of the IP4 DHCP client settings. |
|||
IP6 describes the observed state of the IP6 DHCP client settings. |
VirtualMachineNetworkDNSStatus
VirtualMachineNetworkDNSStatus describes the observed state of the guest’s RFC 1034 client-side DNS settings.
| Field | Description | Default | Validation |
|---|---|---|---|
|
DHCP indicates whether or not dynamic host control protocol (DHCP) was |
||
|
HostName is the host name portion of the DNS name. For example, |
||
|
DomainName is the domain name portion of the DNS name. For example, |
||
|
Nameservers is a list of the IP addresses for the DNS servers to use. IP4 addresses are specified using dotted decimal notation. For example, IP6 addresses are 128-bit addresses represented as eight fields of up to |
||
|
SearchDomains is a list of domains in which to search for hosts, in the |
VirtualMachineNetworkIPRouteGatewayStatus
VirtualMachineNetworkIPRouteGatewayStatus describes the observed state of a guest network’s IP route’s next hop gateway.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Device is the name of the device in the guest for which this gateway |
||
|
Address is the IP4 or IP6 address of the gateway. |
VirtualMachineNetworkIPRouteStatus
VirtualMachineNetworkIPRouteStatus describes the observed state of a guest network’s IP routes.
| Field | Description | Default | Validation |
|---|---|---|---|
Gateway describes where to send the packets to next. |
|||
|
NetworkAddress is the IP4 or IP6 address of the destination network. Addresses include the network’s prefix length, ex. 192.168.0.0/24 or IP6 addresses are 128-bit addresses represented as eight fields of up to |
VirtualMachineNetworkIPStackStatus
VirtualMachineNetworkIPStackStatus describes the observed state of a VM’s IP stack.
| Field | Description | Default | Validation |
|---|---|---|---|
DHCP describes the VM’s observed, client-side, system-wide DHCP options. |
|||
DNS describes the VM’s observed, client-side DNS configuration. |
|||
|
IPRoutes contain the VM’s routing tables for all address families. |
||
|
KernelConfig describes the observed state of the VM’s kernel IP The key part contains a unique number while the value part contains the |
VirtualMachineNetworkInterfaceIPAddrStatus
VirtualMachineNetworkInterfaceIPAddrStatus describes information about a specific IP address.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Address is an IP4 or IP6 address and their network prefix length. An IP4 address is specified using dotted decimal notation. For example, IP6 addresses are 128-bit addresses represented as eight fields of up to |
||
|
Lifetime describes when this address will expire. |
||
|
Origin describes how this address was configured. |
Enum: [dhcp linklayer manual other random] |
|
|
State describes the state of this IP address. |
Enum: [deprecated duplicate inaccessible invalid preferred tentative unknown] |
VirtualMachineNetworkInterfaceIPStatus
VirtualMachineNetworkInterfaceIPStatus describes the observed state of a VM’s network interface’s IP configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
|
AutoConfigurationEnabled describes whether or not ICMPv6 router These requests acquire an IP6 address and default gateway route from If not set then ICMPv6 is not available on this VM. |
||
DHCP describes the VM’s observed, client-side, interface-specific DHCP |
|||
|
Addresses describes observed IP addresses for this interface. |
||
|
MACAddr describes the observed MAC address for this interface. |
VirtualMachineNetworkInterfaceSpec
VirtualMachineNetworkInterfaceSpec describes the desired state of a VM’s network interface.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the unique name of this network interface, used to When the bootstrap provider is Cloud-Init and GuestDeviceName is not |
Pattern: |
|
|
Network is the name of the network resource to which this interface is If no network is provided, then this interface will be connected to the |
||
|
GuestDeviceName is used to rename the device inside the guest when the |
Pattern: |
|
|
MACAddr is the optional MAC address of this interface. If no MAC address is provided, one will be generated by either the network Please note this field is only supported when the Network API Group is |
Pattern: |
|
|
Addresses is an optional list of IP4 or IP6 addresses to assign to this Please note this field is only supported if the connected network Please note IP4 and IP6 addresses must include the network prefix length, Please note this field may not contain IP4 addresses if DHCP4 is set |
||
|
DHCP4 indicates whether or not this interface uses DHCP for IP4 Please note this field is only supported if the network connection Please note this field is mutually exclusive with IP4 addresses in the |
||
|
DHCP6 indicates whether or not this interface uses DHCP for IP6 Please note this field is only supported if the network connection Please note this field is mutually exclusive with IP6 addresses in the |
||
|
Gateway4 is the default, IP4 gateway for this interface. If unset, the gateway from the network provider will be used. However, Please note this field is only supported if the network connection Please note this field is mutually exclusive with DHCP4. |
||
|
Gateway6 is the primary IP6 gateway for this interface. If unset, the gateway from the network provider will be used. However, Please note this field is only supported if the network connection Please note this field is mutually exclusive with DHCP6. |
||
|
MTU is the Maximum Transmission Unit size in bytes. Please note this feature is available only with the following bootstrap |
||
|
Nameservers is a list of IP4 and/or IP6 addresses used as DNS Please note this feature is available only with the following bootstrap When using CloudInit and UseGlobalNameserversAsDefault is either unset or Please note that Linux allows only three nameservers |
||
|
Routes is a list of optional, static routes. Please note this feature is available only with the following bootstrap |
||
|
SearchDomains is a list of search domains used when resolving IP Please note this feature is available only with the following bootstrap When using CloudInit and UseGlobalSearchDomainsAsDefault is either unset |
VirtualMachineNetworkInterfaceStatus
VirtualMachineNetworkInterfaceStatus describes the observed state of a VM’s network interface.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the corresponding network interface with the same name Please note this name is not necessarily related to the name of the |
||
|
DeviceKey describes the unique hardware device key of this network |
||
IP describes the observed state of the interface’s IP configuration. |
|||
DNS describes the observed state of the interface’s DNS configuration. |
VirtualMachineNetworkRouteSpec
VirtualMachineNetworkRouteSpec defines a static route for a guest.
| Field | Description | Default | Validation |
|---|---|---|---|
|
To is either "default", or an IP4 or IP6 address. |
||
|
Via is an IP4 or IP6 address. |
||
|
Metric is the weight/priority of the route. |
Minimum: 1 |
VirtualMachineNetworkSpec
VirtualMachineNetworkSpec defines a VM’s desired network configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
|
HostName describes the value the guest uses as its host name. If omitted, Please note, this feature is available with the following bootstrap This field must adhere to the format specified in RFC-1034, Section 3.5
Please note, the combined values of spec.network.hostName and |
||
|
DomainName describes the value the guest uses as its domain name. Please note, this feature is available with the following bootstrap This field must adhere to the format specified in RFC-1034, Section 3.5
Please note, the combined values of spec.network.hostName and When deploying a guest running Microsoft Windows, this field describes |
||
|
Disabled is a flag that indicates whether or not to disable networking When set to true, the VM is not configured with a default interface nor |
||
|
Nameservers is a list of IP4 and/or IP6 addresses used as DNS Please note global nameservers are only available with the following Please note that Linux allows only three nameservers |
||
|
SearchDomains is a list of search domains used when resolving IP Please note global search domains are only available with the following |
||
|
Interfaces is the list of network interfaces used by this VM. If the Interfaces field is empty and the Disabled field is false, then The maximum number of network interface allowed is 10 because a vSphere |
MaxItems: 10 |
VirtualMachineNetworkStatus
VirtualMachineNetworkStatus defines the observed state of a VM’s network configuration.
| Field | Description | Default | Validation |
|---|---|---|---|
Config describes the resolved, configured network settings for the VM, Please note this information does not represent the observed network |
|||
|
HostName describes the observed hostname reported by the VirtualMachine’s Please note, this value is only reported if VMware Tools is installed in |
||
|
Interfaces describes the status of the VM’s network interfaces. |
||
|
IPStacks describes information about the guest’s configured IP networking |
||
|
PrimaryIP4 describes the VM’s primary IP4 address. If the bootstrap provider is CloudInit then this value is set to the If the bootstrap provider is anything else then this field is set to the |
||
|
PrimaryIP6 describes the VM’s primary IP6 address. If the bootstrap provider is CloudInit then this value is set to the If the bootstrap provider is anything else then this field is set to the |
VirtualMachinePlacementStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
Zone describes the recommended zone for this VM. |
||
|
Node describes the recommended node for this VM. |
||
|
Pool describes the recommended resource pool for this VM. |
||
|
Datastores describe the recommended datastores for this VM. |
VirtualMachinePowerOpMode
Underlying type: string
VirtualMachinePowerOpMode represents the various power operation modes when powering off or suspending a VM.
-
Enum: [Hard Soft TrySoft]
VirtualMachinePowerState
Underlying type: string
VirtualMachinePowerState defines a VM’s desired and observed power states.
-
Enum: [PoweredOff PoweredOn Suspended]
VirtualMachinePromoteDisksMode
Underlying type: string
VirtualMachinePromoteDisksMode represents the available modes for promoting child disks to full clones.
-
Enum: [Online Offline Disabled]
VirtualMachinePublishRequest
VirtualMachinePublishRequest defines the information necessary to publish a VirtualMachine as a VirtualMachineImage to an image registry.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachinePublishRequestSource
VirtualMachinePublishRequestSource is the source of a publication request, typically a VirtualMachine resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of the referenced object. If omitted this value defaults to the name of the |
||
|
APIVersion is the API version of the referenced object. |
vmoperator.vmware.com/v1alpha1 |
|
|
Kind is the kind of referenced object. |
VirtualMachine |
VirtualMachinePublishRequestSpec
VirtualMachinePublishRequestSpec defines the desired state of a VirtualMachinePublishRequest.
All the fields in this spec are optional. This is especially useful when a DevOps persona wants to publish a VM without doing anything more than applying a VirtualMachinePublishRequest resource that has the same name as said VM in the same namespace as said VM.
| Field | Description | Default | Validation |
|---|---|---|---|
Source is the source of the publication request, ex. a VirtualMachine If this value is omitted then the publication controller checks to |
|||
Target is the target of the publication request, ex. item If this value is omitted, the controller uses spec.source.name + "-image" Please note that while optional, if a VirtualMachinePublishRequest sans |
|||
|
TTLSecondsAfterFinished is the time-to-live duration for how long this If this field is unset then the request resource will not be |
Minimum: 0 |
|
|
BackoffLimit is the number of status.attempts that should be allowed |
3 |
Minimum: 0 |
VirtualMachinePublishRequestStatus
VirtualMachinePublishRequestStatus defines the observed state of a VirtualMachinePublishRequest.
| Field | Description | Default | Validation |
|---|---|---|---|
|
SourceRef is the reference to the source of the publication request, |
||
|
TargetRef is the reference to the target of the publication request, |
||
|
CompletionTime represents time when the request was completed. It is not The value of this field should be equal to the value of the |
||
|
StartTime represents time when the request was acknowledged by the |
||
|
Attempts represents the number of times the request to publish the VM |
||
|
LastAttemptTime represents the time when the latest request was sent. |
||
|
ImageName is the name of the VirtualMachineImage resource that is This field will not be set until the VirtualMachineImage resource |
||
|
Ready is set to true only when the VM has been published successfully Readiness is determined by waiting until there is status condition
|
||
|
Conditions is a list of the latest, available observations of the |
VirtualMachinePublishRequestTarget
VirtualMachinePublishRequestTarget is the target of a publication request, typically a ContentLibrary resource.
| Field | Description | Default | Validation |
|---|---|---|---|
Item contains information about the name of the object to which Please note this value is optional and if omitted, the controller |
|||
Location contains information about the location to which to publish |
VirtualMachinePublishRequestTargetItem
VirtualMachinePublishRequestTargetItem is the item part of a publication request’s target.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of the published object. If the spec.target.location.apiVersion equals If omitted then the controller will use spec.source.name + "-image". |
||
|
Description is the description to assign to the published object. |
VirtualMachinePublishRequestTargetLocation
VirtualMachinePublishRequestTargetLocation is the location part of a publication request’s target.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of the referenced object. Please note an error will be returned if this field is not A default publication target is a resource with an API version |
||
|
APIVersion is the API version of the referenced object. |
imageregistry.vmware.com/v1alpha1 |
|
|
Kind is the kind of referenced object. |
ContentLibrary |
VirtualMachineReadinessProbeSpec
VirtualMachineReadinessProbeSpec describes a probe used to determine if a VM is in a ready state. All probe actions are mutually exclusive.
| Field | Description | Default | Validation |
|---|---|---|---|
|
TCPSocket specifies an action involving a TCP port. Deprecated: The TCPSocket action requires network connectivity that is not supported in all environments. |
||
|
GuestHeartbeat specifies an action involving the guest heartbeat status. |
||
|
GuestInfo specifies an action involving key/value pairs from GuestInfo. The elements are evaluated with the logical AND operator, meaning For example, a VM resource’s probe definition could be specified as the guestInfo: With the above configuration in place, the VM would not be considered From within the guest operating system it is possible to set GuestInfo vmware-rpctool "info-set guestinfo.ready true" Once executed, the VM’s readiness probe will be signaled and the |
||
|
TimeoutSeconds specifies a number of seconds after which the probe times out. |
Maximum: 60 |
|
|
PeriodSeconds specifics how often (in seconds) to perform the probe. |
Minimum: 1 |
VirtualMachineReplicaSet
VirtualMachineReplicaSet is the schema for the virtualmachinereplicasets API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachineReplicaSetSpec
VirtualMachineReplicaSetSpec is the specification of a VirtualMachineReplicaSet.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Replicas is the number of desired replicas. |
1 |
|
|
DeletePolicy defines the policy used to identify nodes to delete when downscaling. |
Enum: [Random] |
|
|
Selector is a label to query over virtual machines that should match the It must match the VirtualMachine template’s labels. |
||
|
Template is the object that describes the virtual machine that will be |
VirtualMachineReplicaSetStatus
VirtualMachineReplicaSetStatus represents the observed state of a VirtualMachineReplicaSet resource.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Replicas is the most recently observed number of replicas. |
||
|
FullyLabeledReplicas is the number of replicas that have labels matching the |
||
|
ReadyReplicas is the number of ready replicas for this VirtualMachineReplicaSet. A |
||
|
ObservedGeneration reflects the generation of the most recently observed |
||
|
Conditions represents the latest available observations of a |
VirtualMachineReservedSpec
VirtualMachineReservedSpec describes a set of VM configuration options reserved for system use. Modification attempts by DevOps users will result in a validation error.
| Field | Description | Default | Validation |
|---|---|---|---|
|
VirtualMachineResourceSpec
VirtualMachineResourceSpec describes a virtual hardware policy specification.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachineService
VirtualMachineService is the Schema for the virtualmachineservices API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineServicePort
VirtualMachineServicePort describes the specification of a service port to be exposed by a VirtualMachineService. This VirtualMachineServicePort specification includes attributes that define the external and internal representation of the service port.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the name to be used to identify this |
||
|
Protocol describes the Layer 4 transport protocol for this port. |
||
|
Port describes the external port that will be exposed by the service. |
||
|
TargetPort describes the internal port open on a VirtualMachine that |
VirtualMachineServiceSpec
VirtualMachineServiceSpec defines the desired state of VirtualMachineService.
| Field | Description | Default | Validation |
|---|---|---|---|
Type specifies a desired VirtualMachineServiceType for this |
|||
|
Ports specifies a list of VirtualMachineServicePort to expose with this |
||
|
Selector specifies a map of key-value pairs, also known as a Label |
||
|
LoadBalancer will get created with the IP specified in this field. |
||
|
LoadBalancerSourceRanges is an array of IP addresses in the format of |
||
|
ClusterIP is the IP address of the service and is usually assigned |
||
|
ExternalName is the external reference that kubedns or equivalent will |
VirtualMachineServiceStatus
VirtualMachineServiceStatus defines the observed state of VirtualMachineService.
| Field | Description | Default | Validation |
|---|---|---|---|
|
LoadBalancer contains the current status of the load balancer, |
VirtualMachineServiceType
Underlying type: string
VirtualMachineServiceType string describes ingress methods for a service.
VirtualMachineSetResourcePolicy
VirtualMachineSetResourcePolicy is the Schema for the virtualmachinesetresourcepolicies API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachineSetResourcePolicySpec
VirtualMachineSetResourcePolicySpec defines the desired state of VirtualMachineSetResourcePolicy.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
|||
|
VirtualMachineSetResourcePolicyStatus
VirtualMachineSetResourcePolicyStatus defines the observed state of VirtualMachineSetResourcePolicy.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|||
|
VirtualMachineSnapshot
VirtualMachineSnapshot is the schema for the virtualmachinesnapshot API.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
VirtualMachineSnapshotReference
| Field | Description | Default | Validation |
|---|---|---|---|
Type describes the type of the snapshot reference. Possible values are: Managed, Unmanaged |
Managed |
Enum: [Managed Unmanaged] |
|
|
Name is the name of the snapshot resource. This field is only set |
VirtualMachineSnapshotReferenceType
Underlying type: string
VirtualMachineSnapshotReferenceType defines the type of the snapshot reference.
-
Enum: [Managed Unmanaged]
VirtualMachineSnapshotSpec
VirtualMachineSnapshotSpec defines the desired state of VirtualMachineSnapshot.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Memory represents whether the snapshot includes the VM’s |
||
|
Quiesce represents the spec used for granular control over |
||
|
Description represents a description of the snapshot. |
||
|
VMName represents the name of the virtual machine for which the |
VirtualMachineSnapshotStatus
VirtualMachineSnapshotStatus defines the observed state of VirtualMachineSnapshot.
| Field | Description | Default | Validation |
|---|---|---|---|
|
PowerState represents the observed power state of the virtual |
Enum: [PoweredOff PoweredOn Suspended] |
|
|
Quiesced represents whether or not the snapshot was created |
||
|
UniqueID describes a unique identifier provider by the backing |
||
|
Children represents the snapshots for which this snapshot is |
||
|
Conditions describes the observed conditions of the VirtualMachine. |
||
Storage describes the observed amount of storage used by a |
VirtualMachineSnapshotStorageStatus
VirtualMachineSnapshotStorageStatus defines the observed state of a VirtualMachineSnapshot’s storage.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Used describes the observed amount of storage used by a |
||
|
Requested describes the observed amount of storage requested by a |
VirtualMachineSnapshotStorageStatusRequested
VirtualMachineSnapshotStorageStatusRequested describes the observed amount of storage requested by a VirtualMachineSnapshot for a storage class.
| Field | Description | Default | Validation |
|---|---|---|---|
|
StorageClass is the name of the storage class. |
||
|
Total describes the total storage space requested by a |
VirtualMachineSpec
VirtualMachineSpec defines the desired state of a VirtualMachine.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Image describes the reference to the VirtualMachineImage or Please note, unlike the field spec.imageName, the value of Please also note, when creating a new VirtualMachine, if this field and Please note, this field may be empty if the VM was imported instead of |
||
|
ImageName describes the name of the image resource used to deploy this This field may be used to specify the name of a VirtualMachineImage This field may also be used to specify the display name (vSphere name) of Please also note, when creating a new VirtualMachine, if this field and Please note, this field may be empty if the VM was imported instead of |
||
|
ClassName describes the name of the VirtualMachineClass resource used to When creating a virtual machine, if this field is empty and a Please also note, when creating a new VirtualMachine, if this field and Please note, this field may be empty if the VM was imported instead of If a VM is using a class, a different value in spec.className |
||
|
Class describes the VirtualMachineClassInstance resource that is The value of spec.class.Name must be the Kubernetes object name Please also note, if this field and spec.className are both If a className is specified, but this field is omitted, VM operator If a VM class has been modified and thus, the newly available |
||
|
Affinity describes the VM’s scheduling constraints. |
||
|
Crypto describes the desired encryption state of the VirtualMachine. |
||
|
StorageClass describes the name of a Kubernetes StorageClass resource Please see https://kubernetes.io/docs/concepts/storage/storage-classes/ |
||
|
Bootstrap describes the desired state of the guest’s bootstrap If omitted, a default bootstrap method may be selected based on the |
||
|
Network describes the desired network configuration for the VM. Please note this value may be omitted entirely and the VM will be |
||
|
PowerState describes the desired power state of a VirtualMachine. Please note this field may be omitted when creating a new VM and will Additionally, setting this value to "Suspended" is not supported when |
Enum: [PoweredOff PoweredOn Suspended] |
|
|
PowerOffMode describes the desired behavior when powering off a VM. There are three, supported power off modes: Hard, Soft, and If omitted, the mode defaults to TrySoft. |
TrySoft |
Enum: [Hard Soft TrySoft] |
|
SuspendMode describes the desired behavior when suspending a VM. There are three, supported suspend modes: Hard, Soft, and If omitted, the mode defaults to TrySoft. |
TrySoft |
Enum: [Hard Soft TrySoft] |
|
NextRestartTime may be used to restart the VM, in accordance with A mutating webhook changes this value to the current time (UTC), which Please note it is not possible to schedule future restarts using this |
||
|
RestartMode describes the desired behavior for restarting a VM when There are three, supported suspend modes: Hard, Soft, and If omitted, the mode defaults to TrySoft. |
TrySoft |
Enum: [Hard Soft TrySoft] |
|
Volumes describes a list of volumes that can be mounted to the VM. |
||
|
ReadinessProbe describes a probe used to determine the VM’s ready state. |
||
|
Advanced describes a set of optional, advanced VM configuration options. |
||
|
Reserved describes a set of VM configuration options reserved for system Please note attempts to modify the value of this field by a DevOps user |
||
|
MinHardwareVersion describes the desired, minimum hardware version. The logic that determines the hardware version is as follows:
This field is never updated to reflect the derived hardware version. Please note, setting this field’s value to N ensures a VM’s hardware Several features are hardware version dependent, for example:
Please refer to https://kb.vmware.com/s/article/1003746 for a list of VM It is important to remember that a VM’s hardware version may not be |
Minimum: 13 |
|
|
InstanceUUID describes the desired Instance UUID for a VM. |
Format: uuid |
|
|
BiosUUID describes the desired BIOS UUID for a VM. |
Format: uuid |
|
|
GuestID describes the desired guest operating system identifier for a VM. The logic that determines the guest ID is as follows: If this field is set, then its value is used. For a complete list of supported values, please refer to Please note that some guest ID values may require a minimal hardware Please note that this field is immutable after the VM is powered on. This field is required when the VM has any CD-ROM devices attached. |
||
|
PromoteDisksMode describes the mode used to promote a VM’s delta disks to
Please note, this field is ignored for encrypted VMs since they do not Defaults to Online. |
Online |
Enum: [Online Offline Disabled] |
|
BootOptions describes the settings that control the boot behavior of the |
||
|
CurrentSnapshotName represents the desired snapshot that the VM The value of this field must be the name of an existing Reverting a virtual machine to a snapshot rolls back the data If the virtual machine is currently powered off, but you revert to |
||
|
GroupName indicates the name of the VirtualMachineGroup to which this VMs that belong to a group do not drive their own placement, rather that When this field is set to a valid group that contains this VM as a When this field is deleted or changed, any existing owner reference to |
||
|
Hardware describes the VM’s desired hardware. |
||
|
Policies describes a list of policies that should be explicitly applied Please note, not all policies may be applied explicitly to a VM. Please Valid policy types are: ComputePolicy. |
VirtualMachineStatus
VirtualMachineStatus defines the observed state of a VirtualMachine instance.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Class is a reference to the VirtualMachineClass resource used to deploy |
||
|
NodeName describes the observed name of the node where the VirtualMachine |
||
|
PowerState describes the observed power state of the VirtualMachine. |
Enum: [PoweredOff PoweredOn Suspended] |
|
|
Conditions describes the observed conditions of the VirtualMachine. |
||
|
Crypto describes the observed state of the VirtualMachine’s encryption |
||
|
Network describes the observed state of the VM’s network configuration. |
||
|
UniqueID describes a unique identifier that is provided by the underlying |
||
|
BiosUUID describes a unique identifier provided by the underlying |
||
|
InstanceUUID describes the unique instance UUID provided by the |
||
|
Volumes describes the observed state of the volumes that are intended to |
||
|
ChangeBlockTracking describes whether or not change block tracking is |
||
|
Zone describes the availability zone where the VirtualMachine has been Please note this field may be empty when the cluster is not zone-aware. |
||
|
LastRestartTime describes the last time the VM was restarted. |
||
|
HardwareVersion describes the VirtualMachine resource’s observed Please refer to VirtualMachineSpec.MinHardwareVersion for more |
||
|
Storage describes the observed state of the VirtualMachine’s storage. |
||
|
CurrentSnapshot describes the observed working snapshot of the VirtualMachine. |
||
|
RootSnapshots represents the observed list of root snapshots of |
||
Guest describes the observed state of the VM’s guest. |
|||
|
Hardware describes the observed state of the VM’s hardware. |
||
|
Policies describes the observed policies applied to this VM. |
VirtualMachineStorageStatus
VirtualMachineStorageStatus defines the observed state of a VirtualMachine’s storage.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Total describes the total storage space used by a VirtualMachine that |
||
|
Requested describes the observed amount of storage requested by a |
||
Used describes the observed amount of storage used by a VirtualMachine. |
VirtualMachineStorageStatusRequested
| Field | Description | Default | Validation |
|---|---|---|---|
|
Disks describes the total storage space requested by a VirtualMachine’s |
VirtualMachineStorageStatusUsed
| Field | Description | Default | Validation |
|---|---|---|---|
|
Disks describes the total storage space used by a VirtualMachine’s |
||
Snapshots describes the total storage space used by a VirtualMachine’s |
|||
|
Other describes the total storage space used by the VirtualMachine’s |
VirtualMachineStorageStatusUsedSnapshotDetails
| Field | Description | Default | Validation |
|---|---|---|---|
|
VM describes the total storage space used by the VirtualMachine’s |
||
|
Volume describes the total storage space used by the VirtualMachine’s |
VirtualMachineTemplateSpec
VirtualMachineTemplateSpec describes the data needed to create a VirtualMachine from a template.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Refer to Kubernetes API documentation for fields of |
||
|
Specification of the desired behavior of each replica virtual machine. |
VirtualMachineVGPUMigrationType
Underlying type: string
VirtualMachineVGPUType
Underlying type: string
VirtualMachineVolume
VirtualMachineVolume represents a named volume in a VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name represents the volume’s name. Must be a DNS_LABEL and unique within |
||
|
PersistentVolumeClaim represents a reference to a PersistentVolumeClaim More information is available at |
||
|
Removable describes whether or not this volume may be removed from Users may change this value at any time. When deploying a VM, disks from the VM image are automatically marked as Defaults to true. |
true |
|
|
ApplicationType describes the type of application for which this volume
|
Enum: [OracleRAC MicrosoftWSFC] |
|
|
ControllerBusNumber describes the bus number of the controller to which The bus number specifies a controller based on the value of the
If this and controllerType are both omitted, the volume will be attached If the specified controller has no available slots, the request will be |
||
|
ControllerType describes the type of the controller to which this volume Please keep in mind the number of volumes supported by the different
Please note, the number of supported volumes per SCSI controller may seem Defaults to SCSI when controllerBusNumber is also omitted; otherwise the |
Enum: [IDE NVME SCSI SATA] |
|
|
DiskMode describes the desired mode to use when attaching the volume. Please note, volumes attached as IndependentNonPersistent or Also, any data written to volumes attached as IndependentNonPersistent or When applicationType=OracleRAC or applicationType=MicrosoftWSFC, this |
Enum: [IndependentNonPersistent IndependentPersistent NonPersistent Persistent] |
|
|
SharingMode describes the volume’s desired sharing mode. When applicationType=OracleRAC, this field defaults to MultiWriter. |
Enum: [MultiWriter None] |
|
|
UnitNumber describes the desired unit number for attaching the volume to When omitted, the next available unit number of the selected controller This value must be unique for the controller referenced by the Please note the value 7 is invalid if controllerType=SCSI as 7 is the |
VirtualMachineVolumeCryptoStatus
| Field | Description | Default | Validation |
|---|---|---|---|
|
ProviderID describes the provider ID used to encrypt the volume. |
||
|
KeyID describes the key ID used to encrypt the volume. |
VirtualMachineVolumeSource
VirtualMachineVolumeSource represents the source location of a volume to mount. Only one of its members may be specified.
| Field | Description | Default | Validation |
|---|---|---|---|
|
PersistentVolumeClaim represents a reference to a PersistentVolumeClaim More information is available at |
VirtualMachineVolumeStatus
VirtualMachineVolumeStatus defines the observed state of a VirtualMachineVolume instance.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name describes the name of the volume. |
||
|
ControllerBusNumber describes the volume’s observed controller bus |
||
|
ControllerType describes the volume’s observed controller type. |
Enum: [IDE NVME SCSI SATA] |
|
|
UnitNumber describes the volume’s observed unit number. |
||
|
Type is the type of the attached volume. |
Managed |
Enum: [Classic Managed] |
|
DiskMode describes the volume’s observed disk mode. |
Enum: [IndependentNonPersistent IndependentPersistent NonPersistent Persistent] |
|
|
SharingMode describes the volume’s observed sharing mode. |
Enum: [MultiWriter None] |
|
Crypto describes the volume’s encryption status. |
|||
|
Limit describes the maximum, requested capacity of the volume. |
||
|
Requested describes the minimum, requested capacity of the volume. Please note, this value is used when calculating a VM’s impact to a |
||
|
Used describes the observed, non-shared size of the volume on disk. For example, if this is a linked-clone’s boot volume, this value Another example is when a volume is thin-provisioned. The volume’s |
||
|
Attached represents whether a volume has been successfully attached to |
||
|
DiskUUID represents the underlying virtual disk UUID and is present when |
||
|
Error represents the last error seen when attaching or detaching a |
VirtualMachineWebConsoleRequest
VirtualMachineWebConsoleRequest allows the creation of a one-time, web console connection to a VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
VirtualMachineWebConsoleRequestSpec
VirtualMachineWebConsoleRequestSpec describes the desired state for a web console request to a VM.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Name is the name of a VM in the same Namespace as this web console |
||
|
PublicKey is used to encrypt the status.response. This is expected to be a RSA OAEP public key in X.509 PEM format. |
VirtualMachineWebConsoleRequestStatus
VirtualMachineWebConsoleRequestStatus describes the observed state of the request.
| Field | Description | Default | Validation |
|---|---|---|---|
|
Response will be the authenticated ticket corresponding to this web console request. |
||
|
ExpiryTime is the time at which access via this request will expire. |
||
|
ProxyAddr describes the host address and optional port used to access The value could be a DNS entry, IPv4, or IPv6 address, followed by an DNS IPv4 IPv6 In other words, the field may be set to any value that is parsable |
VolumeApplicationType
Underlying type: string
-
Enum: [OracleRAC MicrosoftWSFC]
VolumeDiskMode
Underlying type: string
-
Enum: [IndependentNonPersistent IndependentPersistent NonPersistent Persistent]
VolumeProvisioningMode
Underlying type: string
VolumeProvisioningMode is the type used to express the desired or observed provisioning mode for a virtual machine disk.
-
Enum: [Thin Thick ThickEagerZero]
VolumeSharingMode
Underlying type: string
-
Enum: [MultiWriter None]
VolumeType
Underlying type: string
VolumeType describes the type of a VirtualMachine volume.
-
Enum: [Classic Managed]