API Reference¶
Packages¶
infra.virtrigaud.io/v1beta1¶
Package v1beta1 contains API Schema definitions for the infra.virtrigaud.io v1beta1 API group
Resource Types¶
- Host
- HostList
- HostPool
- HostPoolList
- Provider
- ProviderList
- VMClass
- VMClassList
- VMClone
- VMCloneList
- VMImage
- VMImageList
- VMMigration
- VMMigrationList
- VMNetworkAttachment
- VMNetworkAttachmentList
- VMPlacementPolicy
- VMPlacementPolicyList
- VMSet
- VMSetList
- VMSnapshot
- VMSnapshotList
- VirtualMachine
- VirtualMachineList
AffinityRules¶
AffinityRules defines affinity placement rules. The scheduler acts on hostAffinity and vmAffinity; the other rules are accepted but not acted on in this release.
Appears in: - VMPlacementPolicySpec
| Field | Description | Default | Validation |
|---|---|---|---|
vmAffinity VMAffinity | VMAffinity defines affinity rules between VMs. | Optional: {} | |
hostAffinity HostAffinityRule | HostAffinity prefers, or requires, the listed Hosts. | Optional: {} | |
clusterAffinity ClusterAffinityRule | ClusterAffinity encourages VMs to be placed in the same cluster. Accepted but not acted on in this release. | Optional: {} | |
datastoreAffinity DatastoreAffinityRule | DatastoreAffinity encourages VMs to be placed on the same datastore. Accepted but not acted on in this release. | Optional: {} | |
zoneAffinity ZoneAffinityRule | ZoneAffinity encourages VMs to be placed in the same zone. Accepted but not acted on in this release. | Optional: {} | |
applicationAffinity ApplicationAffinityRule | ApplicationAffinity encourages VMs from the same application to be co-located. Accepted but not acted on in this release. | Optional: {} |
AntiAffinityRules¶
AntiAffinityRules defines anti-affinity placement rules. The scheduler acts on hostAntiAffinity and vmAntiAffinity; the other rules are accepted but not acted on in this release.
Appears in: - VMPlacementPolicySpec
| Field | Description | Default | Validation |
|---|---|---|---|
vmAntiAffinity VMAntiAffinity | VMAntiAffinity defines anti-affinity rules between VMs. | Optional: {} | |
hostAntiAffinity HostAntiAffinityRule | HostAntiAffinity limits the number of VMs on one Host. | Optional: {} | |
clusterAntiAffinity ClusterAntiAffinityRule | ClusterAntiAffinity prevents VMs from being placed in the same cluster. Accepted but not acted on in this release. | Optional: {} | |
datastoreAntiAffinity DatastoreAntiAffinityRule | DatastoreAntiAffinity prevents VMs from being placed on the same datastore. Accepted but not acted on in this release. | Optional: {} | |
zoneAntiAffinity ZoneAntiAffinityRule | ZoneAntiAffinity prevents VMs from being placed in the same zone. Accepted but not acted on in this release. | Optional: {} | |
applicationAntiAffinity ApplicationAntiAffinityRule | ApplicationAntiAffinity prevents VMs from different applications being co-located. Accepted but not acted on in this release. | Optional: {} |
ApplicationAffinityRule¶
ApplicationAffinityRule defines application affinity rules. Accepted but not acted on in this release.
Appears in: - AffinityRules
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled indicates if application affinity is enabled. Accepted but not acted on in this release. | ||
applicationLabel string | ApplicationLabel specifies the label key used to identify applications. Accepted but not acted on in this release. | app | Optional: {} |
scope string | Scope defines the scope of the affinity rule. Accepted but not acted on in this release. | Enum: [strict preferred] Optional: {} |
ApplicationAntiAffinityRule¶
ApplicationAntiAffinityRule defines application anti-affinity rules. Accepted but not acted on in this release.
Appears in: - AntiAffinityRules
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled indicates if application anti-affinity is enabled. Accepted but not acted on in this release. | ||
applicationLabel string | ApplicationLabel specifies the label key used to identify applications. Accepted but not acted on in this release. | app | Optional: {} |
scope string | Scope defines the scope of the anti-affinity rule. Accepted but not acted on in this release. | Enum: [strict preferred] Optional: {} |
BasicAuthConfig¶
BasicAuthConfig defines basic authentication configuration. Accepted but not acted on in this release.
Appears in: - HTTPAuthentication
| Field | Description | Default | Validation |
|---|---|---|---|
secretRef LocalObjectReference | SecretRef references a secret containing username and password. Accepted but not acted on in this release. | ||
usernameKey string | UsernameKey is the key in the secret containing the username (default: username). Accepted but not acted on in this release. | username | Optional: {} |
passwordKey string | PasswordKey is the key in the secret containing the password (default: password). Accepted but not acted on in this release. | password | Optional: {} |
BearerTokenConfig¶
BearerTokenConfig defines bearer token authentication configuration. Accepted but not acted on in this release.
Appears in: - HTTPAuthentication
| Field | Description | Default | Validation |
|---|---|---|---|
secretRef LocalObjectReference | SecretRef references a secret containing the bearer token. Accepted but not acted on in this release. | ||
tokenKey string | TokenKey is the key in the secret containing the token (default: token). Accepted but not acted on in this release. | token | Optional: {} |
BoundProviderRef¶
BoundProviderRef identifies the Provider object a VirtualMachine is bound through (status.boundProvider). It is written only by the operator.
Appears in: - VMSnapshotStatus - VirtualMachineStatus
| Field | Description | Default | Validation |
|---|---|---|---|
namespace string | Namespace of the Provider. | MaxLength: 63 | |
name string | Name of the Provider. | MaxLength: 253 | |
uid string | UID of the Provider object at bind time. Empty when it was not known (never for a VM bound by this operator version). A Provider deleted and re-created under the same name has a new UID and is not accepted in its place. | MaxLength: 128 Optional: {} |
BridgeConfig¶
BridgeConfig defines bridge configuration. Only name is acted on; stp and delay are accepted but not acted on in this release.
Appears in: - LibvirtNetworkConfig
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the name of the host bridge that the NIC attaches to. | MaxLength: 15 Pattern: ^[^<>&'"/\x00-\x1f]+$ | |
stp boolean | STP enables Spanning Tree Protocol. Accepted but not acted on in this release. | false | Optional: {} |
delay integer | Delay is the STP forwarding delay. Accepted but not acted on in this release. | Maximum: 30 Minimum: 0 Optional: {} |
CertificateSpec¶
CertificateSpec defines a certificate to install. Accepted but not acted on in this release.
Appears in: - VMCustomization
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the certificate name. Accepted but not acted on in this release. | MaxLength: 255 | |
data string | Data contains the certificate data (PEM format). Accepted but not acted on in this release. WARNING: a value set here is stored in plaintext in the VMClone (etcd, backups, anyone who can read the object). It is accepted but not acted on in this release and is not sent to the provider; do not put a real certificate private key here. | Optional: {} | |
secretRef LocalObjectReference | SecretRef references a secret containing the certificate. Accepted but not acted on in this release. | Optional: {} | |
secretKey string | SecretKey is the key in the secret containing the certificate. Accepted but not acted on in this release. | tls.crt | Optional: {} |
store string | Store specifies the certificate store. Accepted but not acted on in this release. | root | Enum: [root ca my trust] Optional: {} |
ChecksumType¶
Underlying type: string
ChecksumType represents the checksum algorithm. The vSphere and libvirt providers verify an image's checksum with it when they prepare the image.
Validation: - Enum: [md5 sha1 sha256 sha512]
Appears in: - HTTPImageSource - LibvirtImageSource - VSphereImageSource
| Field | Description |
|---|---|
md5 | ChecksumTypeMD5 indicates MD5 checksum |
sha1 | ChecksumTypeSHA1 indicates SHA1 checksum |
sha256 | ChecksumTypeSHA256 indicates SHA256 checksum |
sha512 | ChecksumTypeSHA512 indicates SHA512 checksum |
ClientCertConfig¶
ClientCertConfig defines client certificate authentication configuration. Accepted but not acted on in this release.
Appears in: - HTTPAuthentication
| Field | Description | Default | Validation |
|---|---|---|---|
secretRef LocalObjectReference | SecretRef references a secret containing the client certificate and key. Accepted but not acted on in this release. | ||
certKey string | CertKey is the key in the secret containing the certificate (default: tls.crt). Accepted but not acted on in this release. | tls.crt | Optional: {} |
keyKey string | KeyKey is the key in the secret containing the private key (default: tls.key). Accepted but not acted on in this release. | tls.key | Optional: {} |
CloneMetadata¶
CloneMetadata contains clone operation metadata. Accepted but not acted on in this release. No controller or provider reads it.
Appears in: - VMCloneSpec
| Field | Description | Default | Validation |
|---|---|---|---|
purpose string | Purpose describes the purpose of the clone. Accepted but not acted on in this release. | Enum: [backup testing migration development production staging] Optional: {} | |
createdBy string | CreatedBy identifies who or what created the clone. Accepted but not acted on in this release. | MaxLength: 255 Optional: {} | |
project string | Project identifies the project this clone belongs to. Accepted but not acted on in this release. | MaxLength: 255 Optional: {} | |
environment string | Environment specifies the environment. Accepted but not acted on in this release. | Enum: [dev staging prod test qa uat] Optional: {} | |
tags object (keys:string, values:string) | Tags are key-value pairs for categorizing the clone. Accepted but not acted on in this release. | MaxProperties: 50 Optional: {} |
CloneOptions¶
CloneOptions defines cloning options. Only type and powerOn are acted on; every other option is accepted but not acted on in this release.
Appears in: - VMCloneSpec
| Field | Description | Default | Validation |
|---|---|---|---|
type CloneType | Type specifies the clone type. FullClone (the default) copies the disks. LinkedClone makes a copy-on-write clone that keeps depending on the source's disk; it is sent only to a Provider that reports linked-clone support (vSphere and Proxmox; the mock provider accepts it too). On Proxmox a linked clone needs a source that is a template. On libvirt the VMClone fails with reason LinkedCloneUnsupported (or LinkedCloneCrossNamespace when the target is in another namespace). InstantClone is accepted but not acted on in this release: a full clone is made. status.actualCloneType reports what was made. | FullClone | Enum: [FullClone LinkedClone InstantClone] Optional: {} |
powerOn boolean | PowerOn indicates whether to power on the target VirtualMachine after the clone. The clone itself is made powered off; the target VirtualMachine is created with spec.powerState On (true) or Off (false, the default), and the VirtualMachine controller powers it on. | false | Optional: {} |
includeSnapshots boolean | IncludeSnapshots indicates whether to include snapshots in the clone. Accepted but not acted on in this release. | false | Optional: {} |
parallel boolean | Parallel enables parallel disk cloning. Accepted but not acted on in this release. | false | Optional: {} |
timeout Duration | Timeout defines the maximum time to wait for clone completion. Accepted but not acted on in this release. The default is not enforced. | 30m | Optional: {} |
retryPolicy CloneRetryPolicy | RetryPolicy defines retry behavior for failed clones. Accepted but not acted on in this release. The controller re-sends a Clone with a built-in backoff (15 seconds doubling to 5 minutes) when the provider reports that it did nothing, or when the outcome is unknown and the provider recognises a clone it already made. It waits, without failing, for a running source or a blocked host. Any other failure fails the clone, and Failed is terminal. | Optional: {} | |
storage CloneStorageOptions | Storage defines storage-specific clone options. Accepted but not acted on in this release. The provider decides where the clone is stored. | Optional: {} | |
performance ClonePerformanceOptions | Performance defines performance-related clone options. Accepted but not acted on in this release. | Optional: {} |
ClonePerformanceOptions¶
ClonePerformanceOptions defines performance-related clone options. Accepted but not acted on in this release.
Appears in: - CloneOptions
| Field | Description | Default | Validation |
|---|---|---|---|
priority string | Priority specifies the clone operation priority. Accepted but not acted on in this release. | Normal | Enum: [Low Normal High] Optional: {} |
ioThrottling boolean | IOThrottling enables I/O throttling during clone operations. Accepted but not acted on in this release. | false | Optional: {} |
maxIOPS integer | MaxIOPS limits the maximum IOPS during clone operations. Accepted but not acted on in this release. | Maximum: 100000 Minimum: 100 Optional: {} | |
concurrentDisks integer | ConcurrentDisks limits the number of disks cloned concurrently. Accepted but not acted on in this release. | 2 | Maximum: 10 Minimum: 1 Optional: {} |
ClonePhase¶
Underlying type: string
ClonePhase represents the phase of a clone operation.
Validation: - Enum: [Pending Preparing Cloning Customizing Powering-On Ready Failed]
Appears in: - VMCloneStatus
| Field | Description |
|---|---|
Pending | ClonePhasePending indicates the clone is waiting for a prerequisite, such as its source VirtualMachine, its Provider or a source that must be powered off. The Ready condition's reason and message say which. |
Preparing | ClonePhasePreparing is never set in this release. |
Cloning | ClonePhaseCloning indicates the provider accepted the Clone call and the target VirtualMachine is not bound to the cloned machine yet. |
Customizing | ClonePhaseCustomizing is never set in this release. |
Powering-On | ClonePhasePoweringOn is never set in this release. |
Ready | ClonePhaseReady indicates the clone is complete and the target VirtualMachine is bound to the cloned machine. |
Failed | ClonePhaseFailed indicates the clone failed. It is terminal. |
CloneProgress¶
CloneProgress shows the clone operation progress. Not populated in this release.
Appears in: - VMCloneStatus
| Field | Description | Default | Validation |
|---|---|---|---|
totalDisks integer | TotalDisks is the total number of disks to clone. Not populated in this release. | Optional: {} | |
completedDisks integer | CompletedDisks is the number of disks completed. Not populated in this release. | Optional: {} | |
currentDisk DiskCloneProgress | CurrentDisk shows progress of the current disk being cloned. Not populated in this release. | Optional: {} | |
overallPercentage integer | OverallPercentage is the overall completion percentage (0-100). Not populated in this release. | Maximum: 100 Minimum: 0 Optional: {} | |
eta Duration | ETA is the estimated time to completion. Not populated in this release. | Optional: {} |
CloneRetryPolicy¶
CloneRetryPolicy defines retry behavior for failed clones. Accepted but not acted on in this release.
Appears in: - CloneOptions
| Field | Description | Default | Validation |
|---|---|---|---|
maxRetries integer | MaxRetries is the maximum number of retry attempts. Accepted but not acted on in this release. | 3 | Maximum: 10 Minimum: 0 Optional: {} |
retryDelay Duration | RetryDelay is the delay between retry attempts. Accepted but not acted on in this release. | 5m | Optional: {} |
backoffMultiplier integer | BackoffMultiplier is the multiplier for exponential backoff. Accepted but not acted on in this release. | 2 | Optional: {} |
CloneSource¶
CloneSource defines the VirtualMachine to clone. Only vmRef is supported: a VMClone without vmRef fails with reason UnsupportedSource. snapshotRef, templateRef and imageRef are accepted but not acted on in this release.
Appears in: - VMCloneSpec
| Field | Description | Default | Validation |
|---|---|---|---|
vmRef LocalObjectReference | VMRef names the VirtualMachine to clone, in the VMClone's namespace. The clone waits (Pending) until that VirtualMachine exists and has been created on its Provider, and is made on that Provider. | Optional: {} | |
snapshotRef LocalObjectReference | SnapshotRef references a snapshot to clone from. Accepted but not acted on in this release. | Optional: {} | |
templateRef ObjectRef | TemplateRef references a VM template to clone from. Accepted but not acted on in this release. | Optional: {} | |
imageRef ObjectRef | ImageRef references a VM image to clone from. Accepted but not acted on in this release. | Optional: {} |
CloneStorageOptions¶
CloneStorageOptions defines storage-specific clone options. Accepted but not acted on in this release.
Appears in: - CloneOptions
| Field | Description | Default | Validation |
|---|---|---|---|
preferThinProvisioning boolean | PreferThinProvisioning prefers thin provisioning for cloned disks. Accepted but not acted on in this release. | true | Optional: {} |
diskFormat DiskType | DiskFormat specifies the preferred disk format for cloned disks. Accepted but not acted on in this release. | Enum: [thin thick eagerzeroedthick ssd hdd nvme] Optional: {} | |
storageClass string | StorageClass specifies the storage class for cloned disks. Accepted but not acted on in this release. | MaxLength: 253 Optional: {} | |
datastore string | Datastore specifies the target datastore for cloned disks. Accepted but not acted on in this release. | MaxLength: 255 Optional: {} | |
folder string | Folder specifies the target folder for the cloned VM. Accepted but not acted on in this release. | MaxLength: 255 Optional: {} | |
enableCompression boolean | EnableCompression enables compression during clone operations. Accepted but not acted on in this release. | false | Optional: {} |
CloneType¶
Underlying type: string
CloneType represents the type of clone operation. FullClone and LinkedClone are acted on; InstantClone is accepted but made as a full clone.
Validation: - Enum: [FullClone LinkedClone InstantClone]
Appears in: - CloneOptions - VMCloneStatus
| Field | Description |
|---|---|
FullClone | CloneTypeFullClone creates a full independent copy of the source's disks. |
LinkedClone | CloneTypeLinkedClone creates a copy-on-write clone that depends on the source's disk. The vSphere and Proxmox providers support it (Proxmox from a template source only); libvirt does not. |
InstantClone | CloneTypeInstantClone is accepted but not acted on in this release: a full clone is made. |
CloudInit¶
CloudInit defines cloud-init configuration
Appears in: - UserData
| Field | Description | Default | Validation |
|---|---|---|---|
inline string | Inline contains inline cloud-init data | Optional: {} | |
secretRef LocalObjectReference | SecretRef references a Secret containing cloud-init data | Optional: {} |
CloudInitMetaData¶
CloudInitMetaData defines cloud-init metadata configuration
Appears in: - MetaData
| Field | Description | Default | Validation |
|---|---|---|---|
inline string | Inline contains inline cloud-init metadata in YAML format | Optional: {} | |
secretRef LocalObjectReference | SecretRef references a Secret containing cloud-init metadata | Optional: {} |
ClusterAffinityRule¶
ClusterAffinityRule defines cluster affinity rules. Accepted but not acted on in this release.
Appears in: - AffinityRules
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled indicates if cluster affinity is enabled. Accepted but not acted on in this release. | ||
preferredClusters string array | PreferredClusters lists preferred clusters. Accepted but not acted on in this release. | MaxItems: 20 Optional: {} | |
scope string | Scope defines the scope of the affinity rule. Accepted but not acted on in this release. | Enum: [strict preferred] Optional: {} |
ClusterAntiAffinityRule¶
ClusterAntiAffinityRule defines cluster anti-affinity rules. Accepted but not acted on in this release.
Appears in: - AntiAffinityRules
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled indicates if cluster anti-affinity is enabled. Accepted but not acted on in this release. | ||
maxVMsPerCluster integer | MaxVMsPerCluster limits the number of VMs per cluster. Accepted but not acted on in this release. | Maximum: 10000 Minimum: 1 Optional: {} | |
scope string | Scope defines the scope of the anti-affinity rule. Accepted but not acted on in this release. | Enum: [strict preferred] Optional: {} |
ConnectionPooling¶
ConnectionPooling defines connection pooling settings. Accepted but not acted on in this release.
Appears in: - ProviderSpec
| Field | Description | Default | Validation |
|---|---|---|---|
maxConnections integer | MaxConnections is the maximum number of connections to maintain | 10 | Maximum: 100 Minimum: 1 Optional: {} |
maxIdleConnections integer | MaxIdleConnections is the maximum number of idle connections | 5 | Minimum: 1 Optional: {} |
connectionTimeout Duration | ConnectionTimeout is the timeout for establishing connections | 30s | Optional: {} |
idleTimeout Duration | IdleTimeout is the timeout for idle connections | 5m | Optional: {} |
ContentLibraryRef¶
ContentLibraryRef references a vSphere content library item. Accepted but not acted on in this release (see VSphereImageSource.ContentLibrary).
Appears in: - VSphereImageSource
| Field | Description | Default | Validation |
|---|---|---|---|
library string | Library is the name of the content library. Accepted but not acted on in this release. | MaxLength: 255 | |
item string | Item is the name of the library item. Accepted but not acted on in this release. | MaxLength: 255 | |
version string | Version specifies the item version (optional). Accepted but not acted on in this release. | Optional: {} |
CustomizationStatus¶
CustomizationStatus contains customization operation status. Not populated in this release.
Appears in: - VMCloneStatus
| Field | Description | Default | Validation |
|---|---|---|---|
started boolean | Started indicates if customization has started. Not populated in this release. | Optional: {} | |
completed boolean | Completed indicates if customization has completed. Not populated in this release. | Optional: {} | |
completedSteps string array | CompletedSteps lists completed customization steps. Not populated in this release. | Optional: {} | |
failedSteps string array | FailedSteps lists failed customization steps. Not populated in this release. | Optional: {} | |
currentStep string | CurrentStep is the current customization step. Not populated in this release. | Optional: {} | |
message string | Message provides customization status details. Not populated in this release. | Optional: {} |
DHCPConfig¶
DHCPConfig defines DHCP configuration. Accepted but not acted on in this release.
Appears in: - IPAllocationConfig
| Field | Description | Default | Validation |
|---|---|---|---|
clientID string | ClientID specifies the DHCP client ID. Accepted but not acted on in this release. | MaxLength: 255 Optional: {} | |
hostname string | Hostname specifies the hostname to request. Accepted but not acted on in this release. | MaxLength: 255 Optional: {} | |
options object (keys:string, values:string) | Options contains DHCP options. Accepted but not acted on in this release. | MaxProperties: 20 Optional: {} |
DNSConfig¶
DNSConfig defines DNS configuration. Accepted but not acted on in this release.
Appears in: - IPAllocationConfig
| Field | Description | Default | Validation |
|---|---|---|---|
servers string array | Servers contains DNS server addresses. Accepted but not acted on in this release. | MaxItems: 10 Optional: {} | |
searchDomains string array | SearchDomains contains DNS search domains. Accepted but not acted on in this release. | MaxItems: 10 Optional: {} | |
options object (keys:string, values:string) | Options contains DNS resolver options. Accepted but not acted on in this release. | MaxProperties: 10 Optional: {} |
DataVolumeImageSource¶
DataVolumeImageSource defines DataVolume-based image configuration. Accepted but not acted on in this release: no controller or provider reads a DataVolume.
Appears in: - ImageSource
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the name of the DataVolume. Accepted but not acted on in this release. | MaxLength: 253 Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ | |
namespace string | Namespace is the namespace of the DataVolume (defaults to the image's namespace). Accepted but not acted on in this release. | MaxLength: 63 Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ Optional: {} |
DatastoreAffinityRule¶
DatastoreAffinityRule defines datastore affinity rules. Accepted but not acted on in this release.
Appears in: - AffinityRules
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled indicates if datastore affinity is enabled. Accepted but not acted on in this release. | ||
preferredDatastores string array | PreferredDatastores lists preferred datastores. Accepted but not acted on in this release. | MaxItems: 50 Optional: {} | |
scope string | Scope defines the scope of the affinity rule. Accepted but not acted on in this release. | Enum: [strict preferred] Optional: {} |
DatastoreAntiAffinityRule¶
DatastoreAntiAffinityRule defines datastore anti-affinity rules. Accepted but not acted on in this release.
Appears in: - AntiAffinityRules
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled indicates if datastore anti-affinity is enabled. Accepted but not acted on in this release. | ||
maxVMsPerDatastore integer | MaxVMsPerDatastore limits the number of VMs per datastore. Accepted but not acted on in this release. | Maximum: 10000 Minimum: 1 Optional: {} | |
scope string | Scope defines the scope of the anti-affinity rule. Accepted but not acted on in this release. | Enum: [strict preferred] Optional: {} |
DiskCloneProgress¶
DiskCloneProgress shows the progress of cloning a single disk. Not populated in this release.
Appears in: - CloneProgress
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the disk name. Not populated in this release. | ||
totalBytes integer | TotalBytes is the total size of the disk. Not populated in this release. | Optional: {} | |
completedBytes integer | CompletedBytes is the number of bytes completed. Not populated in this release. | Optional: {} | |
percentage integer | Percentage is the completion percentage (0-100). Not populated in this release. | Maximum: 100 Minimum: 0 Optional: {} | |
transferRate integer | TransferRate is the current transfer rate in bytes per second. Not populated in this release. | Optional: {} |
DiskDefaults¶
DiskDefaults provides default disk settings. See VMClassSpec.DiskDefaults for which fields are acted on.
Appears in: - VMClassSpec
| Field | Description | Default | Validation |
|---|---|---|---|
type DiskType | Type specifies the default disk type. Accepted but not acted on in this release. | thin | Enum: [thin thick eagerzeroedthick ssd hdd nvme] Optional: {} |
size Quantity | Size specifies the default root disk size. libvirt sizes the root disk to it (a disk grown from an image is never shrunk) and vSphere grows the root disk to it after creation (it never shrinks a disk); Proxmox and mock ignore it. It must be non-negative and below 1Pi: every value below 900Ti written in bytes, k/Ki, M/Mi, G/Gi or T/Ti is accepted, and nothing at or above 1Pi is. That is more than ten times the largest single virtual disk vSphere supports (62 TB), and keeps the GiB value the provider contract carries far inside its int32 range. The rules bound the number of integer digits per unit suffix with core CEL only (no quantity library, which Kubernetes < 1.29 lacks), so they are enforced on every supported Kubernetes version. | 40Gi | Optional: {} |
iops integer | IOPS specifies the default IOPS limit. Accepted but not acted on in this release. | Maximum: 100000 Minimum: 100 Optional: {} | |
storageClass string | StorageClass specifies the default storage class. Accepted but not acted on in this release. | MaxLength: 253 Optional: {} |
DiskSpec¶
DiskSpec defines a disk configuration
Appears in: - MigrationTarget - VMCloneTarget - VirtualMachineSpec
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the disk identifier | MaxLength: 63 Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ | |
sizeGiB integer | SizeGiB is the size of the disk in GiB | Maximum: 65536 Minimum: 1 | |
type string | Type specifies the disk type (provider-specific) | thin | Enum: [thin thick eagerzeroedthick ssd hdd] Optional: {} |
expandPolicy string | ExpandPolicy defines how the disk can be expanded. Accepted but not acted on in this release: it is not sent to the provider. | Offline | Enum: [Online Offline] Optional: {} |
storageClass string | StorageClass specifies the storage class (optional). Accepted but not acted on in this release: it is not sent to the provider. | Optional: {} | |
scsi SCSIControllerSpec | SCSI specifies SCSI controller configuration (vSphere only). Accepted but not acted on in this release: the manager sends only the disk's name, sizeGiB and type to the provider. | Optional: {} |
DiskType¶
Underlying type: string
DiskType represents the type of disk provisioning
Validation: - Enum: [thin thick eagerzeroedthick ssd hdd nvme]
Appears in: - CloneStorageOptions - DiskDefaults
| Field | Description |
|---|---|
thin | DiskTypeThin indicates thin provisioned disks |
thick | DiskTypeThick indicates thick provisioned disks |
eagerzeroedthick | DiskTypeEagerZeroedThick indicates eager zeroed thick provisioned disks |
ssd | DiskTypeSSD indicates SSD storage |
hdd | DiskTypeHDD indicates HDD storage |
nvme | DiskTypeNVMe indicates NVMe storage |
DistributedSwitchConfig¶
DistributedSwitchConfig defines distributed virtual switch configuration. Accepted but not acted on in this release.
Appears in: - VSphereNetworkConfig
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the name of the distributed switch. Accepted but not acted on in this release. | MaxLength: 255 | |
uuid string | UUID is the UUID of the distributed switch (optional). Accepted but not acted on in this release. | Optional: {} | |
portgroupType string | PortgroupType specifies the type of portgroup. Accepted but not acted on in this release. | Enum: [ephemeral distributed] Optional: {} |
DomainJoinSpec¶
DomainJoinSpec defines domain join configuration. Accepted but not acted on in this release.
Appears in: - SysprepCustomization
| Field | Description | Default | Validation |
|---|---|---|---|
domain string | Domain is the domain name to join. Accepted but not acted on in this release. | MaxLength: 255 | |
username string | Username is the domain join username. Accepted but not acted on in this release. | MaxLength: 255 | |
password PasswordSpec | Password is the domain join password. Accepted but not acted on in this release. | ||
organizationalUnit string | OrganizationalUnit specifies the OU for the computer account. Accepted but not acted on in this release. | MaxLength: 500 Optional: {} |
EncryptionPolicy¶
EncryptionPolicy defines VM encryption settings. Accepted but not acted on in this release.
Appears in: - SecurityProfile
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled indicates if encryption should be used. Accepted but not acted on in this release. | false | |
keyProvider string | KeyProvider specifies the encryption key provider. Accepted but not acted on in this release. | Enum: [standard hardware external] Optional: {} | |
requireEncryption boolean | RequireEncryption mandates encryption (fails if not available). Accepted but not acted on in this release. | false | Optional: {} |
ExecAction¶
ExecAction describes a command to be executed
Appears in: - LifecycleHandler
| Field | Description | Default | Validation |
|---|---|---|---|
command string array | Command is the command line to execute | MinItems: 1 |
FirewallConfig¶
FirewallConfig defines firewall configuration. Accepted but not acted on in this release.
Appears in: - NetworkSecurityConfig
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled indicates if firewall is enabled. Accepted but not acted on in this release. | false | Optional: {} |
defaultPolicy string | DefaultPolicy specifies the default firewall policy. Accepted but not acted on in this release. | ACCEPT | Enum: [ACCEPT DROP REJECT] Optional: {} |
rules FirewallRule array | Rules contains firewall rules. Accepted but not acted on in this release. | MaxItems: 100 Optional: {} |
FirewallRule¶
FirewallRule defines a firewall rule. Accepted but not acted on in this release.
Appears in: - FirewallConfig
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the rule name. Accepted but not acted on in this release. | MaxLength: 255 | |
action string | Action specifies the rule action. Accepted but not acted on in this release. | Enum: [ACCEPT DROP REJECT] | |
direction string | Direction specifies the traffic direction. Accepted but not acted on in this release. | Enum: [in out inout] | |
protocol string | Protocol specifies the protocol. Accepted but not acted on in this release. | Enum: [tcp udp icmp all] Optional: {} | |
sourceCIDR string | SourceCIDR specifies the source CIDR. Accepted but not acted on in this release. | Optional: {} | |
destinationCIDR string | DestinationCIDR specifies the destination CIDR. Accepted but not acted on in this release. | Optional: {} | |
ports PortRange | Ports specifies the port range. Accepted but not acted on in this release. | Optional: {} | |
priority integer | Priority specifies the rule priority. Accepted but not acted on in this release. | Maximum: 1000 Minimum: 1 Optional: {} |
FirmwareType¶
Underlying type: string
FirmwareType represents the firmware type for VMs. See VMClassSpec.Firmware for which providers read it.
Validation: - Enum: [BIOS UEFI EFI]
Appears in: - VMClassSpec
| Field | Description |
|---|---|
BIOS | FirmwareTypeBIOS indicates BIOS firmware |
UEFI | FirmwareTypeUEFI indicates UEFI firmware |
EFI | FirmwareTypeEFI is accepted by the schema, but the vSphere and libvirt providers recognise only UEFI: there, EFI selects BIOS firmware (unless secure boot — or, on vSphere, a TPM — forces EFI). |
GPUConfig¶
GPUConfig defines GPU configuration for a VM. Accepted but not acted on in this release.
Appears in: - VirtualMachineResources
| Field | Description | Default | Validation |
|---|---|---|---|
count integer | Count specifies the number of GPUs to assign | Maximum: 8 Minimum: 1 | |
type string | Type specifies the GPU type (provider-specific) | Pattern: ^[a-zA-Z0-9-_]+$ Optional: {} | |
memory integer | Memory specifies GPU memory in MiB | Minimum: 512 Optional: {} |
GuestCommand¶
GuestCommand defines a command to run in the guest OS. Accepted but not acted on in this release.
Appears in: - VMCustomization
| Field | Description | Default | Validation |
|---|---|---|---|
command string | Command is the command to execute. Accepted but not acted on in this release, and not sent to the provider. It is stored in plaintext in the VMClone: do not put a credential in it. | MaxLength: 1000 | |
arguments string array | Arguments contains command arguments. Accepted but not acted on in this release, and not sent to the provider. They are stored in plaintext in the VMClone: do not put a credential in them. | MaxItems: 20 Optional: {} | |
workingDirectory string | WorkingDirectory specifies the working directory. Accepted but not acted on in this release. | MaxLength: 500 Optional: {} | |
runAsUser string | RunAsUser specifies the user to run the command as. Accepted but not acted on in this release. | MaxLength: 255 Optional: {} | |
timeout Duration | Timeout specifies the command timeout. Accepted but not acted on in this release. | 5m | Optional: {} |
stage string | Stage specifies when to run the command. Accepted but not acted on in this release. | post-customization | Enum: [pre-customization post-customization first-boot] Optional: {} |
GuestToolsPolicy¶
Underlying type: string
GuestToolsPolicy represents the guest tools installation policy. Accepted but not acted on in this release.
Validation: - Enum: [install skip upgrade uninstall]
Appears in: - VMClassSpec
| Field | Description |
|---|---|
install | GuestToolsPolicyInstall installs guest tools if not present |
skip | GuestToolsPolicySkip skips guest tools installation |
upgrade | GuestToolsPolicyUpgrade upgrades guest tools if present |
uninstall | GuestToolsPolicyUninstall removes guest tools if present |
HTTPAuthentication¶
HTTPAuthentication defines HTTP authentication options. Accepted but not acted on in this release: the referenced Secrets are never read.
Appears in: - HTTPImageSource
| Field | Description | Default | Validation |
|---|---|---|---|
basicAuth BasicAuthConfig | BasicAuth contains basic authentication configuration. Accepted but not acted on in this release. | Optional: {} | |
bearer BearerTokenConfig | Bearer contains bearer token authentication. Accepted but not acted on in this release. | Optional: {} | |
clientCert ClientCertConfig | ClientCert contains client certificate authentication. Accepted but not acted on in this release. | Optional: {} |
HTTPGetAction¶
HTTPGetAction describes an HTTP GET request
Appears in: - LifecycleHandler
| Field | Description | Default | Validation |
|---|---|---|---|
path string | Path is the HTTP path to access | ||
port integer | Port is the port to access | Maximum: 65535 Minimum: 1 | |
host string | Host name to connect to (defaults to VM IP) | Optional: {} | |
scheme string | Scheme to use for connecting (HTTP or HTTPS) | HTTP | Enum: [HTTP HTTPS] Optional: {} |
HTTPImageSource¶
HTTPImageSource defines HTTP/HTTPS download configuration. Accepted but not acted on in this release: no provider downloads from an http source, and none of its fields is read (the Proxmox provider reads url only to refuse it).
Appears in: - ImageSource
| Field | Description | Default | Validation |
|---|---|---|---|
url string | URL is the HTTP/HTTPS URL to download the image. Accepted but not acted on in this release. | Pattern: ^https?://.* | |
headers object (keys:string, values:string) | Headers contains HTTP headers to include in the request. Accepted but not acted on in this release. | MaxProperties: 20 Optional: {} | |
checksum string | Checksum provides expected checksum for verification. Accepted but not acted on in this release. | Optional: {} | |
checksumType ChecksumType | ChecksumType specifies the checksum algorithm. Accepted but not acted on in this release. | sha256 | Enum: [md5 sha1 sha256 sha512] Optional: {} |
authentication HTTPAuthentication | Authentication contains authentication configuration. Accepted but not acted on in this release: no credentials are read or sent. | Optional: {} | |
timeout Duration | Timeout specifies the download timeout. Accepted but not acted on in this release. | 30m | Optional: {} |
Host¶
Host is the Schema for the hosts API: one bare hypervisor host registered into a clustered Provider's HostPool. It does not affect single-host (spec.topology=single) providers.
Appears in: - HostList
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | Host | ||
metadata ObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
spec HostSpec | |||
status HostStatus |
HostAffinityRule¶
HostAffinityRule prefers, or requires, the listed Hosts.
Appears in: - AffinityRules
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled turns the rule on. A rule that is not enabled is ignored. | ||
preferredHosts string array | PreferredHosts lists Hosts by resource name. | MaxItems: 50 Optional: {} | |
scope string | Scope defines how the rule is applied. With strict, only the listed Hosts are candidates. With preferred or no value, a listed Host ranks higher. | Enum: [strict preferred] Optional: {} |
HostAntiAffinityRule¶
HostAntiAffinityRule limits the number of VMs on one Host. Only VMs in the namespace of the VM being placed are counted.
Appears in: - AntiAffinityRules
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled turns the rule on. A rule that is not enabled is ignored. | ||
maxVMsPerHost integer | MaxVMsPerHost is the number of VMs a Host may run under the rule. A Host that already runs this many is at the limit. The scheduler uses 1 when it is not set. | Maximum: 1000 Minimum: 1 Optional: {} | |
scope string | Scope defines how the rule is applied. With strict, a Host at the limit is not a candidate. With preferred or no value, a Host at the limit ranks lower. | Enum: [strict preferred] Optional: {} |
HostHealth¶
Underlying type: string
HostHealth is the live health of a Host, observed by the operator's inventory sync from the clustered provider (the ListHosts and GetHostInfo calls).
Validation: - Enum: [Ready NotReady Unknown]
Appears in: - HostStatus
| Field | Description |
|---|---|
Ready | HostHealthReady indicates the host is reachable and the provider could read its inventory (for libvirt, a virsh nodeinfo over SSH succeeded). |
NotReady | HostHealthNotReady indicates the host was probed but is not currently usable for placement or migration. |
Unknown | HostHealthUnknown indicates the host's health has not yet been determined (e.g. before the first successful heartbeat). |
HostList¶
HostList contains a list of Host.
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | HostList | ||
metadata ListMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
items Host array |
HostPool¶
HostPool is the Schema for the hostpools API: a named group of Hosts under one clustered Provider, carrying cluster scheduling and migration policy. It does not affect single-host (spec.topology=single) providers.
Appears in: - HostPoolList
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | HostPool | ||
metadata ObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
spec HostPoolSpec | |||
status HostPoolStatus |
HostPoolList¶
HostPoolList contains a list of HostPool.
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | HostPoolList | ||
metadata ListMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
items HostPool array |
HostPoolSpec¶
HostPoolSpec is admin-authored cluster policy for a named group of Hosts under one clustered Provider: scheduling strategy, overcommit, storage/network references, and the default migration policy. Only strategy and overcommit affect placement in this release.
Same-namespace model (security): a HostPool lives in its clustered Provider's namespace, alongside that Provider's Hosts, so ProviderRef is a LocalObjectReference (see HostSpec).
Appears in: - HostPool
| Field | Description | Default | Validation |
|---|---|---|---|
providerRef LocalObjectReference | ProviderRef is the clustered Provider that owns this pool. It must be in the HostPool's own namespace (no cross-namespace pool injection). | ||
strategy string | Strategy is the scheduling strategy for VMs placed in this pool: Spread balances VMs across the hosts, BinPack fills the fewest hosts first. Defaults to Spread. | Spread | Enum: [Spread BinPack] Optional: {} |
overcommit OvercommitRatios | Overcommit ratios the scheduler applies to each host's CPU and memory when it checks whether a new VM fits. | Optional: {} | |
storagePools StoragePoolRef array | StoragePools are the named shared/local storage pools available in this pool. Per-host visibility is asserted via Host.spec.labels. Consumed, not deployed, by VirtRigaud. Descriptive: no controller reads this list. | Optional: {} | |
networks PoolNetworkRef array | Networks are the named networks (bridge/VLAN/overlay) available in this pool; per-host presence is asserted via Host.spec.labels. Descriptive: no controller reads this list. | Optional: {} | |
migration PoolMigrationPolicy | Migration is the default migration policy for VMs in this pool. Accepted but not acted on in this release. | Optional: {} |
HostPoolStatus¶
HostPoolStatus aggregates member-host counts and readiness for the pool. The HostPool controller writes it whenever a member Host joins, leaves, or changes health, schedulability, providerRef or deletion state. Its Ready condition is True when SchedulableHosts > 0.
A count of 0 (an empty pool, or no schedulable host) is written as 0 rather than omitted, so it shows in the status and in the kubectl get columns.
Appears in: - HostPool
| Field | Description | Default | Validation |
|---|---|---|---|
totalHosts integer | TotalHosts is the number of Hosts whose spec.poolRef points at this pool. Only Hosts in the pool's own namespace are members (the same-namespace model); a Host being deleted is counted until it is gone. | Optional: {} | |
readyHosts integer | ReadyHosts is the number of member Hosts reporting Health=Ready. | Optional: {} | |
schedulableHosts integer | SchedulableHosts is the number of member Hosts that are both Health=Ready and spec.schedulable=true, and that the scheduler can therefore place a new VM on: a Host being deleted, or one whose spec.providerRef is not the pool's Provider, is never a placement target and is not counted. | Optional: {} | |
observedGeneration integer | ObservedGeneration reflects the generation of the HostPool spec observed by the controller. | Optional: {} | |
conditions Condition array | Conditions represent the latest available observations of the pool's state. | Optional: {} |
HostSpec¶
HostSpec is admin-authored desired inventory: one bare hypervisor host that a clustered Provider (spec.topology=cluster) executes on. The admin declares which hosts exist; the provider reports what they can do right now (see HostStatus).
Same-namespace model (security): a Host, its HostPool, its optional credential Secret, and the clustered Provider it names all live in ONE namespace — the Provider's. Every reference on this spec is therefore a LocalObjectReference (no namespace field). A Host in another namespace can neither enrol itself into a Provider's inventory nor point the operator at a credential Secret in a namespace its author does not control: the inventory render lists Hosts and resolves credential Secrets in the Provider's namespace only.
Appears in: - Host
| Field | Description | Default | Validation |
|---|---|---|---|
providerRef LocalObjectReference | ProviderRef is the clustered Provider that executes on this host. It must be in the Host's own namespace: a Host can only be fronted by a Provider in the same namespace (no cross-namespace inventory injection). | ||
poolRef LocalObjectReference | PoolRef is the HostPool this host belongs to. Membership is declared by the host itself (Host.spec.poolRef names the HostPool), not by the pool. | ||
endpoint string | Endpoint is the host connection URI. Only these shapes are accepted: qemu+ssh://[user@]host[:port]/system, qemu+ssh://[user@]host[:port]/session, and grpc://host:port. The host is a DNS name, an IPv4 address, or a bracketed IPv6 address. No query string, fragment, percent-encoding, or other path is allowed. The only clustered provider type today is libvirt, and it connects to a host over SSH with the qemu+ssh:// form only (the user, port and system|session instance come from the URI; the SSH key and known_hosts come from the credentials Secret). A grpc://host:port value passes validation but the libvirt provider refuses to connect to it, so the host cannot become Ready and is never used for placement; use qemu+ssh://. | MaxLength: 512 MinLength: 1 Pattern: ^(qemu\+ssh://([A-Za-z0-9._-]+@)?([A-Za-z0-9]([A-Za-z0-9-]\{0,61\}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]\{0,61\}[A-Za-z0-9])?)*\|\[[0-9A-Fa-f:.]+\])(:[0-9]\{1,5\})?/(system\|session)\|grpc://([A-Za-z0-9]([A-Za-z0-9-]\{0,61\}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]\{0,61\}[A-Za-z0-9])?)*\|\[[0-9A-Fa-f:.]+\]):[0-9]\{1,5\})$ | |
credentialSecretRef LocalObjectReference | CredentialSecretRef optionally overrides the Provider's credentials for this host (SSH key / known_hosts material). Defaults to the Provider's. The Secret must be in the Host's (= the Provider's) namespace: the operator never reads a credential Secret from another namespace on a Host's behalf, so a Host author cannot exfiltrate a Secret they cannot already read. | Optional: {} | |
labels object (keys:string, values:string) | Labels are placement facts: storage-pool visibility, network/bridge visibility, zone/rack, e.g. {"storage.virtrigaud.io/pool-nfs01":"true", "net.virtrigaud.io/br-vlan100":"true","topology.virtrigaud.io/rack":"r7"}. The scheduler treats them as hard constraints: a host is a candidate for a VM only if it carries net.virtrigaud.io/ network the VM's VMNetworkAttachments name ( libvirt networkName, or its bridge name when networkName is empty), and the labels the VM's VMPlacementPolicy hard nodeSelector requires. storage.virtrigaud.io/pool- not checked against them. | Optional: {} | |
schedulable boolean | Schedulable, when false, cordons the host: no new VM is placed on it, and VMs already on it stay where they are (VirtRigaud does not move or evacuate them). Defaults true. | true | Optional: {} |
HostStatus¶
HostStatus is operator-synced observed state from the provider's ListHosts and GetHostInfo calls. It carries capacity and health only, never connection secrets.
Appears in: - Host
| Field | Description | Default | Validation |
|---|---|---|---|
health HostHealth | Health is the live host health as last observed by the inventory sync (for libvirt, whether a virsh nodeinfo over SSH succeeded). Only Ready hosts are placement candidates. | Enum: [Ready NotReady Unknown] Optional: {} | |
allocatableCPU integer | AllocatableCPU is the schedulable vCPU capacity the provider reports live. | Optional: {} | |
allocatableMemoryMiB integer | AllocatableMemoryMiB is the schedulable memory in MiB the provider reports live. | Optional: {} | |
allocatableStorageBytes integer | AllocatableStorageBytes is the free storage in bytes the provider reports live for new VM disks: for libvirt, the space available to non-root users in the default storage pool's directory (statvfs, measured on every sync), and 0 when it cannot be measured. | Optional: {} | |
cpuModel string | CPUModel is the host CPU baseline model as the provider reports it. Informational: no controller reads it. | Optional: {} | |
cpuFeatures string array | CPUFeatures are the host CPU features as the provider reports them. The scheduler matches a VMPlacementPolicy's required CPU features against them. | Optional: {} | |
machineTypes string array | MachineTypes are the machine types the host supports, as the provider reports them. | Optional: {} | |
emulatorVersion string | EmulatorVersion is the host emulator version as the provider reports it. Informational: no controller reads it. | Optional: {} | |
boundVMs integer | BoundVMs is reserved for the count of VMs bound to this host. It is not populated in this release and stays 0 (omitted); count the VirtualMachines whose status.placement.host names this Host instead. | Optional: {} | |
lastHeartbeatTime Time | LastHeartbeatTime is when the operator last successfully synced this host. | Optional: {} | |
observedGeneration integer | ObservedGeneration reflects the generation of the Host spec observed by the controller. | Optional: {} | |
conditions Condition array | Conditions represent the latest available observations of the host's state. | Optional: {} |
IPAllocation¶
IPAllocation represents an IP allocation. Not populated in this release.
Appears in: - VMNetworkAttachmentStatus
| Field | Description | Default | Validation |
|---|---|---|---|
vm string | VM is the VM name that has the IP allocated. Not populated in this release. | ||
ip string | IP is the allocated IP address. Not populated in this release. | ||
mac string | MAC is the allocated MAC address. Not populated in this release. | Optional: {} | |
allocatedAt Time | AllocatedAt is when the IP was allocated. Not populated in this release. | Optional: {} | |
leaseExpiry Time | LeaseExpiry is when the IP lease expires (for DHCP). Not populated in this release. | Optional: {} |
IPAllocationConfig¶
IPAllocationConfig defines IP address allocation settings. Accepted but not acted on in this release.
Appears in: - VMNetworkAttachmentSpec
| Field | Description | Default | Validation |
|---|---|---|---|
type IPAllocationType | Type specifies the IP allocation type. Accepted but not acted on in this release. | DHCP | Enum: [DHCP Static Pool None] Optional: {} |
staticConfig StaticIPConfig | StaticConfig contains static IP configuration. Accepted but not acted on in this release. | Optional: {} | |
poolConfig IPPoolConfig | PoolConfig contains IP pool configuration. Accepted but not acted on in this release. | Optional: {} | |
dhcpConfig DHCPConfig | DHCPConfig contains DHCP configuration. Accepted but not acted on in this release. | Optional: {} | |
dnsConfig DNSConfig | DNSConfig contains DNS configuration. Accepted but not acted on in this release. | Optional: {} |
IPAllocationType¶
Underlying type: string
IPAllocationType represents the type of IP allocation. Accepted but not acted on in this release.
Validation: - Enum: [DHCP Static Pool None]
Appears in: - IPAllocationConfig
| Field | Description |
|---|---|
DHCP | IPAllocationTypeDHCP uses DHCP for IP allocation |
Static | IPAllocationTypeStatic uses static IP allocation |
Pool | IPAllocationTypePool uses an IP pool for allocation |
None | IPAllocationTypeNone disables IP allocation |
IPPoolConfig¶
IPPoolConfig defines IP pool configuration. Accepted but not acted on in this release.
Appears in: - IPAllocationConfig
| Field | Description | Default | Validation |
|---|---|---|---|
poolRef LocalObjectReference | PoolRef references an IP pool resource. Accepted but not acted on in this release. | ||
preferredIP string | PreferredIP requests a preferred IP from the pool. Accepted but not acted on in this release. | Pattern: ^((25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)\.)\{3\}(25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)$ Optional: {} |
Ignition¶
Ignition defines Ignition configuration. Accepted but not acted on in this release.
Appears in: - UserData
| Field | Description | Default | Validation |
|---|---|---|---|
inline string | Inline contains inline Ignition data | Optional: {} | |
secretRef LocalObjectReference | SecretRef references a Secret containing Ignition data | Optional: {} |
ImageFormat¶
Underlying type: string
ImageFormat represents the format of a VM image. The values are descriptive in this release: no provider acts on an image format declared in a VMImage.
Validation: - Enum: [qcow2 raw vmdk vhd vhdx iso ova ovf]
Appears in: - ImageOptimization - LibvirtImageSource - RegistryImageSource - StoragePrepareOptions - VMImageStatus
| Field | Description |
|---|---|
qcow2 | ImageFormatQCOW2 indicates QEMU QCOW2 format |
raw | ImageFormatRaw indicates raw disk format |
vmdk | ImageFormatVMDK indicates VMware VMDK format |
vhd | ImageFormatVHD indicates Microsoft VHD format |
vhdx | ImageFormatVHDX indicates Microsoft VHDX format |
iso | ImageFormatISO indicates ISO format |
ova | ImageFormatOVA indicates OVA format |
ovf | ImageFormatOVF indicates OVF format |
ImageImportProgress¶
ImageImportProgress tracks the progress of image import operations. Not populated in this release.
Appears in: - VMImageStatus
| Field | Description | Default | Validation |
|---|---|---|---|
totalBytes integer | TotalBytes is the total size of the image being imported. Not populated in this release. | Optional: {} | |
transferredBytes integer | TransferredBytes is the number of bytes transferred so far. Not populated in this release. | Optional: {} | |
percentage integer | Percentage is the completion percentage (0-100). Not populated in this release. | Maximum: 100 Minimum: 0 Optional: {} | |
transferRate integer | TransferRate is the current transfer rate in bytes per second. Not populated in this release. | Optional: {} | |
eta Duration | ETA is the estimated time to completion. Not populated in this release. | Optional: {} | |
startTime Time | StartTime is when the import started. Not populated in this release. | Optional: {} |
ImageMetadata¶
ImageMetadata contains image metadata and annotations. Descriptive: no controller or provider reads any field of it.
Appears in: - VMImageSpec
| Field | Description | Default | Validation |
|---|---|---|---|
displayName string | DisplayName is a human-readable name for the image. Descriptive: no controller reads it. | MaxLength: 255 Optional: {} | |
description string | Description provides a description of the image. Descriptive: no controller reads it. | MaxLength: 1024 Optional: {} | |
version string | Version specifies the image version. Descriptive: no controller reads it. | MaxLength: 100 Optional: {} | |
architecture string | Architecture specifies the CPU architecture. Descriptive: no controller or provider checks it against the hypervisor. | amd64 | Enum: [amd64 arm64 x86_64 aarch64] Optional: {} |
tags object (keys:string, values:string) | Tags are key-value pairs for categorizing the image. Descriptive: no controller reads them. | MaxProperties: 50 Optional: {} | |
annotations object (keys:string, values:string) | Annotations are additional metadata annotations. Descriptive: no controller reads them, and they are not copied to the image on the hypervisor. | MaxProperties: 50 Optional: {} |
ImageMissingAction¶
Underlying type: string
ImageMissingAction defines actions to take when an image is not yet prepared on the Provider of the VM being created.
Validation: - Enum: [Import Fail Wait]
Appears in: - ImagePrepare
| Field | Description |
|---|---|
Import | ImageMissingActionImport prepares the image on the Provider, then creates the VM |
Fail | ImageMissingActionFail does not prepare the image: the VMImage reports Ready=False with phase Failed and the VM is held until the image is prepared out of band |
Wait | ImageMissingActionWait does not prepare the image: the VMImage reports Ready=False with phase Pending and the VM is held until the image becomes available out of band |
ImageOptimization¶
ImageOptimization defines image optimization options. Accepted but not acted on in this release: no controller or provider reads any field of it.
Appears in: - ImagePrepare
| Field | Description | Default | Validation |
|---|---|---|---|
enableCompression boolean | EnableCompression enables image compression. Accepted but not acted on in this release. | false | Optional: {} |
removeUnusedSpace boolean | RemoveUnusedSpace removes unused space from the image. Accepted but not acted on in this release. | false | Optional: {} |
convertFormat ImageFormat | ConvertFormat converts the image to a more optimal format. Accepted but not acted on in this release. | Enum: [qcow2 raw vmdk vhd vhdx iso ova ovf] Optional: {} | |
enableDeltaSync boolean | EnableDeltaSync enables delta synchronization for updates. Accepted but not acted on in this release. | false | Optional: {} |
ImagePhase¶
Underlying type: string
ImagePhase represents the phase of image preparation. The controller sets Pending, Importing, Ready and Failed; Downloading, Converting and Optimizing are never set in this release.
Validation: - Enum: [Pending Downloading Importing Converting Optimizing Ready Failed]
Appears in: - VMImageStatus
| Field | Description |
|---|---|
Pending | ImagePhasePending indicates the image is waiting to be processed |
Downloading | ImagePhaseDownloading is never set in this release |
Importing | ImagePhaseImporting indicates the image is being imported |
Converting | ImagePhaseConverting is never set in this release |
Optimizing | ImagePhaseOptimizing is never set in this release |
Ready | ImagePhaseReady indicates the image is ready for use |
Failed | ImagePhaseFailed indicates the image preparation failed |
ImagePrepare¶
ImagePrepare defines optional image preparation steps. Only onMissing and timeout are acted on. validateChecksum, retries, force, storage and optimization are accepted but not acted on in this release.
Appears in: - VMImageSpec
| Field | Description | Default | Validation |
|---|---|---|---|
onMissing ImageMissingAction | OnMissing defines the action to take when the image is not yet prepared on the Provider of the VM being created. Import (the default) prepares it, then creates the VM. Fail and Wait never prepare: the VM is held, and the VMImage is marked Failed or Pending. It applies only to a source that must be imported (a vSphere ovaURL, a libvirt url); an image that names something already on the hypervisor is used as written whatever this says. | Import | Enum: [Import Fail Wait] Optional: {} |
validateChecksum boolean | ValidateChecksum validates the image checksum. Accepted but not acted on in this release: the vSphere and libvirt providers verify the checksum of an image they prepare whenever source.*.checksum is set. | true | Optional: {} |
timeout Duration | Timeout defines the maximum time to wait for preparation. The libvirt provider uses it as the time limit of the download. The manager and the vSphere and libvirt providers also use twice this value, with a floor of two hours, as the time after which a prepare started by another request that has not finished is treated as abandoned (stalled). The libvirt and vSphere providers cap the value at 7 days. | 30m | Optional: {} |
retries integer | Retries defines the number of retry attempts for failed operations. Accepted but not acted on in this release: the manager retries a failed prepare on its own schedule. | 3 | Maximum: 10 Minimum: 0 Optional: {} |
force boolean | Force forces re-import even if image exists. Accepted but not acted on in this release: an existing prepared image for the same source is reused. | Optional: {} | |
storage StoragePrepareOptions | Storage defines storage-specific preparation options. Accepted but not acted on in this release: the libvirt storage pool comes from source.libvirt.storagePool, and the vSphere import folder from the Provider's spec.defaults.folder. | Optional: {} | |
optimization ImageOptimization | Optimization defines image optimization options. Accepted but not acted on in this release. | Optional: {} |
ImageSource¶
ImageSource defines the source of the VM image. The vsphere, libvirt and proxmox sources are acted on by the provider of that kind. The http, registry and dataVolume sources are accepted but not acted on in this release: no provider downloads from them, so the vSphere, libvirt and Proxmox providers refuse to prepare an image that has only such a source (the VMImage reports reason InvalidSource and VMs that use it are not created). To import from a URL, use vsphere.ovaURL or libvirt.url.
Appears in: - VMImageSpec
| Field | Description | Default | Validation |
|---|---|---|---|
vsphere VSphereImageSource | VSphere contains vSphere-specific image configuration. It is acted on by the vSphere provider. | Optional: {} | |
libvirt LibvirtImageSource | Libvirt contains Libvirt-specific image configuration. It is acted on by the libvirt provider. | Optional: {} | |
http HTTPImageSource | HTTP contains HTTP/HTTPS download configuration. Accepted but not acted on in this release: no provider downloads from an http source. (The Proxmox provider reads http.url only to refuse it.) | Optional: {} | |
registry RegistryImageSource | Registry contains container registry image configuration. Accepted but not acted on in this release. | Optional: {} | |
dataVolume DataVolumeImageSource | DataVolume contains DataVolume-based image configuration. Accepted but not acted on in this release. | Optional: {} | |
proxmox ProxmoxImageSource | Proxmox contains Proxmox VE-specific image configuration. It is acted on by the Proxmox provider. | Optional: {} |
ImportedDiskRef¶
ImportedDiskRef references a disk that was imported via migration or other means. This allows VMs to be created from pre-existing disk images rather than templates.
DiskID may be empty only while MigrationRef is set: the target VirtualMachine a VMMigration into a clustered Provider creates BEFORE its import. Such a VM is placed but never created ("waiting for import") until the migration records the landed disk in DiskID, Path and Format.
Appears in: - VirtualMachineSpec
| Field | Description | Default | Validation |
|---|---|---|---|
diskID string | DiskID is the provider-specific disk identifier. For libvirt, this is typically the volume name. Empty only on a migration's target VirtualMachine that waits for its import (MigrationRef set). | MaxLength: 253 Required: {} | |
path string | Path is the optional disk path on the provider (e.g., /var/lib/libvirt/images/disk.qcow2). If not specified, the provider will determine the path based on DiskID. | Optional: {} | |
format string | Format specifies the disk format (qcow2, vmdk, raw, etc.). | qcow2 | Enum: [qcow2 vmdk raw vdi vhdx] Optional: {} |
source string | Source indicates where the disk came from. | Enum: [migration clone import snapshot manual] Optional: {} | |
migrationRef LocalObjectReference | MigrationRef references the VMMigration that imported this disk. This provides traceability and audit trail for migrated disks. | Optional: {} | |
sizeGiB integer | SizeGiB specifies the expected disk size in GiB. Used for validation and capacity planning. | Minimum: 1 Optional: {} |
KernelInfo¶
KernelInfo contains kernel information. Descriptive: no controller reads it.
Appears in: - OSDistribution
| Field | Description | Default | Validation |
|---|---|---|---|
version string | Version is the kernel version. Descriptive: no controller reads it. | Optional: {} | |
type string | Type is the kernel type. Descriptive: no controller reads it. | Enum: [linux windows freebsd other] Optional: {} |
LibvirtImageSource¶
LibvirtImageSource defines Libvirt-specific image configuration. Set path (an image already on the libvirt host, used as written) or url (an image the provider downloads and prepares), not both.
Appears in: - ImageSource
| Field | Description | Default | Validation |
|---|---|---|---|
path string | Path is the absolute path of an existing base image file on the libvirt host. It is used by reference: it is never downloaded or prepared, so checksum is not checked for it. The provider copies it into the VM's own disk; it is never attached in place. For security the provider resolves the path on the host (following symlinks) and accepts it only if the result is a regular file directly inside one of the provider's allowed image directories (VIRTRIGAUD_LIBVIRT_IMAGE_DIRS, default /var/lib/libvirt/images), is not a disk of any existing VM, does not use a VirtRigaud-reserved name (*-disk.qcow2, *-migrated.qcow2, dotfiles), and has no backing file or external data file. | MaxLength: 4096 Pattern: ^(/+([^/.\x00-\x1f\x7f-\x9f-][^/\x00-\x1f\x7f-\x9f]*\|\.([^/.\x00-\x1f\x7f-\x9f][^/\x00-\x1f\x7f-\x9f]*)?\|\.\.[^/\x00-\x1f\x7f-\x9f]+))+$ Optional: {} | |
url string | URL is the location of an image the libvirt provider downloads, on the hypervisor host, when the first VM that uses the image is created (scheme http, https or ftp). The provider converts it to qcow2 and publishes it in the storage pool; every VM created from it gets its own copy. Keep credentials out of the URL. Set url or path, not both. | Pattern: ^(https?\|ftp)://.* Optional: {} | |
format ImageFormat | Format specifies the image format. Accepted but not acted on in this release: the provider detects the format of the file itself, and converts a downloaded image to qcow2. | qcow2 | Enum: [qcow2 raw vmdk vhd vhdx iso ova ovf] Optional: {} |
checksum string | Checksum is the expected checksum of the downloaded image: the hex digest only, without an algorithm prefix, compared case-insensitively. It is checked when a url image is prepared and a mismatch fails the prepare. It is not checked for a path. Empty disables the check. | Optional: {} | |
checksumType ChecksumType | ChecksumType specifies the checksum algorithm: md5, sha1, sha256 or sha512. | sha256 | Enum: [md5 sha1 sha256 sha512] Optional: {} |
storagePool string | StoragePool is the libvirt storage pool a prepared (url) image is published in. When empty the pool "default" is used. The pool must exist and its directory must be one of the provider's allowed image directories. It is not used for a path image. | MaxLength: 255 Optional: {} |
LibvirtNetworkConfig¶
LibvirtNetworkConfig defines libvirt-specific network settings. Only networkName, bridge.name and model are acted on; driver, filterRef, bridge.stp and bridge.delay are accepted but not acted on in this release. On a clustered Provider (spec.topology: cluster) the scheduler also requires a Host whose spec.labels carry net.virtrigaud.io/
Appears in: - NetworkConfig
| Field | Description | Default | Validation |
|---|---|---|---|
networkName string | NetworkName is the name of the libvirt network (for example default) that the NIC attaches to. It is used only when bridge is not set: a bridge takes precedence. | MaxLength: 255 Pattern: ^[^<>&'"/\x00-\x1f]+$ Optional: {} | |
bridge BridgeConfig | Bridge attaches the NIC to a host bridge instead of a libvirt network. Only bridge.name is acted on. Set either bridge or networkName: when both are set, the libvirt provider uses the bridge. | Optional: {} | |
model string | Model is the NIC model of the libvirt interface. The libvirt provider uses virtio when it is empty. | virtio | Enum: [virtio e1000 e1000e rtl8139 pcnet ne2k_pci] Optional: {} |
driver NetworkDriverConfig | Driver specifies the network driver configuration. Accepted but not acted on in this release. This applies to every field below it. | Optional: {} | |
filterRef NetworkFilterRef | FilterRef specifies network filter configuration. Accepted but not acted on in this release. This applies to every field below it. | Optional: {} |
LibvirtStorageOptions¶
LibvirtStorageOptions defines Libvirt storage preparation options. Accepted but not acted on in this release.
Appears in: - StoragePrepareOptions
| Field | Description | Default | Validation |
|---|---|---|---|
storagePool string | StoragePool specifies the target storage pool for import. Accepted but not acted on in this release: use source.libvirt.storagePool. | MaxLength: 255 Optional: {} | |
allocationPolicy string | AllocationPolicy defines how storage is allocated. Accepted but not acted on in this release. | Enum: [eager lazy] Optional: {} | |
preallocation string | Preallocation specifies preallocation mode. Accepted but not acted on in this release. | Enum: [off metadata falloc full] Optional: {} |
LifecycleHandler¶
LifecycleHandler defines a specific action that should be taken
Appears in: - VirtualMachineLifecycle
| Field | Description | Default | Validation |
|---|---|---|---|
exec ExecAction | Exec specifies a command to execute | Optional: {} | |
httpGet HTTPGetAction | HTTPGet specifies an HTTP GET request | Optional: {} | |
snapshot SnapshotAction | Snapshot specifies a snapshot to create | Optional: {} |
LocalObjectReference¶
LocalObjectReference represents a reference to an object in the same namespace
Appears in: - BasicAuthConfig - BearerTokenConfig - CertificateSpec - ClientCertConfig - CloneSource - CloudInit - CloudInitMetaData - HostPoolSpec - HostSpec - IPPoolConfig - Ignition - ImportedDiskRef - MigrationSource - MigrationTarget - NetworkEncryptionConfig - PasswordSpec - RegistryImageSource - SnapshotEncryption - VMCloneStatus - VMCloneTarget - VMMigrationStatus - VMPlacementPolicyStatus - VMSnapshotOperation - VMSnapshotSpec - VSphereImageSource - VirtualMachineSpec
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name of the referenced object | MaxLength: 253 Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ |
MetaData¶
MetaData defines cloud-init metadata configuration
Appears in: - VirtualMachineSpec
| Field | Description | Default | Validation |
|---|---|---|---|
cloudInit CloudInitMetaData | CloudInit contains cloud-init metadata configuration | Optional: {} |
MigrationDiskInfo¶
MigrationDiskInfo contains information about the migrated disk
Appears in: - VMMigrationStatus
| Field | Description | Default | Validation |
|---|---|---|---|
sourceDiskID string | SourceDiskID is the source disk identifier | ||
sourceFormat string | SourceFormat is the source disk format | ||
sourceSize Quantity | SourceSize is the source disk size in bytes | ||
targetDiskID string | TargetDiskID is the target disk identifier | Optional: {} | |
targetFormat string | TargetFormat is the target disk format | Optional: {} | |
targetPath string | TargetPath is the provider-native path of the imported disk as returned by the target provider's ImportDisk (e.g. "[datastore1] disk-id/disk-id.vmdk" for vSphere, "/var/lib/libvirt/images/disk-id.qcow2" for libvirt). It is the authoritative location the created target VirtualMachine attaches; the controller copies it into the target VirtualMachine's spec.importedDisk.path. Empty until the import completes. | Optional: {} | |
targetSize Quantity | TargetSize is the target disk size in bytes. Not populated in this release. | Optional: {} | |
checksum string | Checksum is the SHA256 checksum of the disk. Not populated in this release; see sourceChecksum and targetChecksum. | Optional: {} | |
sourceChecksum string | SourceChecksum is the SHA256 checksum of the source disk | Optional: {} | |
targetChecksum string | TargetChecksum is the SHA256 checksum of the target disk | Optional: {} |
MigrationImportTarget¶
MigrationImportTarget is the namespace and name of the VirtualMachine a migration's import was sent for, and the Provider it was sent to.
Appears in: - MigrationStorageInfo
| Field | Description | Default | Validation |
|---|---|---|---|
namespace string | Namespace is the target VirtualMachine's namespace. | MaxLength: 63 | |
name string | Name is the target VirtualMachine's name. | MaxLength: 253 | |
providerUID string | ProviderUID is the UID of the target Provider the import was sent to. The landed-disk delete is sent only to that Provider: after spec.target.providerRef changed, or the Provider was replaced, the landed disk is recorded as left behind instead. Empty for an import recorded by an older manager. | MaxLength: 36 Optional: {} | |
host string | Host is the Host of a clustered target Provider the import was routed to: the target VirtualMachine's pending host, recorded with ProviderUID before the import is sent. A re-sent import and the landed-disk and nfs staged-disk deletes go to this host only. Empty unless the target Provider is clustered (topology: cluster). Written by the controller only. | MaxLength: 253 Optional: {} |
MigrationMetadata¶
MigrationMetadata contains migration metadata. Descriptive only: no controller reads it.
Appears in: - VMMigrationSpec
| Field | Description | Default | Validation |
|---|---|---|---|
purpose string | Purpose describes the purpose of the migration | Enum: [disaster-recovery cloud-migration provider-change testing maintenance] Optional: {} | |
createdBy string | CreatedBy identifies who or what created the migration | MaxLength: 255 Optional: {} | |
project string | Project identifies the project this migration belongs to | MaxLength: 255 Optional: {} | |
environment string | Environment specifies the environment | Enum: [dev staging prod test qa uat] Optional: {} | |
tags object (keys:string, values:string) | Tags are key-value pairs for categorizing the migration | MaxProperties: 50 Optional: {} |
MigrationOptions¶
MigrationOptions defines migration options
Appears in: - VMMigrationSpec
| Field | Description | Default | Validation |
|---|---|---|---|
diskFormat string | DiskFormat specifies the disk format requested for the export and, with the pvc storage backend, for the import (default qcow2). With the s3 and nfs backends the format of the staged object is not taken from this field: s3 stages the source provider's native format (vmdk from vSphere, qcow2 otherwise) and nfs stages qcow2; the target provider converts on import. | Enum: [qcow2 vmdk raw] Optional: {} | |
compress boolean | Compress asks the source provider to compress the exported disk. It is sent with the export request and a provider may ignore it: it has no effect on the libvirt s3 and nfs exports, on vSphere exports or on the Proxmox nfs export; the Proxmox s3 export honours it. | false | Optional: {} |
verifyChecksums boolean | VerifyChecksums asks the target provider to verify a pvc import against the checksum the source export reported (default true). Setting it to false only disables that pvc check: s3 imports always verify when the export reported a checksum, and nfs carries no checksum. | true | Optional: {} |
timeout Duration | Timeout bounds how long the migration waits for the source snapshot task to finish (default 4h; 2h when options is unset). It is not applied to the other phases in this release: a disk export call has a fixed limit of one hour. | 4h | Optional: {} |
retryPolicy MigrationRetryPolicy | RetryPolicy defines retry behavior for a failed migration. Without it a failed migration is not retried. A retry restarts the migration from the Pending phase. | Optional: {} | |
cleanupPolicy string | CleanupPolicy decides when the artifacts the migration created are removed. The source snapshot the migration took is deleted when the migration reaches Ready, and when it fails for good, unless the policy is Never. The staged disk of an nfs or s3 migration is deleted, with OnSuccess (the default), when the migration reaches Ready and when the VMMigration is deleted; a migration that failed for good keeps it until the VMMigration is deleted. Always also deletes it when the migration fails for good. The disk a failed import landed on the target is deleted when the VMMigration is deleted (OnSuccess) or also when the migration fails for good (Always); the disk of a migration that reached Ready belongs to the target VM and is never deleted. Never keeps the snapshot, the staged disk and the landed disk. The PVC a pvc migration created is deleted with the VMMigration whatever the policy. A migration fails for good when it has no retryPolicy, or its retries are used up. | OnSuccess | Enum: [Always OnSuccess Never] Optional: {} |
validationChecks ValidationChecks | ValidationChecks defines validation checks to perform. Accepted but not acted on in this release: no check listed here runs. | Optional: {} |
MigrationPhase¶
Underlying type: string
MigrationPhase represents the phase of a migration operation
Validation: - Enum: [Pending Validating Snapshotting Exporting Transferring Converting Importing Creating Validating-Target Ready Failed]
Appears in: - MigrationProgress - VMMigrationStatus
| Field | Description |
|---|---|
Pending | MigrationPhasePending indicates the migration is waiting to be processed |
Validating | MigrationPhaseValidating indicates the migration is being validated |
Snapshotting | MigrationPhaseSnapshotting indicates a snapshot is being created |
Exporting | MigrationPhaseExporting indicates the disk is being exported |
Transferring | MigrationPhaseTransferring indicates the disk is being transferred |
Converting | MigrationPhaseConverting indicates the disk format is being converted |
Importing | MigrationPhaseImporting indicates the disk is being imported |
Creating | MigrationPhaseCreating indicates the target VM is being created |
Validating-Target | MigrationPhaseValidatingTarget indicates the target VM is being validated |
Ready | MigrationPhaseReady indicates the migration is complete |
Failed | MigrationPhaseFailed indicates the migration failed |
MigrationProgress¶
MigrationProgress shows the migration operation progress. Not populated in this release.
Appears in: - VMMigrationStatus
| Field | Description | Default | Validation |
|---|---|---|---|
currentPhase MigrationPhase | CurrentPhase is the current phase being executed | Enum: [Pending Validating Snapshotting Exporting Transferring Converting Importing Creating Validating-Target Ready Failed] | |
totalBytes integer | TotalBytes is the total bytes to transfer | Optional: {} | |
transferredBytes integer | TransferredBytes is the bytes transferred so far | Optional: {} | |
percentage integer | Percentage is the overall completion percentage (0-100) | Maximum: 100 Minimum: 0 Optional: {} | |
eta Duration | ETA is the estimated time to completion | Optional: {} | |
transferRate integer | TransferRate is the current transfer rate in bytes per second | Optional: {} | |
phaseStartTime Time | PhaseStartTime is when the current phase started | Optional: {} |
MigrationRetryPolicy¶
MigrationRetryPolicy defines retry behavior for a failed migration.
Appears in: - MigrationOptions
| Field | Description | Default | Validation |
|---|---|---|---|
maxRetries integer | MaxRetries is the maximum number of retry attempts (default 3). | 3 | Maximum: 10 Minimum: 0 Optional: {} |
retryDelay Duration | RetryDelay is the delay before the first retry (default 5m). Each later retry waits retryDelay multiplied by backoffMultiplier once more, up to a maximum of 30 minutes. | 5m | Optional: {} |
backoffMultiplier integer | BackoffMultiplier is the multiplier applied to the delay between retries (default 2). | 2 | Maximum: 10 Minimum: 1 Optional: {} |
MigrationSource¶
MigrationSource defines the source VM for migration
Appears in: - VMMigrationSpec
| Field | Description | Default | Validation |
|---|---|---|---|
vmRef LocalObjectReference | VMRef references the source virtual machine | ||
providerRef ObjectRef | ProviderRef optionally names the source provider. It must be the Provider the source VM runs on (the VM's spec.providerRef, with an empty namespace meaning the VM's namespace); a migration naming any other Provider fails, because that Provider would export an unrelated VM that happens to share the source VM's provider ID. Leave it empty to use the source VM's Provider. | Optional: {} | |
snapshotRef LocalObjectReference | SnapshotRef names an existing snapshot to export from instead of taking a new one. The name is used as the provider's snapshot identifier (no VMSnapshot object is looked up), and the migration never deletes it. It is read only while createSnapshot is true; with createSnapshot false no snapshot is used and this field is ignored. | Optional: {} | |
createSnapshot boolean | CreateSnapshot indicates whether to snapshot the source VM before exporting its disk (default true). A snapshot the migration took is deleted after the migration succeeds, after it fails for good, and when the VMMigration is deleted, unless options.cleanupPolicy is Never. When false the Snapshotting phase is skipped and the disk is exported without a snapshot. | true | Optional: {} |
powerOffBeforeMigration boolean | PowerOffBeforeMigration sets the source VirtualMachine's spec.powerState to Off and waits, up to 10 minutes, until the provider reports it Off before the snapshot and export; the migration fails if it is not. A vSphere source should be powered off, since exporting a running vSphere VM fails (its disk is locked). The migration does not power the source on again; its spec.powerState stays Off. | false | Optional: {} |
deleteAfterMigration boolean | DeleteAfterMigration deletes the source VirtualMachine after the migration reaches Ready. Only the VirtualMachine the migration validated (recorded in status.sourceVMUID) is deleted, with a UID precondition: a VM re-created under the same name is kept. | false | Optional: {} |
MigrationStorage¶
MigrationStorage defines storage backend configuration
Appears in: - VMMigrationSpec
| Field | Description | Default | Validation |
|---|---|---|---|
type string | Type specifies the storage backend used to stage the transferred disk between the source and target providers: "pvc" (a PersistentVolumeClaim the provider pods mount), "nfs" (an NFS export) or "s3" (an S3-compatible bucket). Both the source provider's status.reportedCapabilities supportedExportBackends and the target provider's supportedImportBackends must list the backend, or the migration fails at the Validating phase. The pvc backend is not supported when the source or the target Provider is clustered (topology: cluster); use nfs or s3 there. It also requires the VMMigration and both Providers to be in one namespace, because the PVC is mounted into both provider pods. | pvc | Enum: [pvc nfs s3] |
transferMode string | TransferMode selects how disk bytes travel to and from a pvc or s3 staging backend. "relay" routes the bytes through the provider pod; "auto" (the default) resolves to "relay". "direct" (host to backend, without the provider pod) is not implemented: a migration that asks for it fails at the Validating phase. The nfs backend ignores this field: the data moves over NFS with qemu-img on the hypervisor host (libvirt, Proxmox) or in the provider pod (vSphere). | auto | Enum: [auto relay direct] Optional: {} |
pvc PVCStorageConfig | PVC specifies PVC-based storage configuration | Optional: {} | |
nfs NFSStorageConfig | NFS specifies NFS-based staging configuration. Required when type is nfs. | Optional: {} | |
s3 S3StorageConfig | S3 specifies S3-compatible object-storage staging configuration. Required when type is s3. | Optional: {} |
MigrationStorageInfo¶
MigrationStorageInfo contains information about intermediate storage
Appears in: - VMMigrationStatus
| Field | Description | Default | Validation |
|---|---|---|---|
url string | URL is the intermediate storage URL. Not populated in this release. | Optional: {} | |
size Quantity | Size is the size of data in intermediate storage. Not populated in this release. | Optional: {} | |
uploadedAt Time | UploadedAt is when the data was uploaded. Not populated in this release. | Optional: {} | |
cleanedUp boolean | CleanedUp is set once the post-migration cleanup (deleting the source snapshot and, when requested, the source VM) has run for a migration that reached Ready. It is also set, with nothing deleted, for a migration that reached Ready under an earlier release. | Optional: {} | |
stagingLayout string | StagingLayout is the naming layout of the migration's nfs / s3 staged object, recorded by the controller when the export is sent. The import and the staged-disk delete use it, so a migration keeps the name it was exported under. "v2" (new migrations): nfs file "vmmigrations_ before v2): "vmmigrations- the same in both. Written by the controller only. | Enum: [v1 v2] Optional: {} | |
stagingDigest string | StagingDigest is a digest of where the last export staged the object — the staging backend and its non-secret options, and the target Provider (namespace, name, UID) that will delete it — recorded by the controller when the export is sent. The staged-disk delete is sent only while the migration's current spec still yields this digest: after spec.storage or spec.target.providerRef changed, the object is recorded as left behind instead of being looked for somewhere else. It carries no location. Written by the controller only. | MaxLength: 80 Optional: {} | |
importTarget MigrationImportTarget | ImportTarget is the VirtualMachine a migration's ImportDisk was sent for, recorded by the controller just before the import is sent (for every storage backend). The staged-disk delete and the landed-disk delete name only this VM, never the current spec.target (which may have been edited since), so a target provider removes only the copy it landed for that VM. Written by the controller only. | Optional: {} |
MigrationTarget¶
MigrationTarget defines the target provider and VM configuration
Appears in: - VMMigrationSpec
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the name for the target VM | MaxLength: 253 Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ | |
namespace string | Namespace is the namespace for the target VM (defaults to the VMMigration's namespace, which is also the source VM's). A different namespace is allowed only when that Namespace object carries the annotation infra.virtrigaud.io/allowed-source-namespaces and its comma-separated value lists the VMMigration's namespace (exact names, no wildcards). Whoever can update the target Namespace can grant this (normally a cluster administrator, since Namespaces are cluster-scoped). A granted migration's disk is not attached in place: the target VM treats it as a base image. Without the grant the migration is held before any side effect (Ready=False, reason TargetNamespaceNotAllowed); the grant is re-checked before the disk import, the target VM creation and the cleanup, so revoking it stops a migration in flight. Granting the annotation or changing this field resumes it. | MaxLength: 63 Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ Optional: {} | |
providerRef ObjectRef | ProviderRef references the target provider | ||
classRef LocalObjectReference | ClassRef references the VMClass (in the VMMigration's namespace) of the target VirtualMachine. It becomes the target VM's spec.classRef. The target VirtualMachine requires a class, so set it. | Optional: {} | |
imageRef LocalObjectReference | ImageRef references the VM image. Accepted but not acted on in this release: the target VM is created from the migrated disk, not from an image. | Optional: {} | |
networks VMNetworkRef array | Networks defines network configuration for target VM. Copied to the target VirtualMachine's spec.networks. | MaxItems: 10 Optional: {} | |
disks DiskSpec array | Disks defines disk configuration overrides. Accepted but not acted on in this release: the target VirtualMachine gets only the migrated disk. | MaxItems: 20 Optional: {} | |
placementRef LocalObjectReference | PlacementRef references the VMPlacementPolicy for the target VM. Copied to the target VirtualMachine's spec.placementRef. | Optional: {} | |
powerOn boolean | PowerOn indicates whether the target VM's desired power state is On (true) or Off (false, the default) once it is created. | false | Optional: {} |
labels object (keys:string, values:string) | Labels defines labels to apply to the target VM. The label virtrigaud.io/adopted is reserved for the manager and is not copied (a Normal event, TargetLabelsDropped, names it); every other label is. | MaxProperties: 50 Optional: {} | |
annotations object (keys:string, values:string) | Annotations defines annotations to apply to the target VM. Keys in the operator's reserved virtrigaud.io domain (virtrigaud.io/... and *.virtrigaud.io/...), such as virtrigaud.io/orphan-on-delete or the provenance annotations, are not copied; the controller sets its own provenance annotations. | MaxProperties: 50 Optional: {} |
NFSStorageConfig¶
NFSStorageConfig defines NFS-based staging configuration used to stage a migration's transferred disk.
Appears in: - MigrationStorage
| Field | Description | Default | Validation |
|---|---|---|---|
server string | Server is the NFS server hostname or IP exporting the share. The host is checked by the controller before it is used, as for the S3 endpoint. | MaxLength: 253 | |
export string | Export is the exported NFS path on the server (e.g. "/exports/migrations"). | MaxLength: 4096 | |
path string | Path is an optional sub-path within the export for this migration's data. | MaxLength: 4096 Optional: {} | |
readOnly boolean | ReadOnly mounts the export read-only. Accepted but not acted on in this release: it is not sent to the providers, and staging needs a writable export. | false | Optional: {} |
uid integer | UID is the AUTH_SYS user ID presented to the NFS server. The export's squash policy is the real authorization boundary; this lets an operator align the client identity with the export. 0 (root) is refused. Unset = the data-plane process identity (the provider pod or SSH user). | Maximum: 4.294967295e+09 Minimum: 0 Optional: {} | |
gid integer | GID is the AUTH_SYS group ID presented to the NFS server. 0 (root) is refused. Unset = the data-plane process identity. | Maximum: 4.294967295e+09 Minimum: 0 Optional: {} |
NetworkAttachmentPhase¶
Underlying type: string
NetworkAttachmentPhase represents the phase of network attachment. No controller sets it in this release.
Validation: - Enum: [Pending Configuring Ready Failed]
Appears in: - VMNetworkAttachmentStatus
| Field | Description |
|---|---|
Pending | NetworkAttachmentPhasePending indicates the network is being prepared |
Configuring | NetworkAttachmentPhaseConfiguring indicates the network is being configured |
Ready | NetworkAttachmentPhaseReady indicates the network is ready |
Failed | NetworkAttachmentPhaseFailed indicates the network configuration failed |
NetworkConfig¶
NetworkConfig holds the per-hypervisor network settings. The manager reads only the block that matches the type of the VM's Provider.
Appears in: - VMNetworkAttachmentSpec
| Field | Description | Default | Validation |
|---|---|---|---|
vsphere VSphereNetworkConfig | VSphere contains the settings used when the VM's Provider is a vSphere Provider. Only portgroup is acted on. | Optional: {} | |
libvirt LibvirtNetworkConfig | Libvirt contains the settings used when the VM's Provider is a libvirt Provider. Only networkName, bridge.name and model are acted on. | Optional: {} | |
proxmox ProxmoxNetworkConfig | Proxmox contains the settings used when the VM's Provider is a Proxmox VE Provider. Only bridge, model and vlanTag are acted on. | Optional: {} | |
type NetworkType | Type specifies the network type. Accepted but not acted on in this release. The network a VM joins is set by the provider block (portgroup, networkName or bridge). | bridged | Enum: [bridged nat isolated host-only external] Optional: {} |
mtu integer | MTU specifies the Maximum Transmission Unit. Accepted but not acted on in this release (nor is proxmox.mtu). | 1500 | Maximum: 9000 Minimum: 68 Optional: {} |
NetworkCustomization¶
NetworkCustomization defines network-specific customization. Accepted but not acted on in this release.
Appears in: - VMCustomization
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name identifies the network to customize. Accepted but not acted on in this release. | MaxLength: 255 | |
ipAddress string | IPAddress sets a static IP address. Accepted but not acted on in this release. | Pattern: ^((25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)\.)\{3\}(25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)$ Optional: {} | |
subnetMask string | SubnetMask sets the subnet mask. Accepted but not acted on in this release. | Pattern: ^((25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)\.)\{3\}(25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)$ Optional: {} | |
gateway string | Gateway sets the network gateway. Accepted but not acted on in this release. | Pattern: ^((25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)\.)\{3\}(25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)$ Optional: {} | |
dns string array | DNS sets DNS servers. Accepted but not acted on in this release. | MaxItems: 5 Optional: {} | |
macAddress string | MACAddress sets a custom MAC address. Accepted but not acted on in this release. | Pattern: ^([0-9A-Fa-f]\{2\}[:-])\{5\}([0-9A-Fa-f]\{2\})$ Optional: {} | |
dhcp boolean | DHCP enables DHCP for this network. Accepted but not acted on in this release. | Optional: {} |
NetworkDriverConfig¶
NetworkDriverConfig defines network driver configuration. Accepted but not acted on in this release.
Appears in: - LibvirtNetworkConfig
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the driver name. Accepted but not acted on in this release. | Enum: [kvm vfio uio] Optional: {} | |
queues integer | Queues specifies the number of queues. Accepted but not acted on in this release. | Maximum: 16 Minimum: 1 Optional: {} | |
txMode string | TxMode specifies the TX mode. Accepted but not acted on in this release. | Enum: [iothread timer] Optional: {} | |
ioEventFD boolean | IOEventFD enables IO event file descriptor. Accepted but not acted on in this release. | Optional: {} | |
eventIDX boolean | EventIDX enables event index. Accepted but not acted on in this release. | Optional: {} |
NetworkEncryptionConfig¶
NetworkEncryptionConfig defines network encryption settings. Accepted but not acted on in this release.
Appears in: - NetworkSecurityConfig
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled indicates if encryption is enabled. Accepted but not acted on in this release. | false | Optional: {} |
protocol string | Protocol specifies the encryption protocol. Accepted but not acted on in this release. | Enum: [ipsec wireguard openvpn] Optional: {} | |
keyRef LocalObjectReference | KeyRef references encryption keys. Accepted but not acted on in this release. | Optional: {} |
NetworkFilterRef¶
NetworkFilterRef references a network filter. Accepted but not acted on in this release.
Appears in: - LibvirtNetworkConfig
| Field | Description | Default | Validation |
|---|---|---|---|
filter string | Filter is the filter name. Accepted but not acted on in this release. | MaxLength: 255 | |
parameters object (keys:string, values:string) | Parameters contains filter parameters. Accepted but not acted on in this release. | MaxProperties: 20 Optional: {} |
NetworkIsolationConfig¶
NetworkIsolationConfig defines network isolation settings. Accepted but not acted on in this release.
Appears in: - NetworkSecurityConfig
| Field | Description | Default | Validation |
|---|---|---|---|
mode string | Mode specifies the isolation mode. Accepted but not acted on in this release. | Enum: [none strict custom] Optional: {} | |
allowedNetworks string array | AllowedNetworks contains allowed network CIDRs. Accepted but not acted on in this release. | MaxItems: 50 Optional: {} | |
deniedNetworks string array | DeniedNetworks contains denied network CIDRs. Accepted but not acted on in this release. | MaxItems: 50 Optional: {} |
NetworkMetadata¶
NetworkMetadata contains network metadata and labels. Accepted but not acted on in this release.
Appears in: - VMNetworkAttachmentSpec
| Field | Description | Default | Validation |
|---|---|---|---|
displayName string | DisplayName is a human-readable name. Accepted but not acted on in this release. | MaxLength: 255 Optional: {} | |
description string | Description provides a description. Accepted but not acted on in this release. | MaxLength: 1024 Optional: {} | |
environment string | Environment specifies the environment (dev, staging, prod, qa, uat). Accepted but not acted on in this release. | Enum: [dev staging prod test qa uat] Optional: {} | |
tags object (keys:string, values:string) | Tags are key-value pairs for categorizing. Accepted but not acted on in this release. | MaxProperties: 50 Optional: {} |
NetworkQoSConfig¶
NetworkQoSConfig defines Quality of Service settings. Accepted but not acted on in this release.
Appears in: - VMNetworkAttachmentSpec
| Field | Description | Default | Validation |
|---|---|---|---|
ingressLimit integer | IngressLimit limits inbound traffic in bits per second. Accepted but not acted on in this release. | Minimum: 1000 Optional: {} | |
egressLimit integer | EgressLimit limits outbound traffic in bits per second. Accepted but not acted on in this release. | Minimum: 1000 Optional: {} | |
priority integer | Priority specifies traffic priority. Accepted but not acted on in this release. | Maximum: 7 Minimum: 0 Optional: {} | |
dscp integer | DSCP specifies DSCP marking. Accepted but not acted on in this release. | Maximum: 63 Minimum: 0 Optional: {} |
NetworkSecurityConfig¶
NetworkSecurityConfig defines network security settings. Accepted but not acted on in this release.
Appears in: - VMNetworkAttachmentSpec
| Field | Description | Default | Validation |
|---|---|---|---|
firewall FirewallConfig | Firewall contains firewall configuration. Accepted but not acted on in this release. | Optional: {} | |
isolation NetworkIsolationConfig | Isolation contains network isolation settings. Accepted but not acted on in this release. | Optional: {} | |
encryption NetworkEncryptionConfig | Encryption contains network encryption settings. Accepted but not acted on in this release. | Optional: {} |
NetworkType¶
Underlying type: string
NetworkType represents the type of network. Accepted but not acted on in this release.
Validation: - Enum: [bridged nat isolated host-only external]
Appears in: - NetworkConfig
| Field | Description |
|---|---|
bridged | NetworkTypeBridged indicates a bridged network |
nat | NetworkTypeNAT indicates a NAT network |
isolated | NetworkTypeIsolated indicates an isolated network |
host-only | NetworkTypeHostOnly indicates a host-only network |
external | NetworkTypeExternal indicates an external network |
NetworkUsageStats¶
NetworkUsageStats represents network usage statistics
Appears in: - ProviderResourceUsage
| Field | Description | Default | Validation |
|---|---|---|---|
bytesReceived integer | BytesReceived is the total bytes received | Optional: {} | |
bytesSent integer | BytesSent is the total bytes sent | Optional: {} | |
packetsReceived integer | PacketsReceived is the total packets received | Optional: {} | |
packetsSent integer | PacketsSent is the total packets sent | Optional: {} |
OSDistribution¶
OSDistribution contains OS distribution information. Descriptive: no controller or provider reads any field of it.
Appears in: - VMImageSpec
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the OS distribution name. Descriptive: no controller reads it. | Enum: [ubuntu centos rhel fedora debian suse windows freebsd coreos other] Optional: {} | |
version string | Version is the distribution version. Descriptive: no controller reads it. | MaxLength: 100 Optional: {} | |
variant string | Variant is the distribution variant (e.g., server, desktop). Descriptive: no controller reads it. | MaxLength: 100 Optional: {} | |
family string | Family is the OS family. Descriptive: no controller reads it. | Enum: [linux windows bsd other] Optional: {} | |
kernel KernelInfo | Kernel specifies kernel information. Descriptive: no controller reads it. | Optional: {} |
ObjectRef¶
ObjectRef represents a reference to another object
Appears in: - CloneSource - MigrationSource - MigrationTarget - ProviderSpec - S3StorageConfig - VMCloneTarget - VMNetworkRef - VirtualMachineSpec
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name of the referenced object | MaxLength: 253 Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ | |
namespace string | Namespace of the referenced object (defaults to current namespace) | MaxLength: 63 Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ Optional: {} |
ObservedPowerState¶
Underlying type: string
ObservedPowerState is a VM's power state as its provider reports it (status.powerState). It is a superset of PowerState: a desired state is only ever On, Off or OffGraceful, but an observed one can also be Suspended or Unknown. OffGraceful stays valid so a status written by an older manager still validates.
Validation: - Enum: [On Off OffGraceful Suspended Unknown]
Appears in: - VirtualMachineStatus
| Field | Description |
|---|---|
On | ObservedPowerStateOn is a running VM. |
Off | ObservedPowerStateOff is a powered-off VM. |
Suspended | ObservedPowerStateSuspended is a VM that is paused or suspended to RAM: still active on its host (it resumes at the size it has), not powered off. |
Unknown | ObservedPowerStateUnknown is a VM whose provider reports a state it cannot classify. |
OvercommitRatios¶
OvercommitRatios are the CPU and memory overcommit ratios applied when computing a pool's allocatable capacity. Ratios are expressed as decimal strings (e.g. "4.0") to keep floating-point values out of the API surface.
Appears in: - HostPoolSpec
| Field | Description | Default | Validation |
|---|---|---|---|
cpu string | CPU is the vCPU overcommit ratio (e.g. "4.0" = up to 4 vCPU per physical core). Empty means no CPU overcommit ("1.0"). | Optional: {} | |
memory string | Memory is the memory overcommit ratio (e.g. "1.0" = no memory overcommit). Empty means no memory overcommit ("1.0"). | Optional: {} |
PVCStorageConfig¶
PVCStorageConfig defines PVC storage configuration
Appears in: - MigrationStorage
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name of an existing PVC, in the VMMigration's namespace, to use for migration storage. The PVC must carry the label virtrigaud.io/component=migration-storage, which is how its owner agrees to its use; the controller refuses an unlabelled PVC. If not specified, the controller creates a labelled PVC for the migration and deletes it with the VMMigration (a PVC named here is left for its owner). | Optional: {} | |
storageClassName string | StorageClassName for auto-created PVC Required if Name is not specified | Optional: {} | |
size string | Size for auto-created PVC (e.g., "100Gi") Required if Name is not specified | Pattern: ^[0-9]+(\.[0-9]+)?(Ei?\|Pi?\|Ti?\|Gi?\|Mi?\|Ki?)$ Optional: {} | |
accessMode string | AccessMode for auto-created PVC | ReadWriteMany | Enum: [ReadWriteOnce ReadWriteMany ReadOnlyMany] Optional: {} |
mountPath string | MountPath within pods where PVC is mounted. Accepted but not acted on in this release: provider pods always mount the PVC at /mnt/migration-storage/ | /mnt/migration-storage | Optional: {} |
PasswordSpec¶
PasswordSpec defines password configuration. Accepted but not acted on in this release.
Appears in: - DomainJoinSpec - SysprepCustomization
| Field | Description | Default | Validation |
|---|---|---|---|
value string | Value is the plaintext password (not recommended for production). Accepted but not acted on in this release. WARNING: a value set here is stored in plaintext in the VMClone (etcd, backups, anyone who can read the object). It is accepted but not acted on in this release and is not sent to the provider; do not put a real password here. | Optional: {} | |
secretRef LocalObjectReference | SecretRef references a secret containing the password. Accepted but not acted on in this release. | Optional: {} | |
secretKey string | SecretKey is the key in the secret containing the password. Accepted but not acted on in this release. | password | Optional: {} |
PerformanceProfile¶
PerformanceProfile defines performance-related settings. See VMClassSpec.PerformanceProfile for which fields are acted on.
Appears in: - VMClassSpec
| Field | Description | Default | Validation |
|---|---|---|---|
latencySensitivity string | LatencySensitivity configures latency sensitivity. Accepted but not acted on in this release. | normal | Enum: [low normal high] Optional: {} |
cpuHotAddEnabled boolean | CPUHotAddEnabled allows adding CPUs while the VM is running. libvirt provisions headroom for live vCPU growth; vSphere enables CPU hot-add, except when nestedVirtualization is also set (the combination is not supported there, and hot-add is skipped). Proxmox and mock ignore it. | false | Optional: {} |
memoryHotAddEnabled boolean | MemoryHotAddEnabled allows adding memory while the VM is running. libvirt provisions a memory ceiling above the initial memory for live growth; vSphere enables memory hot-add. On a clustered Provider the scheduler also reserves that headroom on the host. Proxmox and mock ignore it. | false | Optional: {} |
virtualizationBasedSecurity boolean | VirtualizationBasedSecurity enables VBS features. Only the vSphere provider acts on it; libvirt, Proxmox and mock ignore it. | false | Optional: {} |
nestedVirtualization boolean | NestedVirtualization enables nested virtualization. It is acted on by vSphere and libvirt; on libvirt the host CPU is passed through (host-passthrough), and the guest sees VT-x or AMD-V only when the host's kvm_intel or kvm_amd module has nesting enabled. Proxmox and mock ignore it. | false | Optional: {} |
hyperThreadingPolicy string | HyperThreadingPolicy controls hyperthreading usage. Accepted but not acted on in this release. | auto | Enum: [auto prefer avoid require] Optional: {} |
PersistentVolumeClaimRetentionPolicyType¶
Underlying type: string
PersistentVolumeClaimRetentionPolicyType defines the retention policy type. Accepted but not acted on in this release.
Validation: - Enum: [Retain Delete]
Appears in: - VMSetPersistentVolumeClaimRetentionPolicy
| Field | Description |
|---|---|
Retain | RetainPersistentVolumeClaimRetentionPolicyType retains PVCs |
Delete | DeletePersistentVolumeClaimRetentionPolicyType deletes PVCs |
PersistentVolumeClaimTemplate¶
PersistentVolumeClaimTemplate describes a PVC template for VMSet VMs. Accepted but not acted on in this release.
Appears in: - VMSetSpec
| Field | Description | Default | Validation |
|---|---|---|---|
metadata ObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | Optional: {} | |
spec PersistentVolumeClaimSpec | Spec is the desired characteristics of the volume. Accepted but not acted on in this release. |
Placement¶
Placement provides hints for VM placement. See VirtualMachineSpec.Placement for which fields are used.
Appears in: - VirtualMachineSpec
| Field | Description | Default | Validation |
|---|---|---|---|
cluster string | Cluster specifies the target cluster | Optional: {} | |
host string | Host specifies the target host. Accepted but not acted on in this release. | Optional: {} | |
datastore string | Datastore specifies the target datastore. Mutually exclusive with StoragePod; Datastore takes precedence if both are set. | Optional: {} | |
storagePod string | StoragePod specifies a vSphere Datastore Cluster (StoragePod) to use for automatic datastore selection. The provider will pick the datastore within the cluster that has the most free space. Ignored when Datastore is also set. | Optional: {} | |
folder string | Folder specifies the target folder | Optional: {} | |
resourcePool string | ResourcePool specifies the target resource pool. Accepted but not acted on in this release. | Optional: {} |
PlacementConstraints¶
PlacementConstraints defines placement constraints on Hosts. The scheduler acts on hosts, excludedHosts and nodeSelector, in hard or soft form; the other fields are accepted but not acted on in this release.
Appears in: - VMPlacementPolicySpec
| Field | Description | Default | Validation |
|---|---|---|---|
clusters string array | Clusters specifies allowed clusters for VM placement. Accepted but not acted on in this release. | MaxItems: 50 Optional: {} | |
datastores string array | Datastores specifies allowed datastores for VM placement. Accepted but not acted on in this release. | MaxItems: 100 Optional: {} | |
hosts string array | Hosts lists Hosts by resource name. In hard, only the listed Hosts are candidates. In soft, a listed Host ranks higher. | MaxItems: 200 Optional: {} | |
folders string array | Folders specifies allowed folders for VM placement. Accepted but not acted on in this release. | MaxItems: 50 Optional: {} | |
resourcePools string array | ResourcePools specifies allowed resource pools for VM placement. Accepted but not acted on in this release. | MaxItems: 100 Optional: {} | |
networks string array | Networks specifies allowed networks for VM placement. Accepted but not acted on in this release. | MaxItems: 50 Optional: {} | |
zones string array | Zones specifies allowed availability zones. Accepted but not acted on in this release. | MaxItems: 20 Optional: {} | |
regions string array | Regions specifies allowed regions. Accepted but not acted on in this release. | MaxItems: 20 Optional: {} | |
nodeSelector object (keys:string, values:string) | NodeSelector is a set of label key/value pairs matched against the labels in Host.spec.labels. In hard, a Host must carry every pair. In soft, a Host ranks higher for each pair it carries. | MaxProperties: 20 Optional: {} | |
tolerations VMToleration array | Tolerations specifies tolerations for node placement. Accepted but not acted on in this release. | MaxItems: 20 Optional: {} | |
excludedClusters string array | ExcludedClusters specifies clusters to exclude from placement. Accepted but not acted on in this release. | MaxItems: 50 Optional: {} | |
excludedHosts string array | ExcludedHosts lists Hosts by resource name. In hard, a listed Host is not a candidate. In soft, a listed Host ranks lower. | MaxItems: 200 Optional: {} | |
excludedDatastores string array | ExcludedDatastores specifies datastores to exclude from placement. Accepted but not acted on in this release. | MaxItems: 100 Optional: {} |
PlacementResources¶
PlacementResources is a CPU/memory size recorded by the clustered scheduler (status.placement.pendingResources and status.placement.resizeReservation).
Appears in: - PlacementStatus
| Field | Description | Default | Validation |
|---|---|---|---|
cpu integer | CPU is the number of vCPUs (at most the VMClass maximum, 128). | Maximum: 128 Minimum: 0 | |
memoryMiB integer | MemoryMiB is the memory in MiB (at most the VMClass maximum, 100 TiB). | Maximum: 1.048576e+08 Minimum: 0 |
PlacementStatistics¶
PlacementStatistics provides statistics about VM placements. Not populated in this release.
Appears in: - VMPlacementPolicyStatus
| Field | Description | Default | Validation |
|---|---|---|---|
totalPlacements integer | TotalPlacements is the total number of VM placements using this policy. Not populated in this release. | Optional: {} | |
successfulPlacements integer | SuccessfulPlacements is the number of successful placements. Not populated in this release. | Optional: {} | |
failedPlacements integer | FailedPlacements is the number of failed placements. Not populated in this release. | Optional: {} | |
averagePlacementTime Duration | AveragePlacementTime is the average time for VM placement. Not populated in this release. | Optional: {} | |
constraintViolations integer | ConstraintViolations is the number of constraint violations. Not populated in this release. | Optional: {} | |
lastPlacementTime Time | LastPlacementTime is when the last VM was placed using this policy. Not populated in this release. | Optional: {} | |
placementDistribution object (keys:string, values:integer) | PlacementDistribution shows how VMs are distributed across hosts/clusters. Not populated in this release. | Optional: {} |
PlacementStatus¶
PlacementStatus is the operator scheduler's binding for a VM on a clustered provider: the durable record of which HostPool host runs the VM, plus the decision trace. Host is written only after the provider confirms placement (create success), so it never claims a host the provider has not accepted the VM on; PendingHost records, separately, the host an unconfirmed Create is aimed at.
Appears in: - VirtualMachineStatus
| Field | Description | Default | Validation |
|---|---|---|---|
host string | Host is the Host (CR name) this VM is bound to run on — the durable placement record. Written only after the provider confirms. Every per-VM provider call for the VM is routed to this host. | Optional: {} | |
pendingHost string | PendingHost is the Host (CR name) an in-flight, not yet confirmed Create is aimed at. The operator writes it, with Pool, through a resourceVersion-checked status update BEFORE calling Create, so a retry after a lost write or a Create that ran past its deadline lands on the SAME host instead of being scheduled onto another one (which could leave a second domain of the same name behind). When Create succeeds it is moved into Host and cleared. It is used only to route the Create retry and the finalizer's owner-checked cleanup; it is never a binding. An administrator may clear it to release a VM whose pending host is gone for good (the operator never re-schedules such a VM on its own). | Optional: {} | |
excludedHosts string array | ExcludedHosts are Hosts (CR names) the scheduler must not choose for this VM. A Host is added when a Create on it was refused with a name conflict (ALREADY_EXISTS: a same-named domain this VM does not own is there), which proves this VM has no domain on it and that this attempt created nothing there (an earlier failed attempt may have left disk or cloud-init files, which no owner-checked cleanup could remove either); its pendingHost is then cleared and the VM is re-scheduled onto another Host. The list is bounded (the oldest entry is dropped when it is full) and is cleared when the VM is bound. If every candidate Host is excluded the VM stays unplaced (Placed=False/AllHostsExcluded) until an administrator resolves the name conflicts and clears this list. | MaxItems: 16 items:MaxLength: 253 Optional: {} | |
pendingResources PlacementResources | PendingResources is the size the scheduler admitted a pending Create at. The operator writes it with PendingHost, in the same checked status update, and clears it when the VM is bound or the pending host is released. While a create is pending, the VM counts at this size against its host's capacity, and a retry of the Create whose size has grown beyond it (its VMClass was changed in the meantime) is not sent. | Optional: {} | |
memoryCeilingMiB integer | MemoryCeilingMiB is the memory the VM's domain may reach on its host beyond its current allocation, recorded when its create was scheduled: the balloon maximum provisioned for a VMClass with memory hot-add (4× the initial memory), or 0 when none was provisioned. A guest can deflate its balloon up to it, so the clustered accounting counts the VM's memory at the larger of this and its current size. It is kept when the VM is bound. Unset means unknown (a VM scheduled by an older manager): the VMClass's hot-add setting is used until the VM's first Describe reports its domain's actual memory maximum, which is then recorded once. A recorded value is raised when the provider reports more, and lowered when it reports less (after a confirmed memory shrink). At most the VMClass memory maximum (100 TiB). | Maximum: 1.048576e+08 Minimum: 0 Optional: {} | |
resizeReservation PlacementResources | ResizeReservation is the footprint (vCPUs, and memory including any memory ceiling) a clustered resize of this VM was admitted at (ADR-0007 Addendum A, A5 durable resize reservation). The operator writes it through a resourceVersion-checked status update BEFORE it sends the Reconfigure, and the clustered accounting counts the VM at the larger of it and its applied size, per resource, for as long as it is set. It is never lowered while set, and it is cleared only once the VM's provider has confirmed the applied size and that size is recorded in currentResources and memoryCeilingMiB. Unset on single-host Providers and when no resize is outstanding. | Optional: {} | |
pool string | Pool is the HostPool the VM was scheduled into. | Optional: {} | |
lastScheduledTime Time | LastScheduledTime is when the scheduler last (re)bound this VM to Host. | Optional: {} | |
reason string | Reason records why this host was chosen — the scheduler's decision trace (e.g. the winning score or the constraint that narrowed the candidates). | Optional: {} |
PolicyConflict¶
PolicyConflict represents a conflict between policies. Not populated in this release.
Appears in: - VMPlacementPolicyStatus
| Field | Description | Default | Validation |
|---|---|---|---|
policyName string | PolicyName is the name of the conflicting policy. Not populated in this release. | ||
conflictType string | ConflictType describes the type of conflict. Not populated in this release. | Enum: [hard soft resource security affinity] | |
description string | Description provides details about the conflict. Not populated in this release. | Optional: {} | |
severity string | Severity indicates the severity of the conflict. Not populated in this release. | Enum: [low medium high critical] Optional: {} | |
resolutionSuggestion string | ResolutionSuggestion provides suggestions for resolving the conflict. Not populated in this release. | Optional: {} |
PolicyValidationResult¶
PolicyValidationResult represents a validation result for a provider. Not populated in this release.
Appears in: - VMPlacementPolicyStatus
| Field | Description | Default | Validation |
|---|---|---|---|
valid boolean | Valid indicates if the policy is valid for the provider. Not populated in this release. | ||
message string | Message provides details about the validation result. Not populated in this release. | Optional: {} | |
warnings string array | Warnings lists any validation warnings. Not populated in this release. | MaxItems: 20 Optional: {} | |
errors string array | Errors lists any validation errors. Not populated in this release. | MaxItems: 20 Optional: {} | |
supportedFeatures string array | SupportedFeatures lists features supported by the provider. Not populated in this release. | MaxItems: 50 Optional: {} | |
unsupportedFeatures string array | UnsupportedFeatures lists features not supported by the provider. Not populated in this release. | MaxItems: 50 Optional: {} | |
lastValidated Time | LastValidated is when this validation was last performed. Not populated in this release. | Optional: {} |
PoolMigrationPolicy¶
PoolMigrationPolicy is the default migration policy for VMs in a HostPool. The API records it, but no controller reads it in this release: there is no live migration between the hosts of a pool, so none of these fields has an effect.
Appears in: - HostPoolSpec
| Field | Description | Default | Validation |
|---|---|---|---|
defaultLive boolean | DefaultLive requests live (RAM-transfer) migration by default. When false, migrations tolerate downtime and may fall back to stage_copy. Defaults true. Accepted but not acted on in this release. | true | Optional: {} |
defaultStorageMode string | DefaultStorageMode selects the intra-cluster data path. Defaults to shared. Accepted but not acted on in this release. | shared | Enum: [shared block_all block_inc stage_copy] Optional: {} |
requireTLS boolean | RequireTLS would force QEMU-native --tls on the migration data path. Defaults false. Accepted but not acted on in this release. | false | Optional: {} |
bandwidthMbps integer | BandwidthMbps optionally caps migration bandwidth in Mbps. Accepted but not acted on in this release. | Minimum: 1 Optional: {} | |
maxDowntimeMs integer | MaxDowntimeMs optionally caps the tolerated switchover downtime in milliseconds. Accepted but not acted on in this release. | Minimum: 1 Optional: {} |
PoolNetworkRef¶
PoolNetworkRef names a network (bridge / VLAN / overlay) available in a HostPool. Per-host presence is asserted via Host.spec.labels. The list is descriptive in this release: no controller reads it.
Appears in: - HostPoolSpec
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the network name (e.g. the bridge name shared across the pool). A matching Host.spec.labels entry asserts per-host presence. | MaxLength: 253 MinLength: 1 |
PortRange¶
PortRange defines a port range. Accepted but not acted on in this release.
Appears in: - FirewallRule
| Field | Description | Default | Validation |
|---|---|---|---|
start integer | Start is the starting port. Accepted but not acted on in this release. | Maximum: 65535 Minimum: 1 | |
end integer | End is the ending port (optional, defaults to start). Accepted but not acted on in this release. | Maximum: 65535 Minimum: 1 Optional: {} |
PortgroupSecurityConfig¶
PortgroupSecurityConfig defines portgroup security settings. Accepted but not acted on in this release.
Appears in: - VSphereNetworkConfig
| Field | Description | Default | Validation |
|---|---|---|---|
allowPromiscuous boolean | AllowPromiscuous allows promiscuous mode. Accepted but not acted on in this release. | false | Optional: {} |
allowMACChanges boolean | AllowMACChanges allows MAC address changes. Accepted but not acted on in this release. | true | Optional: {} |
allowForgedTransmits boolean | AllowForgedTransmits allows forged transmits. Accepted but not acted on in this release. | true | Optional: {} |
PowerState¶
Underlying type: string
PowerState represents the desired power state of a VM
Validation: - Enum: [On Off OffGraceful]
Appears in: - VirtualMachineSpec
| Field | Description |
|---|---|
On | PowerStateOn indicates the VM should be powered on |
Off | PowerStateOff indicates the VM should be powered off |
OffGraceful | PowerStateOffGraceful indicates the VM should be gracefully shut down |
Provider¶
Provider is the Schema for the providers API
Appears in: - ProviderList
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | Provider | ||
metadata ObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
spec ProviderSpec | |||
status ProviderStatus |
ProviderAdoptionStatus¶
ProviderAdoptionStatus tracks VM adoption progress
Appears in: - ProviderStatus
| Field | Description | Default | Validation |
|---|---|---|---|
lastDiscoveryTime Time | LastDiscoveryTime is when VMs were last discovered | Optional: {} | |
discoveredVMs integer | DiscoveredVMs is the count of VMs found in provider | Optional: {} | |
adoptedVMs integer | AdoptedVMs is the count of VMs successfully adopted | Optional: {} | |
failedAdoptions integer | FailedAdoptions is the count of failed adoption attempts | Optional: {} | |
message string | Message provides details about adoption status | Optional: {} |
ProviderCapability¶
Underlying type: string
ProviderCapability represents a provider capability
Validation: - Enum: [VirtualMachines Snapshots Cloning LiveMigration ConsoleAccess DiskManagement NetworkManagement GPUPassthrough HighAvailability Backup Templates]
Appears in: - ProviderStatus
| Field | Description |
|---|---|
VirtualMachines | ProviderCapabilityVirtualMachines indicates basic VM management |
Snapshots | ProviderCapabilitySnapshots indicates snapshot support |
Cloning | ProviderCapabilityCloning indicates VM cloning support |
LiveMigration | ProviderCapabilityLiveMigration indicates live migration support |
ConsoleAccess | ProviderCapabilityConsoleAccess indicates console access support |
DiskManagement | ProviderCapabilityDiskManagement indicates disk management support |
NetworkManagement | ProviderCapabilityNetworkManagement indicates network management support |
GPUPassthrough | ProviderCapabilityGPUPassthrough indicates GPU passthrough support |
HighAvailability | ProviderCapabilityHighAvailability indicates HA support |
Backup | ProviderCapabilityBackup indicates backup support |
Templates | ProviderCapabilityTemplates indicates template management support |
ProviderDefaults¶
ProviderDefaults provides default settings for VMs
Appears in: - ProviderSpec
| Field | Description | Default | Validation |
|---|---|---|---|
datastore string | Datastore specifies the default datastore. Mutually exclusive with StoragePod; Datastore takes precedence if both are set. | MaxLength: 255 Optional: {} | |
storagePod string | StoragePod specifies a vSphere Datastore Cluster (StoragePod) used as the default for automatic datastore selection when no explicit Datastore is specified. | MaxLength: 255 Optional: {} | |
cluster string | Cluster specifies the default cluster | MaxLength: 255 Optional: {} | |
folder string | Folder specifies the default folder | MaxLength: 255 Optional: {} | |
resourcePool string | ResourcePool specifies the default resource pool | MaxLength: 255 Optional: {} | |
network string | Network specifies the default network | MaxLength: 255 Optional: {} |
ProviderHealthCheck¶
ProviderHealthCheck defines health checking configuration. Accepted but not acted on in this release.
Appears in: - ProviderSpec
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled indicates whether health checking is enabled. Defaults to true. Accepted but not acted on in this release. | true | Optional: {} |
interval Duration | Interval defines how often to check provider health | 30s | Optional: {} |
timeout Duration | Timeout defines the timeout for health checks | 10s | Optional: {} |
failureThreshold integer | FailureThreshold is the number of consecutive failures before marking unhealthy | 3 | Maximum: 10 Minimum: 1 Optional: {} |
successThreshold integer | SuccessThreshold is the number of consecutive successes before marking healthy | 1 | Maximum: 10 Minimum: 1 Optional: {} |
ProviderImageStatus¶
ProviderImageStatus is the prepare state of an image on one Provider (an entry of VMImageStatus.ProviderStatus).
Appears in: - VMImageStatus
| Field | Description | Default | Validation |
|---|---|---|---|
available boolean | Available indicates if the image is available on this provider | ||
providerUID string | ProviderUID is the UID of the Provider object this entry was recorded through. A VirtualMachine uses the entry only when it equals its Provider's current UID. An entry with another UID (the Provider was deleted and re-created under the same namespace and name) or with none (an entry from an earlier release) is re-validated: the idempotent prepare is issued again through the current Provider, which confirms (or re-creates) the prepared image, and its UID is recorded. When spec.prepare.onMissing forbids preparing (Fail, Wait), an available entry recorded through a previous object of the same Provider is accepted as is, with a warning, and the current UID recorded; an entry with no UID is never used and VM creates wait (reason ProviderUIDMissing) until this field is set. The prepare runs only before a VM is created, never for a VM that exists. | Optional: {} | |
taskRef string | TaskRef is the provider task of an in-flight asynchronous prepare on this Provider. It is polled only through this Provider, and only while ProviderUID is the Provider's current UID; it is cleared when the prepare completes. | Optional: {} | |
sourceDigest string | SourceDigest is the digest of the spec.source this entry was prepared for ("sha256:" and 64 lowercase hex digits), as confirmed by the provider's stamp on the prepared artifact. A VirtualMachine is created from the entry only while it equals the digest of the current spec.source; an entry without it (recorded by an earlier release) or with another digest is not used, and the image is prepared again for the current source when spec.prepare.onMissing allows it. | MaxLength: 71 Pattern: ^sha256:[0-9a-f]\{64\}$ Optional: {} | |
id string | ID is the provider-specific identifier of the prepared image (on vSphere, the template's absolute inventory path). | Optional: {} | |
path string | Path is the provider-specific location of the prepared image (on libvirt, the file in the storage pool). | Optional: {} | |
size Quantity | Size is the image size on this provider. Not populated in this release. | Optional: {} | |
lastUpdated Time | LastUpdated is when this entry was last updated | Optional: {} | |
message string | Message provides provider-specific status information, for example why the image was held or refused on this Provider | Optional: {} |
ProviderList¶
ProviderList contains a list of Provider
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | ProviderList | ||
metadata ListMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
items Provider array |
ProviderNetworkStatus¶
ProviderNetworkStatus contains provider-specific network status. Not populated in this release.
Appears in: - VMNetworkAttachmentStatus
| Field | Description | Default | Validation |
|---|---|---|---|
available boolean | Available indicates if the network is available on this provider. Not populated in this release. | ||
id string | ID is the provider-specific network identifier. Not populated in this release. | Optional: {} | |
state string | State is the provider-specific network state. Not populated in this release. | Optional: {} | |
lastUpdated Time | LastUpdated is when the status was last updated. Not populated in this release. | Optional: {} | |
message string | Message provides provider-specific status information. Not populated in this release. | Optional: {} |
ProviderResourceUsage¶
ProviderResourceUsage provides resource usage statistics
Appears in: - ProviderStatus
| Field | Description | Default | Validation |
|---|---|---|---|
cpu ResourceUsageStats | CPU usage statistics | Optional: {} | |
memory ResourceUsageStats | Memory usage statistics | Optional: {} | |
storage ResourceUsageStats | Storage usage statistics | Optional: {} | |
network NetworkUsageStats | Network usage statistics | Optional: {} |
ProviderRuntimeMode¶
Underlying type: string
ProviderRuntimeMode specifies how the provider is executed
Validation: - Enum: [Remote]
Appears in: - ProviderRuntimeSpec - ProviderRuntimeStatus
| Field | Description |
|---|---|
Remote | RuntimeModeRemote runs the provider as a separate deployment |
ProviderRuntimePhase¶
Underlying type: string
ProviderRuntimePhase represents the phase of provider runtime
Validation: - Enum: [Pending Starting Running Stopping Failed]
Appears in: - ProviderRuntimeStatus
| Field | Description |
|---|---|
Pending | ProviderRuntimePhasePending indicates the runtime is being prepared |
Starting | ProviderRuntimePhaseStarting indicates the runtime is starting |
Running | ProviderRuntimePhaseRunning indicates the runtime is operational |
Stopping | ProviderRuntimePhaseStopping indicates the runtime is stopping |
Failed | ProviderRuntimePhaseFailed indicates the runtime has failed |
ProviderRuntimeSpec¶
ProviderRuntimeSpec defines the runtime configuration for providers
Appears in: - ProviderSpec
| Field | Description | Default | Validation |
|---|---|---|---|
mode ProviderRuntimeMode | Mode specifies the runtime mode (always Remote) | Remote | Enum: [Remote] Optional: {} |
image string | Image is the container image for remote providers (required) Supports formats: image:tag, image@digest, or image:tag@digest | Pattern: ^[a-zA-Z0-9._/-]+(:[a-zA-Z0-9._-]+)?(@[a-zA-Z0-9]+:[a-fA-F0-9]\{64\})?$ | |
imagePullPolicy PullPolicy | ImagePullPolicy defines the image pull policy | IfNotPresent | Enum: [Always Never IfNotPresent] Optional: {} |
imagePullSecrets LocalObjectReference array | ImagePullSecrets are references to secrets for pulling images. Accepted but not acted on in this release: the manager does not add them to the provider pod. | MaxItems: 10 Optional: {} | |
replicas integer | Replicas is the number of provider instances (default 1). A clustered Provider (topology: cluster) and a vSphere Provider always run one replica, replaced with the Recreate strategy; for them a larger value is ignored. | 1 | Maximum: 10 Minimum: 1 Optional: {} |
service ProviderServiceSpec | Service defines the service configuration | Optional: {} | |
resources ResourceRequirements | Resources defines resource requirements for provider pods | Optional: {} | |
nodeSelector object (keys:string, values:string) | NodeSelector is a selector which must be true for the pod to fit on a node | Optional: {} | |
tolerations Toleration array | Tolerations allow pods to schedule onto nodes with matching taints | MaxItems: 20 Optional: {} | |
affinity Affinity | Affinity defines scheduling constraints | Optional: {} | |
securityContext SecurityContext | SecurityContext defines security context for provider pods | Optional: {} | |
logLevel string | LogLevel sets the log level for provider pods Defaults to the controller's log level if not specified | info | Enum: [debug info warn error] Optional: {} |
logFormat string | LogFormat sets the log format for provider pods | text | Enum: [text json] Optional: {} |
env EnvVar array | Env defines additional environment variables for provider pods | MaxItems: 50 Optional: {} | |
livenessProbe Probe | LivenessProbe defines the liveness probe for provider pods. Accepted but not acted on in this release: the manager always uses its built-in probe (HTTP GET /healthz on port 8080). | Optional: {} | |
readinessProbe Probe | ReadinessProbe defines the readiness probe for provider pods. Accepted but not acted on in this release: the manager always uses its built-in probe (HTTP GET /healthz on port 8080). | Optional: {} |
ProviderRuntimeStatus¶
ProviderRuntimeStatus defines the runtime status for providers
Appears in: - ProviderStatus
| Field | Description | Default | Validation |
|---|---|---|---|
mode ProviderRuntimeMode | Mode indicates the current runtime mode | Enum: [Remote] Optional: {} | |
endpoint string | Endpoint is the gRPC endpoint (host:port) for remote providers | Optional: {} | |
serviceRef LocalObjectReference | ServiceRef references the Kubernetes service for remote providers | Optional: {} | |
phase ProviderRuntimePhase | Phase indicates the runtime phase | Enum: [Pending Starting Running Stopping Failed] Optional: {} | |
message string | Message provides additional details about the runtime status | Optional: {} | |
readyReplicas integer | ReadyReplicas is the number of ready provider replicas. Not populated in this release; see the provider Deployment's status instead. | Optional: {} | |
availableReplicas integer | AvailableReplicas is the number of available provider replicas. Not populated in this release; see the provider Deployment's status instead. | Optional: {} |
ProviderServiceSpec¶
ProviderServiceSpec defines the service configuration for remote providers
Appears in: - ProviderRuntimeSpec
| Field | Description | Default | Validation |
|---|---|---|---|
port integer | Port is the gRPC service port | 9443 | Maximum: 65535 Minimum: 1024 Optional: {} |
tls ProviderTLSSpec | TLS defines TLS configuration for the service. Leaving it unset is not an implicit plaintext choice: a Provider without a tls block is not deployed (condition TLSConfigured=False, reason TLSBlockMissing). Set tls.enabled to false to opt out of TLS explicitly. | Optional: {} |
ProviderSnapshotStatus¶
ProviderSnapshotStatus contains provider-specific snapshot status. Not populated in this release.
Appears in: - VMSnapshotStatus
| Field | Description | Default | Validation |
|---|---|---|---|
available boolean | Available indicates if the snapshot is available on this provider | ||
id string | ID is the provider-specific snapshot identifier | Optional: {} | |
path string | Path is the provider-specific snapshot path | Optional: {} | |
state string | State is the provider-specific snapshot state | Optional: {} | |
lastUpdated Time | LastUpdated is when the status was last updated | Optional: {} | |
message string | Message provides provider-specific status information | Optional: {} |
ProviderSpec¶
ProviderSpec defines the desired state of Provider
Appears in: - Provider
| Field | Description | Default | Validation |
|---|---|---|---|
type ProviderType | Type specifies the provider type. Type is IMMUTABLE once set: the controllers decide type-specific safety rules from it (for example, a libvirt linked clone into another namespace is refused), and the VMs a Provider manages were created by, and are addressed with, the provider implementation of this type. To change it, create a new Provider. | Enum: [vsphere libvirt firecracker qemu proxmox] | |
topology string | Topology selects the provider's deployment topology: - "single" (default): one gRPC process bound to one host. There is no scheduler, no host inventory and no projected host Secret. - "cluster": the provider fronts N bare hosts registered as Host CRs under a HostPool. The operator owns inventory and placement, and renders the pool's Host CRs into a Secret mounted into the provider pod; the provider reads that mounted file, never the Kubernetes API. Only meaningful for hypervisors with no native cluster manager: the validating webhook accepts "cluster" for type libvirt only and rejects it for the other types. An empty value is defaulted to "single". Topology is IMMUTABLE once set: VMs record where they run (status.placement) under one topology, and every per-VM call is routed and owner-checked by it, so flipping it would send a placed VM's calls down the wrong path. To change it, create a new Provider. The apiserver compares the defaulted values, so an object created before this field existed (read back as "single") keeps accepting ordinary updates. | single | Enum: [single cluster] Optional: {} |
endpoint string | Endpoint is the URI of the hypervisor the provider manages: for vSphere the vCenter SDK URL (https://vcenter.example.com/sdk), for Proxmox the API URL (https://pve.example.com:8006), for libvirt a connection URI (qemu://, qemu+ssh://, qemu+tcp:// or qemu+tls://). The schema also accepts http(s)://, tcp:// and grpc:// URIs. The manager passes it to the provider pod as PROVIDER_ENDPOINT. For a clustered libvirt Provider (topology: cluster) the hosts are given by Host.spec.endpoint instead. | Pattern: ^((https?://[a-zA-Z0-9.-]+(:[0-9]+)?(/.*)?\|(tcp\|grpc)://[a-zA-Z0-9.-]+:[0-9]+(/.*)?)\|qemu(\+ssh\|\+tcp\|\+tls)?://([a-zA-Z0-9@.-]+(:[0-9]+)?)?(/.*))$ | |
credentialSecretRef ObjectRef | CredentialSecretRef references the Secret containing the credentials the provider uses to reach the hypervisor. The manager mounts it into the provider pod; the provider reads it from the mounted files. | ||
insecureSkipVerify boolean | InsecureSkipVerify makes the provider pod skip verification of the TLS certificate of the hypervisor management endpoint (vCenter for vSphere, the Proxmox VE API for Proxmox). The manager passes it to the provider pod as the TLS_INSECURE_SKIP_VERIFY environment variable, and only the vSphere and Proxmox providers read it; the libvirt provider ignores it (for libvirt SSH hosts see the LIBVIRT_INSECURE_SKIP_HOST_KEY_VERIFICATION environment variable). Defaults to false. It is not the same setting as spec.runtime.service.tls.insecureSkipVerify, which controls the manager's verification of the provider's own gRPC server certificate; setting one does not affect the other. It is an insecure escape hatch: with it set, a network attacker can impersonate the hypervisor endpoint and capture the credentials the provider sends to it. | false | Optional: {} |
defaults ProviderDefaults | Defaults provides default placement settings. Only the vSphere provider uses them, and only datastore, storagePod, cluster and folder are passed to it (as PROVIDER_DEFAULT_* environment variables); resourcePool and network are accepted but not acted on in this release. libvirt and Proxmox ignore this block. | Optional: {} | |
rateLimit RateLimit | RateLimit configures API rate limiting. Accepted but not acted on in this release. | Optional: {} | |
runtime ProviderRuntimeSpec | Runtime defines how the provider is executed (required) | ||
healthCheck ProviderHealthCheck | HealthCheck defines health checking configuration. Accepted but not acted on in this release: status.healthy follows the readiness of the provider Deployment, whatever these settings say. | Optional: {} | |
connectionPooling ConnectionPooling | ConnectionPooling defines connection pooling settings. Accepted but not acted on in this release. | Optional: {} | |
consumerNamespaceSelector LabelSelector | ConsumerNamespaceSelector selects the namespaces, other than this Provider's own, that may use it: VirtualMachines there may name it in spec.providerRef, and VMClones, VMMigrations and VMSnapshots there may act on VMs through it. A reference from the Provider's own namespace is always allowed. - unset (the default): only its own namespace may use it. - {} (an empty selector): every namespace may use it. - matchLabels / matchExpressions: the namespaces whose labels match. The kubernetes.io/metadata.name label names a namespace explicitly. A reference from a namespace it does not select is refused with Ready=False, reason ConsumerNotAllowed, and no provider call is made for it. The selector is matched against Namespace labels, so whoever can label a namespace can widen what that namespace may use (see docs/cross-namespace-references.md). The selector is operator-side policy: it is never sent to a provider. | Optional: {} |
ProviderStatus¶
ProviderStatus defines the observed state of Provider
Appears in: - Provider
| Field | Description | Default | Validation |
|---|---|---|---|
healthy boolean | Healthy is true while the provider Deployment reports a ready replica (the ProviderAvailable condition is True) and false when it reports none, as last observed from the Deployment: a reconcile that fails before it reaches the Deployment leaves it as it was. | Optional: {} | |
lastHealthCheck Time | LastHealthCheck is the time of the last reconcile that found the provider healthy. | Optional: {} | |
runtime ProviderRuntimeStatus | Runtime provides runtime status information | Optional: {} | |
conditions Condition array | Conditions represent the latest available observations | Optional: {} | |
observedGeneration integer | ObservedGeneration reflects the generation observed by the controller | Optional: {} | |
capabilities ProviderCapability array | Capabilities lists the provider's supported capabilities. Not populated in this release; see reportedCapabilities. | Enum: [VirtualMachines Snapshots Cloning LiveMigration ConsoleAccess DiskManagement NetworkManagement GPUPassthrough HighAvailability Backup Templates] Optional: {} | |
reportedCapabilities ReportedCapabilities | ReportedCapabilities is the provider's self-reported capability set, fetched from the provider GetCapabilities RPC. It reflects what the running provider advertises and is consumed by the manager to surface features and (when capability enforcement is enabled) to gate capability-dependent operations. It is read once a rollout of the provider runtime is complete, again after the old pods' termination grace period, and every 10 minutes while the provider is healthy and no pod of an older rollout is left. | Optional: {} | |
version string | Version reports the provider version. Not populated in this release. | Optional: {} | |
connectedVMs integer | ConnectedVMs is the number of VirtualMachines, in any namespace, whose spec.providerRef names this Provider. | Optional: {} | |
resourceUsage ProviderResourceUsage | ResourceUsage provides resource usage statistics. Not populated in this release. | Optional: {} | |
adoption ProviderAdoptionStatus | Adoption tracks VM adoption status | Optional: {} |
ProviderTLSSpec¶
ProviderTLSSpec defines TLS configuration for provider communication
Appears in: - ProviderServiceSpec
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled determines if TLS is enabled for the connection between the manager and the provider pod. Defaults to true. With true, secretRef is required: a Provider with tls.enabled=true and no secretRef is not deployed (condition TLSConfigured=False, reason SecretRefMissing). Setting it to false is an explicit opt-out that runs the provider gRPC server without TLS, recorded as TLSConfigured=False, reason ExplicitlyDisabled. | true | Optional: {} |
secretRef LocalObjectReference | SecretRef references a Secret in the Provider's namespace containing tls.crt, tls.key and ca.crt. The manager presents tls.crt/tls.key as its client certificate and verifies the provider's server certificate against ca.crt; the provider pod mounts the same Secret. | Optional: {} | |
insecureSkipVerify boolean | InsecureSkipVerify makes the manager skip verification of the provider's gRPC server certificate when it connects to the provider pod (the manager still presents its client certificate). It is read only by the manager, when it builds its TLS client config for this Provider from SecretRef, and only while tls.enabled is true. It does not change anything on the provider pod and has no effect on the connection from the provider to the hypervisor; that is the separate spec.insecureSkipVerify. Defaults to false. This is an insecure escape hatch for first bootstrap and labs: with it the manager cannot tell the real provider from an impostor, which defeats the server-authentication half of mutual TLS. The manager logs a warning each time it opens a new connection to the provider while this is true. | false | Optional: {} |
ProviderType¶
Underlying type: string
ProviderType represents the type of virtualization provider
Validation: - Enum: [vsphere libvirt firecracker qemu proxmox]
Appears in: - ProviderSpec
| Field | Description |
|---|---|
vsphere | ProviderTypeVSphere indicates a VMware vSphere provider |
libvirt | ProviderTypeLibvirt indicates a libvirt provider |
firecracker | ProviderTypeFirecracker names a Firecracker provider. The schema accepts it, but VirtRigaud ships no Firecracker provider implementation. |
qemu | ProviderTypeQEMU names a QEMU provider. The schema accepts it, but VirtRigaud ships no QEMU provider implementation. |
proxmox | ProviderTypeProxmox indicates a Proxmox VE provider |
ProxmoxImageSource¶
ProxmoxImageSource defines Proxmox VE-specific image configuration. It references a template that already exists on Proxmox VE; VirtRigaud does not import images into Proxmox in this release. Only templateID (or a templateName that is a VMID) is acted on; storage, node, format and fullClone are accepted but not acted on in this release.
Appears in: - ImageSource
| Field | Description | Default | Validation |
|---|---|---|---|
templateID integer | TemplateID specifies an existing Proxmox template VMID. A VM is cloned from it with a full clone. Nothing is prepared for this source. | Maximum: 9.99999999e+08 Minimum: 100 Optional: {} | |
templateName string | TemplateName specifies an existing Proxmox template. The clone is made by VMID only, so the value must be the template's VMID as a number; any other name makes the VM create fail with InvalidSpec. Use templateID. | MaxLength: 255 Optional: {} | |
storage string | Storage specifies the Proxmox storage for cloning, for example "local-lvm". Accepted but not acted on in this release. | MaxLength: 255 Optional: {} | |
node string | Node specifies the Proxmox node where the template exists. Accepted but not acted on in this release. | MaxLength: 255 Optional: {} | |
format string | Format specifies the disk format. Accepted but not acted on in this release. | qcow2 | Enum: [raw qcow2 vmdk] Optional: {} |
fullClone boolean | FullClone determines if this should be a full clone (default) or linked clone. Accepted but not acted on in this release: the provider always makes a full clone. | true | Optional: {} |
ProxmoxNetworkConfig¶
ProxmoxNetworkConfig defines Proxmox VE-specific network settings. bridge, model and vlanTag are acted on; firewall, rateLimit and mtu are accepted but not acted on in this release.
Appears in: - NetworkConfig
| Field | Description | Default | Validation |
|---|---|---|---|
bridge string | Bridge is the Linux bridge the NIC attaches to, for example vmbr0 or vmbr1. The CRD accepts names of the form vmbr Proxmox provider accepts any Linux bridge name. When it is empty a new VM gets vmbr0 and a VM cloned from a template keeps the template's bridge. | MaxLength: 15 Pattern: ^vmbr[0-9]+$ Optional: {} | |
model string | Model is the NIC model. It defaults to virtio. | virtio | Enum: [virtio e1000 rtl8139 vmxnet3] Optional: {} |
vlanTag integer | VLANTag is the VLAN tag set on the NIC. When bridge is also set, the NIC gets exactly this tag, or none when it is empty. | Maximum: 4094 Minimum: 1 Optional: {} | |
firewall boolean | Firewall enables the Proxmox firewall for this interface. Accepted but not acted on in this release. | false | Optional: {} |
rateLimit integer | RateLimit specifies the bandwidth limit in MB/s. Accepted but not acted on in this release. | Minimum: 1 Optional: {} | |
mtu integer | MTU specifies the Maximum Transmission Unit. Accepted but not acted on in this release. | Maximum: 65520 Minimum: 68 Optional: {} |
RateLimit¶
RateLimit configures API rate limiting. Accepted but not acted on in this release.
Appears in: - ProviderSpec
| Field | Description | Default | Validation |
|---|---|---|---|
qps integer | QPS specifies queries per second | 10 | Maximum: 1000 Minimum: 1 Optional: {} |
burst integer | Burst specifies the burst capacity | 20 | Maximum: 2000 Minimum: 1 Optional: {} |
RegistryImageSource¶
RegistryImageSource defines container registry image configuration. Accepted but not acted on in this release: no provider pulls from a registry, and none of its fields is read.
Appears in: - ImageSource
| Field | Description | Default | Validation |
|---|---|---|---|
image string | Image is the container image reference. Accepted but not acted on in this release. | Pattern: ^[a-zA-Z0-9._/-]+:[a-zA-Z0-9._-]+$ | |
pullSecretRef LocalObjectReference | PullSecretRef references a secret for pulling the image. Accepted but not acted on in this release: the Secret is never read. | Optional: {} | |
format ImageFormat | Format specifies the expected image format. Accepted but not acted on in this release. | qcow2 | Enum: [qcow2 raw vmdk vhd vhdx iso ova ovf] Optional: {} |
ReportedCapabilities¶
ReportedCapabilities mirrors the provider.v1 GetCapabilitiesResponse — the capability set a provider advertises at runtime via the GetCapabilities RPC. All fields are optional and default to the zero value when a provider does not advertise them.
Appears in: - ProviderStatus
| Field | Description | Default | Validation |
|---|---|---|---|
supportsReconfigureOnline boolean | SupportsReconfigureOnline reports online CPU/memory reconfigure support. | Optional: {} | |
supportsDiskExpansionOnline boolean | SupportsDiskExpansionOnline reports online disk expansion support. | Optional: {} | |
supportsSnapshots boolean | SupportsSnapshots reports VM snapshot support. | Optional: {} | |
supportsMemorySnapshots boolean | SupportsMemorySnapshots reports memory-inclusive snapshot support. | Optional: {} | |
supportsLinkedClones boolean | SupportsLinkedClones reports linked (copy-on-write) clone support. | Optional: {} | |
supportsImageImport boolean | SupportsImageImport reports image import/preparation support. | Optional: {} | |
supportedDiskTypes string array | SupportedDiskTypes lists supported disk formats. | Optional: {} | |
supportedNetworkTypes string array | SupportedNetworkTypes lists supported NIC models. | Optional: {} | |
supportsDiskExport boolean | SupportsDiskExport reports disk export (migration source) support. | Optional: {} | |
supportsDiskImport boolean | SupportsDiskImport reports disk import (migration target) support. | Optional: {} | |
supportedExportFormats string array | SupportedExportFormats lists supported export formats. | Optional: {} | |
supportedImportFormats string array | SupportedImportFormats lists supported import formats. | Optional: {} | |
supportsExportCompression boolean | SupportsExportCompression reports export compression support. | Optional: {} | |
supportedExportBackends string array | SupportedExportBackends lists the storage backends the provider can export disks to (e.g. "pvc", "nfs", "s3"). Empty/absent means pvc-only, the behavior of a provider that predates the other backends. | Optional: {} | |
supportedImportBackends string array | SupportedImportBackends lists the storage backends the provider can import disks from (e.g. "pvc", "nfs", "s3"). Empty/absent means pvc-only. | Optional: {} | |
supportedTransferModes string array | SupportedTransferModes lists the disk-transfer modes the provider supports (e.g. "relay", "direct"). Empty/absent means relay-only, the pod-side path through the provider pod. | Optional: {} | |
supportsImageArtifactIdentity boolean | SupportsImageArtifactIdentity reports that the provider's image prepare names, stamps and verifies each prepared-image artifact by the VMImage's UID and source digest, and never reuses an artifact by bare name. Import-style images are not prepared through a provider that supports image import but does not report this: VM creates wait until the provider is upgraded. | Optional: {} | |
supportsHonestReconfigure boolean | SupportsHonestReconfigure reports that the provider's Reconfigure never reports success for a change it did not apply: each change is applied to the running VM and its persistent definition, or to the definition only and reported as restart-required, or the call fails. A VM on a clustered Provider that does not report this is not resized (Reconfiguring=False/ProviderLacksHonestReconfigure): its committed-capacity accounting trusts the result. | Optional: {} |
ResourceConstraints¶
ResourceConstraints defines placement constraints on the resources and CPU features of a Host. The scheduler acts on minCPUPerHost, minMemoryPerHost, minDiskSpacePerHost, requiredFeatures and preferredFeatures. The utilization limits are accepted but not acted on in this release.
Appears in: - VMPlacementPolicySpec
| Field | Description | Default | Validation |
|---|---|---|---|
minCPUPerHost integer | MinCPUPerHost is the minimum number of CPUs a Host must have (Host.status.allocatableCPU, before overcommit). A Host below it is not a candidate. | Minimum: 1 Optional: {} | |
minMemoryPerHost Quantity | MinMemoryPerHost is the minimum memory a Host must have (Host.status.allocatableMemoryMiB, before overcommit). A Host below it is not a candidate. | Optional: {} | |
minDiskSpacePerHost Quantity | MinDiskSpacePerHost is the minimum allocatable storage a Host must report (Host.status.allocatableStorageBytes). A Host below it, or one that reports none, is not a candidate. | Optional: {} | |
maxCPUUtilization integer | MaxCPUUtilization specifies maximum allowed CPU utilization. Accepted but not acted on in this release. | Maximum: 100 Minimum: 0 Optional: {} | |
maxMemoryUtilization integer | MaxMemoryUtilization specifies maximum allowed memory utilization. Accepted but not acted on in this release. | Maximum: 100 Minimum: 0 Optional: {} | |
maxDiskUtilization integer | MaxDiskUtilization specifies maximum allowed disk utilization. Accepted but not acted on in this release. | Maximum: 100 Minimum: 0 Optional: {} | |
requiredFeatures string array | RequiredFeatures lists CPU features that a Host must report in Host.status.cpuFeatures. A Host that lacks one is not a candidate. | MaxItems: 20 Optional: {} | |
preferredFeatures string array | PreferredFeatures lists CPU features that rank a Host higher when it reports them in Host.status.cpuFeatures. | MaxItems: 20 Optional: {} |
ResourceUsageStats¶
ResourceUsageStats represents usage statistics for a resource
Appears in: - ProviderResourceUsage
| Field | Description | Default | Validation |
|---|---|---|---|
total integer | Total available capacity | Optional: {} | |
used integer | Used capacity | Optional: {} | |
available integer | Available capacity | Optional: {} | |
usagePercent integer | Usage percentage (0-100) | Optional: {} |
RollingUpdateVMSetStrategy¶
RollingUpdateVMSetStrategy defines parameters for rolling updates. Accepted but not acted on in this release.
Appears in: - VMSetUpdateStrategy
| Field | Description | Default | Validation |
|---|---|---|---|
maxUnavailable IntOrString | MaxUnavailable is the maximum number of VMs that can be unavailable during update. Accepted but not acted on in this release. | 25% | Optional: {} |
maxSurge IntOrString | MaxSurge is the maximum number of VMs that can be created above desired replica count. Accepted but not acted on in this release. | 25% | Optional: {} |
partition integer | Partition indicates the ordinal at which the VMSet should be partitioned for updates. Accepted but not acted on in this release. | Minimum: 0 Optional: {} | |
podManagementPolicy VMSetPodManagementPolicyType | PodManagementPolicy controls how VMs are created during initial scale up, when replacing VMs on nodes, or when scaling down. Accepted but not acted on in this release. | OrderedReady | Enum: [OrderedReady Parallel] Optional: {} |
S3StorageConfig¶
S3StorageConfig defines S3-compatible object-storage configuration used to stage a migration's transferred disk.
Appears in: - MigrationStorage
| Field | Description | Default | Validation |
|---|---|---|---|
bucket string | Bucket is the S3 bucket for the transfer object. | ||
endpoint string | Endpoint overrides the S3 endpoint (empty = AWS default; set for MinIO/Ceph RGW). The host is checked by the controller before it is used: loopback, link-local (including the 169.254.169.254 cloud-metadata address), unspecified and multicast addresses are refused, and the operator can restrict the allowed hosts further. | MaxLength: 263 Optional: {} | |
region string | Region is the S3 region for the bucket (empty = provider/SDK default). | Optional: {} | |
prefix string | Prefix is the key prefix for this migration's objects. | Optional: {} | |
credentialsSecretRef ObjectRef | CredentialsSecretRef references a Secret, in the VMMigration's namespace, holding the S3 credentials under the keys accessKeyID and secretAccessKey and, optionally, sessionToken. Credentials are never given inline. | ||
usePathStyle boolean | UsePathStyle selects path-style addressing (needed by most non-AWS S3). | false | Optional: {} |
SCSIControllerSpec¶
SCSIControllerSpec defines SCSI controller configuration for vSphere. Accepted but not acted on in this release.
Appears in: - DiskSpec
| Field | Description | Default | Validation |
|---|---|---|---|
controller integer | Controller specifies the SCSI controller bus number (0-3) If not specified, uses the first available controller | Maximum: 3 Minimum: 0 Optional: {} | |
sharedBus string | SharedBus specifies the SCSI bus sharing mode | noSharing | Enum: [noSharing virtualSharing physicalSharing] Optional: {} |
controllerType string | ControllerType specifies the SCSI controller type | pvscsi | Enum: [lsilogic buslogic lsilogic-sas pvscsi] Optional: {} |
SecurityConstraints¶
SecurityConstraints defines security-based placement constraints. Accepted but not acted on in this release.
Appears in: - VMPlacementPolicySpec
| Field | Description | Default | Validation |
|---|---|---|---|
requireSecureBoot boolean | RequireSecureBoot requires hosts that support secure boot. Accepted but not acted on in this release. | Optional: {} | |
requireTPM boolean | RequireTPM requires hosts that support TPM. Accepted but not acted on in this release. | Optional: {} | |
requireEncryptedStorage boolean | RequireEncryptedStorage requires hosts that support encrypted storage. Accepted but not acted on in this release. | Optional: {} | |
requireNUMATopology boolean | RequireNUMATopology requires hosts that support NUMA topology. Accepted but not acted on in this release. | Optional: {} | |
allowedSecurityGroups string array | AllowedSecurityGroups lists allowed security groups. Accepted but not acted on in this release. | MaxItems: 20 Optional: {} | |
deniedSecurityGroups string array | DeniedSecurityGroups lists denied security groups. Accepted but not acted on in this release. | MaxItems: 20 Optional: {} | |
isolationLevel string | IsolationLevel specifies the required isolation level. Accepted but not acted on in this release. | Enum: [none basic strict maximum] Optional: {} | |
trustLevel string | TrustLevel specifies the required trust level. Accepted but not acted on in this release. | Enum: [untrusted basic trusted highly-trusted] Optional: {} |
SecurityProfile¶
SecurityProfile defines security-related settings. See VMClassSpec.SecurityProfile for which fields are acted on.
Appears in: - VMClassSpec
| Field | Description | Default | Validation |
|---|---|---|---|
secureBoot boolean | SecureBoot enables secure boot. vSphere forces EFI firmware and enables secure boot; libvirt has libvirt select a Secure Boot OVMF build whose variable-store template has keys enrolled, with SMM, on the q35 machine type (the host needs an OVMF package; docs/libvirt-firmware.md). Proxmox and mock ignore it. | false | Optional: {} |
tpmEnabled boolean | TPMEnabled enables TPM (Trusted Platform Module). vSphere adds a virtual TPM and forces EFI firmware; libvirt adds an emulated TPM. Proxmox and mock ignore it. | false | Optional: {} |
tpmVersion string | TPMVersion specifies the TPM version. Accepted but not acted on in this release. libvirt always emulates TPM 2.0, and vSphere adds its virtual TPM, whatever is set here. | Enum: [1.2 2] Optional: {} | |
vtdEnabled boolean | VTDEnabled enables Intel VT-d or AMD-Vi. vSphere sets vvtd.enable; libvirt adds an emulated Intel IOMMU with interrupt remapping, which needs the q35 machine type (the virtio devices do not go through it). Proxmox and mock ignore it. | false | Optional: {} |
encryptionPolicy EncryptionPolicy | EncryptionPolicy defines VM encryption settings. Accepted but not acted on in this release. | Optional: {} |
SnapshotAction¶
SnapshotAction describes a snapshot operation
Appears in: - LifecycleHandler
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the name hint for the snapshot | ||
includeMemory boolean | IncludeMemory indicates whether to include memory state | Optional: {} | |
description string | Description provides context for the snapshot | Optional: {} |
SnapshotConfig¶
SnapshotConfig defines snapshot configuration options. Name, description and includeMemory are sent to the provider. The other fields (quiesce, type, compression, encryption, consistencyLevel) are accepted but not acted on in this release.
Appears in: - VMSnapshotSpec
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name provides a name hint for the snapshot. It defaults to the VMSnapshot's name. The provider may change it: the libvirt provider replaces characters other than letters, digits, "_", "." and "-" with "-" and truncates the name to 64 characters; the vSphere and Proxmox providers use it as given. The provider's own identifier for the snapshot is in status.snapshotID. | MaxLength: 255 Pattern: ^[a-zA-Z0-9]([a-zA-Z0-9\-_]*[a-zA-Z0-9])?$ Optional: {} | |
description string | Description is a free-text description stored with the snapshot by the vSphere, libvirt and Proxmox providers. | MaxLength: 1024 Optional: {} | |
includeMemory boolean | IncludeMemory indicates whether to include the VM's memory state in the snapshot. libvirt takes a memory snapshot of a running domain and falls back to a disk-only snapshot when the domain is not running; Proxmox saves the VM state; vSphere asks for the memory state whatever the power state and may refuse it for a powered-off VM. When the manager runs with --enforce-provider-capabilities and the Provider reports that it does not support memory snapshots, the VMSnapshot goes Failed with reason UnsupportedByProvider and no snapshot is attempted. | false | Optional: {} |
quiesce boolean | Quiesce indicates whether to quiesce the file system before snapshotting. Accepted but not acted on in this release: the setting is not sent to any provider. The vSphere provider never quiesces; the libvirt and Proxmox providers take the snapshot without a guest quiesce step. | true | Optional: {} |
type SnapshotType | Type specifies the snapshot type. Accepted but not acted on in this release. | Standard | Enum: [Standard Crash Application] Optional: {} |
compression boolean | Compression enables snapshot compression. Accepted but not acted on in this release. | false | Optional: {} |
encryption SnapshotEncryption | Encryption enables snapshot encryption. Accepted but not acted on in this release: no snapshot is encrypted, whatever this block says. | Optional: {} | |
consistencyLevel string | ConsistencyLevel defines the consistency level required. Accepted but not acted on in this release. | FilesystemConsistent | Enum: [CrashConsistent FilesystemConsistent ApplicationConsistent] Optional: {} |
SnapshotEncryption¶
SnapshotEncryption defines snapshot encryption settings. Accepted but not acted on in this release.
Appears in: - SnapshotConfig
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled indicates if encryption should be used. Accepted but not acted on in this release. | false | |
keyProvider string | KeyProvider specifies the encryption key provider. Accepted but not acted on in this release. | Enum: [standard hardware external] Optional: {} | |
keyRef LocalObjectReference | KeyRef references encryption keys. Accepted but not acted on in this release: the referenced object is never read. | Optional: {} |
SnapshotMetadata¶
SnapshotMetadata contains snapshot metadata. Accepted but not acted on in this release: no controller or provider reads any field of it. It is descriptive only.
Appears in: - VMSnapshotSpec
| Field | Description | Default | Validation |
|---|---|---|---|
tags object (keys:string, values:string) | Tags are key-value pairs for categorizing the snapshot. Descriptive: no controller reads them. | MaxProperties: 50 Optional: {} | |
pinned boolean | Pinned indicates whether the snapshot is pinned (protected from automatic deletion). Accepted but not acted on in this release: a pinned snapshot is still deleted by retentionPolicy.maxAge or deleteOnVMDelete. | false | Optional: {} |
application string | Application specifies the application that created the snapshot. Descriptive: no controller reads it. | MaxLength: 255 Optional: {} | |
purpose string | Purpose describes the purpose of the snapshot. Descriptive: no controller reads it. | Enum: [backup testing migration restore-point update other] Optional: {} | |
environment string | Environment specifies the environment the snapshot belongs to. Descriptive: no controller reads it. | Enum: [dev staging prod test qa uat] Optional: {} |
SnapshotPhase¶
Underlying type: string
SnapshotPhase represents the phase of a snapshot. The controller sets Creating, Ready, Failed and Deleting; Pending and Expired are never set in this release.
Validation: - Enum: [Pending Creating Ready Deleting Failed Expired]
Appears in: - VMSnapshotStatus
| Field | Description |
|---|---|
Pending | SnapshotPhasePending is never set in this release: a VMSnapshot whose create has not been issued yet has an empty phase |
Creating | SnapshotPhaseCreating indicates the snapshot is being created |
Ready | SnapshotPhaseReady indicates the snapshot is ready for use |
Deleting | SnapshotPhaseDeleting indicates the snapshot is being deleted |
Failed | SnapshotPhaseFailed indicates the snapshot operation failed |
Expired | SnapshotPhaseExpired is never set in this release: an expired snapshot is deleted, not marked |
SnapshotProgress¶
SnapshotProgress shows the snapshot creation progress. Not populated in this release.
Appears in: - VMSnapshotStatus
| Field | Description | Default | Validation |
|---|---|---|---|
totalBytes integer | TotalBytes is the total number of bytes to snapshot | Optional: {} | |
completedBytes integer | CompletedBytes is the number of bytes completed | Optional: {} | |
percentage integer | Percentage is the completion percentage (0-100) | Maximum: 100 Minimum: 0 Optional: {} | |
startTime Time | StartTime is when the snapshot creation started | Optional: {} | |
eta Duration | ETA is the estimated time to completion | Optional: {} |
SnapshotRef¶
SnapshotRef references a snapshot. It is used by status.parent and status.children, which are not populated in this release.
Appears in: - VMSnapshotStatus
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the snapshot name | ||
namespace string | Namespace is the snapshot namespace | Optional: {} | |
uid string | UID is the snapshot UID | Optional: {} |
SnapshotRetentionPolicy¶
SnapshotRetentionPolicy defines snapshot retention rules. The controller acts on maxAge and deleteOnVMDelete only, and only once the snapshot is Ready; it checks them about once an hour. When a rule applies it deletes the VMSnapshot, and the VMSnapshot's finalizer deletes the provider snapshot. maxCount, preservePinned and gracePeriod are accepted but not acted on in this release.
Appears in: - VMSnapshotSpec
| Field | Description | Default | Validation |
|---|---|---|---|
maxAge Duration | MaxAge is the maximum age of a Ready snapshot, counted from status.creationTime. Once the snapshot is older (checked about once an hour), the VMSnapshot is deleted, whatever the state of its VM. | Optional: {} | |
maxCount integer | MaxCount is the maximum number of snapshots to retain. Accepted but not acted on in this release: no snapshots are removed because of a count. | Maximum: 100 Minimum: 1 Optional: {} | |
deleteOnVMDelete boolean | DeleteOnVMDelete indicates whether to delete the snapshot when its VirtualMachine is deleted (or no longer exists, or exists only as another VM of the same name). It defaults to true when retentionPolicy is set. A VM deleted with the annotation virtrigaud.io/orphan-on-delete=true is left running on the hypervisor and its snapshots are not deleted with it. | true | Optional: {} |
preservePinned boolean | PreservePinned indicates whether to preserve pinned snapshots. Accepted but not acted on in this release (see also metadata.pinned). | true | Optional: {} |
gracePeriod Duration | GracePeriod is the grace period before deletion. Accepted but not acted on in this release: a snapshot is deleted as soon as maxAge or deleteOnVMDelete applies. | 24h | Optional: {} |
SnapshotRevertPhase¶
Underlying type: string
SnapshotRevertPhase is the phase of the revert spec.snapshot.revertToRef requests (status.snapshotRevert.phase).
Validation: - Enum: [Pending Reverting Succeeded Failed]
Appears in: - SnapshotRevertStatus
| Field | Description |
|---|---|
Pending | SnapshotRevertPhasePending: the revert is requested and not done: not sent yet, or sent and answered by the provider that it did not perform it (reason RevertNotPerformed: it is sent again after a backoff). The SnapshotReverted condition's reason says what it waits for. |
Reverting | SnapshotRevertPhaseReverting: the revert was sent (recorded before the call) and its outcome is not known yet. |
Succeeded | SnapshotRevertPhaseSucceeded: the provider confirmed the revert. |
Failed | SnapshotRevertPhaseFailed: the revert failed; it is not retried until spec.snapshot.revertToRef is removed and set again. |
SnapshotRevertStatus¶
SnapshotRevertStatus records the revert spec.snapshot.revertToRef requests (status.snapshotRevert). It is written only by the operator, and cleared when spec.snapshot.revertToRef is removed.
Appears in: - VirtualMachineStatus
| Field | Description | Default | Validation |
|---|---|---|---|
snapshotName string | SnapshotName is the VMSnapshot the revert is for (spec.snapshot. revertToRef.name when it was recorded). | MaxLength: 253 | |
snapshotUID string | SnapshotUID is the UID of that VMSnapshot. A VMSnapshot of the same name with another UID is a new request. Empty while the VMSnapshot was not found. | MaxLength: 128 Optional: {} | |
phase SnapshotRevertPhase | Phase is Pending, Reverting, Succeeded or Failed. | Enum: [Pending Reverting Succeeded Failed] | |
taskRef string | TaskRef is the provider task of a revert the provider runs asynchronously, polled until it completes. | MaxLength: 512 Optional: {} | |
attempts integer | Attempts counts the SnapshotRevert calls sent for this request since the provider last answered that it did not perform one: more than one only when an earlier call's outcome was not known (a lost answer, a deadline) and the call was sent again on the powered-off VM. | Minimum: 0 Optional: {} | |
requestedAt Time | RequestedAt is when the operator first recorded this request. | Optional: {} | |
attemptTime Time | AttemptTime is when the last SnapshotRevert call was recorded, just before it was sent. | Optional: {} | |
completionTime Time | CompletionTime is when the revert succeeded or failed. | Optional: {} | |
message string | Message says what the revert waits for, or how it ended. | MaxLength: 1024 Optional: {} |
SnapshotSchedule¶
SnapshotSchedule defines automated snapshot scheduling. Accepted but not acted on in this release: no controller reads any field of it and no snapshot is taken on a schedule.
Appears in: - VMSnapshotSpec
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled indicates if scheduled snapshots are enabled. Accepted but not acted on in this release. | false | |
cronSpec string | CronSpec defines the schedule in cron format. Accepted but not acted on in this release. | Pattern: ^(@(annually\|yearly\|monthly\|weekly\|daily\|hourly\|reboot))\|(@every (\d+(ns\|us\|µs\|ms\|s\|m\|h))+)\|((((\d+,)+\d+\|(\d+(\/\|-)\d+)\|\d+\|\*) ?)\{5,7\})$ Optional: {} | |
timezone string | Timezone specifies the timezone for the schedule. Accepted but not acted on in this release. | UTC | Optional: {} |
suspend boolean | Suspend indicates whether to suspend scheduled snapshots. Accepted but not acted on in this release. | false | Optional: {} |
concurrencyPolicy string | ConcurrencyPolicy specifies how to handle concurrent snapshot jobs. Accepted but not acted on in this release. | Forbid | Enum: [Allow Forbid Replace] Optional: {} |
successfulJobsHistoryLimit integer | SuccessfulJobsHistoryLimit limits retained successful jobs. Accepted but not acted on in this release. | 3 | Maximum: 100 Minimum: 0 Optional: {} |
failedJobsHistoryLimit integer | FailedJobsHistoryLimit limits retained failed jobs. Accepted but not acted on in this release. | 1 | Maximum: 100 Minimum: 0 Optional: {} |
SnapshotType¶
Underlying type: string
SnapshotType represents the type of snapshot. Accepted but not acted on in this release (see SnapshotConfig.Type).
Validation: - Enum: [Standard Crash Application]
Appears in: - SnapshotConfig
| Field | Description |
|---|---|
Standard | SnapshotTypeStandard is the default snapshot type |
Crash | SnapshotTypeCrash names a crash-consistent snapshot |
Application | SnapshotTypeApplication names an application-consistent snapshot |
StaticIPConfig¶
StaticIPConfig defines static IP configuration. Accepted but not acted on in this release.
Appears in: - IPAllocationConfig
| Field | Description | Default | Validation |
|---|---|---|---|
address string | Address is the static IP address (CIDR notation). Accepted but not acted on in this release. | Pattern: ^((25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)\.)\{3\}(25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)/([0-9]\|[1-2][0-9]\|3[0-2])$ | |
gateway string | Gateway is the default gateway. Accepted but not acted on in this release. | Pattern: ^((25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)\.)\{3\}(25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)$ Optional: {} | |
routes StaticRoute array | Routes contains static routes. Accepted but not acted on in this release. | MaxItems: 20 Optional: {} |
StaticRoute¶
StaticRoute defines a static route. Accepted but not acted on in this release.
Appears in: - StaticIPConfig
| Field | Description | Default | Validation |
|---|---|---|---|
destination string | Destination is the destination network (CIDR notation). Accepted but not acted on in this release. | Pattern: ^((25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)\.)\{3\}(25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)/([0-9]\|[1-2][0-9]\|3[0-2])$ | |
gateway string | Gateway is the route gateway. Accepted but not acted on in this release. | Pattern: ^((25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)\.)\{3\}(25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)$ | |
metric integer | Metric is the route metric. Accepted but not acted on in this release. | Maximum: 65535 Minimum: 0 Optional: {} |
StoragePoolRef¶
StoragePoolRef names a shared or local storage pool available in a HostPool. Per-host visibility is asserted via Host.spec.labels. VirtRigaud consumes pre-set-up storage; it does not deploy it. The list is descriptive in this release: no controller reads it.
Appears in: - HostPoolSpec
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the storage pool name (e.g. a libvirt pool name or an NFS export identifier). A matching Host.spec.labels entry asserts per-host visibility. | MaxLength: 253 MinLength: 1 |
StoragePrepareOptions¶
StoragePrepareOptions defines storage-specific preparation options. Accepted but not acted on in this release: no controller or provider reads any field of it.
Appears in: - ImagePrepare
| Field | Description | Default | Validation |
|---|---|---|---|
vsphere VSphereStorageOptions | VSphere storage options. Accepted but not acted on in this release. | Optional: {} | |
libvirt LibvirtStorageOptions | Libvirt storage options. Accepted but not acted on in this release. | Optional: {} | |
preferredFormat ImageFormat | PreferredFormat specifies the preferred target format. Accepted but not acted on in this release. | Enum: [qcow2 raw vmdk vhd vhdx iso ova ovf] Optional: {} | |
compression boolean | Compression enables compression during import. Accepted but not acted on in this release. | false | Optional: {} |
SysprepCustomization¶
SysprepCustomization defines Windows sysprep customization. Accepted but not acted on in this release.
Appears in: - VMCustomization
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled indicates if sysprep should be run. Accepted but not acted on in this release. | false | |
productKey string | ProductKey specifies the Windows product key. Accepted but not acted on in this release. WARNING: a value set here is stored in plaintext in the VMClone (etcd, backups, anyone who can read the object). It is accepted but not acted on in this release and is not sent to the provider; do not put a real product key here. | Optional: {} | |
organization string | Organization specifies the organization name. Accepted but not acted on in this release. | MaxLength: 255 Optional: {} | |
owner string | Owner specifies the owner name. Accepted but not acted on in this release. | MaxLength: 255 Optional: {} | |
adminPassword PasswordSpec | AdminPassword specifies the administrator password. Accepted but not acted on in this release. | Optional: {} | |
joinDomain DomainJoinSpec | JoinDomain specifies domain join configuration. Accepted but not acted on in this release. | Optional: {} | |
customCommands string array | CustomCommands specifies custom commands to run during sysprep. Accepted but not acted on in this release, and not sent to the provider. They are stored in plaintext in the VMClone: do not put a credential in them. | MaxItems: 20 Optional: {} |
TrafficShapingConfig¶
TrafficShapingConfig defines traffic shaping settings. Accepted but not acted on in this release.
Appears in: - VSphereNetworkConfig
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled indicates if traffic shaping is enabled. Accepted but not acted on in this release. | false | Optional: {} |
averageBandwidth integer | AverageBandwidth is the average bandwidth in bits per second. Accepted but not acted on in this release. | Minimum: 1000 Optional: {} | |
peakBandwidth integer | PeakBandwidth is the peak bandwidth in bits per second. Accepted but not acted on in this release. | Minimum: 1000 Optional: {} | |
burstSize integer | BurstSize is the burst size in bytes. Accepted but not acted on in this release. | Minimum: 1024 Optional: {} |
UserData¶
UserData defines cloud-init configuration
Appears in: - VMCustomization - VirtualMachineSpec
| Field | Description | Default | Validation |
|---|---|---|---|
cloudInit CloudInit | CloudInit contains cloud-init configuration | Optional: {} | |
ignition Ignition | Ignition contains Ignition configuration for CoreOS/RHEL. Accepted but not acted on in this release: only cloudInit is sent to the provider. | Optional: {} |
VLANConfig¶
VLANConfig defines VLAN configuration. Accepted but not acted on in this release.
Appears in: - VSphereNetworkConfig
| Field | Description | Default | Validation |
|---|---|---|---|
type string | Type specifies the VLAN type. Accepted but not acted on in this release. | none | Enum: [none vlan pvlan trunk] Optional: {} |
vlanID integer | VlanID specifies the VLAN ID for VLAN type. Accepted but not acted on in this release. The manager forwards it, but the vSphere provider ignores it. | Maximum: 4094 Minimum: 1 Optional: {} | |
trunkVlanIDs integer array | TrunkVlanIDs specifies VLAN IDs for trunk type. Accepted but not acted on in this release. | MaxItems: 100 Optional: {} | |
primaryVlanID integer | PrimaryVlanID specifies the primary VLAN ID for PVLAN. Accepted but not acted on in this release. | Maximum: 4094 Minimum: 1 Optional: {} | |
secondaryVlanID integer | SecondaryVlanID specifies the secondary VLAN ID for PVLAN. Accepted but not acted on in this release. | Maximum: 4094 Minimum: 1 Optional: {} |
VMAffinity¶
VMAffinity defines affinity rules between VMs, evaluated against the other VMs in the namespace of the VM being placed. A Host counts as matching a term when a VM on it has labels that satisfy the term.
Appears in: - AffinityRules
| Field | Description | Default | Validation |
|---|---|---|---|
requiredDuringScheduling VMAffinityTerm array | RequiredDuringScheduling specifies hard affinity rules: a Host is a candidate only if, for every term, it runs a VM that matches the term. | MaxItems: 20 Optional: {} | |
preferredDuringScheduling WeightedVMAffinityTerm array | PreferredDuringScheduling specifies soft affinity rules: a Host that runs a VM matching a term ranks higher by that term's weight. | MaxItems: 20 Optional: {} |
VMAffinityTerm¶
VMAffinityTerm defines a VM affinity term. A VM matches the term when its labels satisfy both labelSelector and matchExpressions; a term with neither matches every VM. The scheduler treats every term as host-level: topologyKey, namespaces and namespaceSelector are not acted on in this release.
Appears in: - VMAffinity - VMAntiAffinity - WeightedVMAffinityTerm
| Field | Description | Default | Validation |
|---|---|---|---|
labelSelector LabelSelector | LabelSelector selects VMs by their labels. | Optional: {} | |
namespaces string array | Namespaces specifies which namespaces to consider. Accepted but not acted on in this release. | MaxItems: 20 Optional: {} | |
namespaceSelector LabelSelector | NamespaceSelector selects namespaces using label selectors. Accepted but not acted on in this release. | Optional: {} | |
topologyKey string | TopologyKey specifies the topology domain for the rule. It is required but not acted on in this release: every term is evaluated per Host. | MaxLength: 253 | |
matchExpressions VMSelectorRequirement array | MatchExpressions is a list of VM selector requirements on the VM's labels. All of them must hold, together with labelSelector. | MaxItems: 20 Optional: {} |
VMAntiAffinity¶
VMAntiAffinity defines anti-affinity rules between VMs, evaluated against the other VMs in the namespace of the VM being placed. A Host counts as matching a term when a VM on it has labels that satisfy the term.
Appears in: - AntiAffinityRules
| Field | Description | Default | Validation |
|---|---|---|---|
requiredDuringScheduling VMAffinityTerm array | RequiredDuringScheduling specifies hard anti-affinity rules: a Host that runs a VM matching any term is not a candidate. | MaxItems: 20 Optional: {} | |
preferredDuringScheduling WeightedVMAffinityTerm array | PreferredDuringScheduling specifies soft anti-affinity rules: a Host that runs a VM matching a term ranks lower by that term's weight. | MaxItems: 20 Optional: {} |
VMClass¶
VMClass is a reusable hardware profile for VirtualMachines: vCPU count, memory, firmware and optional disk, performance and security settings. A VirtualMachine names it in spec.classRef.
Appears in: - VMClassList
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | VMClass | ||
metadata ObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
spec VMClassSpec | |||
status VMClassStatus |
VMClassList¶
VMClassList contains a list of VMClass
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | VMClassList | ||
metadata ListMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
items VMClass array |
VMClassSpec¶
VMClassSpec defines the desired state of VMClass. A VMClass is a reusable hardware profile that VirtualMachines name in spec.classRef. cpu and memory are acted on by the vSphere, libvirt and Proxmox providers (the mock provider ignores the class); the other fields are acted on only by the providers named in their descriptions, and some are accepted but not acted on in this release.
Appears in: - VMClass
| Field | Description | Default | Validation |
|---|---|---|---|
cpu integer | CPU specifies the number of virtual CPUs. A VirtualMachine's spec.resources.cpu overrides it for that VirtualMachine. On a clustered Provider it is also the CPU the VirtualMachine takes from its host. | Maximum: 128 Minimum: 1 | |
memory Quantity | Memory specifies memory allocation using Kubernetes resource quantities. A VirtualMachine's spec.resources.memoryMiB overrides it for that VirtualMachine. It must be non-negative and below 100Ti: every value below 90Ti written in bytes, k/Ki, M/Mi, G/Gi or T/Ti is accepted, and nothing at or above 100Ti is. That is more than three times the largest VM any supported hypervisor runs (24 TB on vSphere 8), and keeps the MiB value the provider contract carries far inside its int32 range. The rules bound the number of integer digits per unit suffix with core CEL only (no quantity library, which Kubernetes < 1.29 lacks), so they are enforced on every supported Kubernetes version. | ||
firmware FirmwareType | Firmware specifies the firmware type: BIOS (the default) or UEFI. The vSphere and libvirt providers read it: UEFI selects EFI firmware and any other value (EFI included) selects BIOS, except that securityProfile.secureBoot (and, on vSphere, tpmEnabled) force EFI firmware. On libvirt, UEFI is OVMF without Secure Boot on the q35 machine type, chosen by libvirt from the host's installed firmware (docs/libvirt-firmware.md). Proxmox and mock ignore this field. | BIOS | Enum: [BIOS UEFI EFI] Optional: {} |
diskDefaults DiskDefaults | DiskDefaults provides default disk settings. Only size is acted on: libvirt sizes the root disk to it (20GiB when diskDefaults is unset; a disk grown from an image is never shrunk, and libvirt also grows the root disk to it on a later reconfigure) and vSphere grows the root disk to it after creation (it never shrinks a disk). type, iops and storageClass are accepted but not acted on in this release. Proxmox and mock ignore the block. | Optional: {} | |
guestToolsPolicy GuestToolsPolicy | GuestToolsPolicy specifies guest tools installation policy. Accepted but not acted on in this release. The value is sent to the provider, but no provider acts on it. | install | Enum: [install skip upgrade uninstall] Optional: {} |
extraConfig object (keys:string, values:string) | ExtraConfig contains provider-specific extra configuration. Only the vSphere provider reads it, and only the key vsphere.hardwareVersion (the VM hardware version, for example 21). Any other key, and every key on libvirt, Proxmox and mock, is accepted but not acted on in this release. | MaxProperties: 50 Optional: {} | |
resourceLimits VMResourceLimits | ResourceLimits defines resource limits and reservations. Accepted but not acted on in this release. The values are sent to the provider, but no provider applies them. | Optional: {} | |
performanceProfile PerformanceProfile | PerformanceProfile defines performance-related settings. nestedVirtualization, cpuHotAddEnabled and memoryHotAddEnabled are acted on by vSphere and libvirt, and virtualizationBasedSecurity by vSphere only; latencySensitivity and hyperThreadingPolicy are accepted but not acted on in this release. Proxmox and mock ignore the block. | Optional: {} | |
securityProfile SecurityProfile | SecurityProfile defines security-related settings. secureBoot, tpmEnabled and vtdEnabled are acted on by vSphere and libvirt; tpmVersion and encryptionPolicy are accepted but not acted on in this release. Proxmox and mock ignore the block. | Optional: {} | |
consumerNamespaceSelector LabelSelector | ConsumerNamespaceSelector selects the namespaces, other than this VMClass's own, that may use it: VirtualMachines there may name it in spec.classRef. A reference from the VMClass's own namespace is always allowed. - unset (the default): only its own namespace may use it. - {} (an empty selector): every namespace may use it. - matchLabels / matchExpressions: the namespaces whose labels match. The kubernetes.io/metadata.name label names a namespace explicitly. A reference from a namespace it does not select is refused with Ready=False, reason ConsumerNotAllowed, and no provider call is made for it. The selector is matched against Namespace labels, so whoever can label a namespace can widen what that namespace may use (see docs/cross-namespace-references.md). The selector is operator-side policy: it is never sent to a provider. | Optional: {} |
VMClassStatus¶
VMClassStatus defines the observed state of VMClass. Not populated in this release. No controller writes the status of a VMClass.
Appears in: - VMClass
| Field | Description | Default | Validation |
|---|---|---|---|
conditions Condition array | Conditions represent the latest available observations. Not populated in this release. | Optional: {} | |
observedGeneration integer | ObservedGeneration reflects the generation observed by the controller. Not populated in this release. | Optional: {} | |
usedByVMs integer | UsedByVMs is the number of VMs currently using this class. Not populated in this release. | Optional: {} | |
supportedProviders string array | SupportedProviders lists the providers that support this class. Not populated in this release. | Optional: {} | |
validationResults object (keys:string, values:ValidationResult) | ValidationResults contains validation results for different providers. Not populated in this release. | Optional: {} |
VMClone¶
VMClone is the Schema for the vmclones API. It clones an existing VirtualMachine (spec.source.vmRef) into a new VirtualMachine on the same Provider, and binds the new VirtualMachine to the cloned machine. Deleting a VMClone does not delete the VirtualMachine it produced.
Appears in: - VMCloneList
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | VMClone | ||
metadata ObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
spec VMCloneSpec | |||
status VMCloneStatus |
VMCloneList¶
VMCloneList contains a list of VMClone
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | VMCloneList | ||
metadata ListMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
items VMClone array |
VMCloneSpec¶
VMCloneSpec defines the desired state of VMClone. Fields that are accepted by the schema but not acted on in this release are marked as such.
Appears in: - VMClone
| Field | Description | Default | Validation |
|---|---|---|---|
source CloneSource | Source defines the VirtualMachine to clone. Only vmRef is supported. | ||
target VMCloneTarget | Target defines the VirtualMachine the clone produces. The controller creates it before it asks the Provider to clone, and binds it to the cloned machine once the clone is made. | ||
options CloneOptions | Options defines cloning options. Only type and powerOn are acted on; every other option is accepted but not acted on in this release. | Optional: {} | |
customization VMCustomization | Customization defines how the cloned machine is customized. Only hostname, domain and userData.cloudInit.inline are acted on, and only by some providers and only for a source VM that carries cloud-init data (a NoCloud seed on libvirt, cloud-init guestinfo keys on vSphere); see the field descriptions. Every other field of the block is accepted but not acted on in this release. The fields among them that hold, or commonly hold, secret values (sysprep.productKey, sysprep.adminPassword.value, sysprep.joinDomain.password.value, sysprep.customCommands, certificates[].data, guestCommands[].command and .arguments, userData.ignition.inline) are never sent to the provider, but are stored in plaintext in the VMClone: do not put real credentials there. | Optional: {} | |
metadata CloneMetadata | Refer to Kubernetes API documentation for fields of metadata. | Optional: {} |
VMCloneStatus¶
VMCloneStatus defines the observed state of VMClone. Fields that the controller does not write are marked as not populated.
Appears in: - VMClone
| Field | Description | Default | Validation |
|---|---|---|---|
targetRef LocalObjectReference | TargetRef references the target VirtualMachine. It is set when the clone is Ready. | Optional: {} | |
targetVMID string | TargetVMID is the provider's identifier of the cloned machine, as returned by the Clone call. The controller records it before it binds the target VirtualMachine, so an interrupted clone resumes the binding instead of cloning again, and writes it to the target VirtualMachine's status.id. | Optional: {} | |
targetUID string | TargetUID is the uid of the target VirtualMachine this clone created before it asked the Provider to clone. Only that object is ever used as the clone's target or removed when the clone fails: a VirtualMachine re-created later under the target name, even one carrying a copied virtrigaud.io/clone-uid annotation, is never touched. | MaxLength: 128 Optional: {} | |
phase ClonePhase | Phase represents the current phase of the clone operation: Pending (waiting for a prerequisite; the Ready condition says which), Cloning, Ready or Failed. Failed is terminal: the clone is not retried, so create a new VMClone to try again. Preparing, Customizing and Powering-On are accepted by the schema but never set in this release. | Enum: [Pending Preparing Cloning Customizing Powering-On Ready Failed] Optional: {} | |
message string | Message provides additional details about the current phase. | Optional: {} | |
taskRef string | TaskRef is the provider's task reference for an asynchronous Clone call that has not finished. It is empty otherwise, and providers that clone synchronously never set it. | Optional: {} | |
startTime Time | StartTime is when the Clone call, which the provider then accepted, was sent. | Optional: {} | |
completionTime Time | CompletionTime is when the clone became Ready. It is not set when the clone fails. | Optional: {} | |
actualCloneType CloneType | ActualCloneType indicates the clone type that was made, FullClone or LinkedClone. It is set when the provider accepts the Clone call; a requested InstantClone is reported as FullClone. | Enum: [FullClone LinkedClone InstantClone] Optional: {} | |
progress CloneProgress | Progress shows the clone operation progress. Not populated in this release. (The Progress printer column is therefore empty.) | Optional: {} | |
conditions Condition array | Conditions represent the latest observations of the clone. The controller sets Ready, Cloning and Failed, TargetCleanup (what was done with the target VirtualMachine of a failed clone) and CloneRequested (a Clone call was sent and its outcome is not recorded yet). Customizing is never set. | Optional: {} | |
observedGeneration integer | ObservedGeneration is the generation of the VMClone last processed by the controller. | Optional: {} | |
retryCount integer | RetryCount is the number of times the clone has been retried. Not populated in this release. | Optional: {} | |
lastRetryTime Time | LastRetryTime is when the clone was last retried. Not populated in this release. | Optional: {} | |
customizationStatus CustomizationStatus | CustomizationStatus contains customization operation status. Not populated in this release. | Optional: {} |
VMCloneTarget¶
VMCloneTarget defines the VirtualMachine a clone produces.
Appears in: - VMCloneSpec
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the name of the target VirtualMachine. | MaxLength: 253 Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ | |
namespace string | Namespace is the namespace for the target VM (defaults to the VMClone's namespace, which is also the source VM's). A different namespace is allowed only when that Namespace object carries the annotation infra.virtrigaud.io/allowed-source-namespaces and its comma-separated value lists the VMClone's namespace (exact names, no wildcards). Whoever can update the target Namespace can grant this (normally a cluster administrator, since Namespaces are cluster-scoped). Without it the clone is refused (Ready=False, reason TargetNamespaceNotAllowed) and nothing is created in, read from or bound in the target namespace; granting the annotation or changing this field resumes it. | MaxLength: 63 Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ Optional: {} | |
providerRef ObjectRef | ProviderRef references the target provider. Accepted but not acted on in this release. The target VirtualMachine always uses the source VirtualMachine's Provider: a clone is made on the Provider its source runs on. | Optional: {} | |
classRef LocalObjectReference | ClassRef names the VMClass of the target VirtualMachine, in the VMClone's namespace. When unset, the target uses the source VirtualMachine's class. The class's CPU and memory are also sent with the Clone call: libvirt applies them, Proxmox applies only the CPU count, and vSphere ignores them at clone time. | Optional: {} | |
placementRef LocalObjectReference | PlacementRef is copied to the target VirtualMachine's spec.placementRef. It does not place the clone: the clone is made on the source VirtualMachine's Provider (on a clustered Provider, on the source's host), and no provider acts on it at clone time. | Optional: {} | |
networks VMNetworkRef array | Networks is copied to the target VirtualMachine's spec.networks. It is not applied to the cloned machine at clone time: no provider changes the network devices the clone inherits from its source. | MaxItems: 10 Optional: {} | |
disks DiskSpec array | Disks defines disk configuration overrides. Accepted but not acted on in this release. The cloned machine keeps the source's disks. | MaxItems: 20 Optional: {} | |
labels object (keys:string, values:string) | Labels defines labels to apply to the target VirtualMachine. The controller always sets virtrigaud.io/adopted=true on it, replacing any value given here. | MaxProperties: 50 Optional: {} | |
annotations object (keys:string, values:string) | Annotations defines annotations to apply to the target VM. Keys in the operator's reserved virtrigaud.io domain (virtrigaud.io/... and *.virtrigaud.io/...), such as virtrigaud.io/orphan-on-delete or the provenance annotations, are not copied; the controller sets its own provenance annotations. | MaxProperties: 50 Optional: {} |
VMCustomization¶
VMCustomization defines how the cloned machine is customized. Only hostname, domain and userData.cloudInit.inline are acted on. Every other field is accepted but not acted on in this release; the libvirt and vSphere providers log the customization fields they do not apply. The manager sends the provider only the fields a provider reads or reports: the secret values (sysprep.productKey, sysprep.adminPassword.value, sysprep.joinDomain.password.value, certificates[].data), the commands (sysprep.customCommands, guestCommands[].command and .arguments) and userData.ignition.inline are never sent.
Appears in: - VMCloneSpec
| Field | Description | Default | Validation |
|---|---|---|---|
hostname string | Hostname sets the hostname of the cloned machine, through the clone's cloud-init identity. It is applied by libvirt (when the source boots from a NoCloud seed) and vSphere (when the source carries cloud-init guestinfo metadata, or a hostname in its guestinfo user-data); Proxmox and mock do not apply it. When unset, the hostname is the target VirtualMachine's name. | MaxLength: 255 Pattern: ^[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?$ Optional: {} | |
domain string | Domain sets the domain name; with the hostname it forms the clone's FQDN. It is applied by libvirt and vSphere on the same terms as hostname; Proxmox and mock do not apply it. | MaxLength: 255 Optional: {} | |
timeZone string | TimeZone sets the timezone. Accepted but not acted on in this release. | MaxLength: 100 Optional: {} | |
networks NetworkCustomization array | Networks defines network customization. Accepted but not acted on in this release. | MaxItems: 10 Optional: {} | |
userData UserData | UserData provides cloud-init user-data for the clone. Only cloudInit.inline is applied, and only by libvirt: it replaces the source's user-data in the clone's cloud-init seed (the source must have one). cloudInit.secretRef is not resolved, so the clone keeps the source's user-data, and ignition is not applied. vSphere, Proxmox and mock do not apply user-data. | Optional: {} | |
sysprep SysprepCustomization | Sysprep provides Windows sysprep customization. Accepted but not acted on in this release. | Optional: {} | |
tags string array | Tags defines additional tags for the cloned VM. Accepted but not acted on in this release. | MaxItems: 50 Optional: {} | |
guestCommands GuestCommand array | GuestCommands defines commands to run in the guest OS. Accepted but not acted on in this release. | MaxItems: 20 Optional: {} | |
certificates CertificateSpec array | Certificates defines certificates to install. Accepted but not acted on in this release. | MaxItems: 10 Optional: {} |
VMImage¶
VMImage describes where a VM image comes from and records where it has been prepared. VirtualMachines use it through spec.imageRef. An image that must be imported (a vSphere ovaURL, a libvirt url) is prepared on a Provider when the first VM that uses it on that Provider is created; an image that names something already on the hypervisor (a template, a libvirt path) is used as written.
Appears in: - VMImageList
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | VMImage | ||
metadata ObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
spec VMImageSpec | |||
status VMImageStatus |
VMImageList¶
VMImageList contains a list of VMImage
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | VMImageList | ||
metadata ListMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
items VMImage array |
VMImageSpec¶
VMImageSpec defines the desired state of VMImage. Source says where the image comes from; prepare.onMissing and prepare.timeout steer how it is prepared on a Provider. metadata and distribution are descriptive. Several other fields are accepted but not acted on in this release; each says so.
Appears in: - VMImage
| Field | Description | Default | Validation |
|---|---|---|---|
source ImageSource | Source defines where the image comes from. Set the block for one kind of source: vsphere, libvirt and proxmox are acted on; http, registry and dataVolume are accepted but not acted on in this release. Nothing checks that only one block is set. | ||
prepare ImagePrepare | Prepare contains optional image preparation steps. Only onMissing and timeout are acted on; the other fields are accepted but not acted on in this release. Preparation applies only to sources that must be imported (a vSphere ovaURL, a libvirt url); an image that names something already on the hypervisor (a template, a libvirt path) is never prepared. | Optional: {} | |
metadata ImageMetadata | Refer to Kubernetes API documentation for fields of metadata. | Optional: {} | |
distribution OSDistribution | Distribution contains OS distribution information. Descriptive: no controller or provider reads it. | Optional: {} | |
consumerNamespaceSelector LabelSelector | ConsumerNamespaceSelector selects the namespaces, other than this VMImage's own, that may use it: VirtualMachines there may name it in spec.imageRef (which prepares it on, and creates VMs from it through, their Provider). A reference from the VMImage's own namespace is always allowed. - unset (the default): only its own namespace may use it. - {} (an empty selector): every namespace may use it. - matchLabels / matchExpressions: the namespaces whose labels match. The kubernetes.io/metadata.name label names a namespace explicitly. A reference from a namespace it does not select is refused with Ready=False, reason ConsumerNotAllowed, and no provider call is made for it. The selector is matched against Namespace labels, so whoever can label a namespace can widen what that namespace may use (see docs/cross-namespace-references.md). The selector is operator-side policy: it is never sent to a provider. | Optional: {} |
VMImageStatus¶
VMImageStatus defines the observed state of VMImage. It is written only by the operator's VirtualMachine controller, when it prepares the image for a VM, so an image that needs no preparation (it names a template or a libvirt path already on the hypervisor) has no status. size, checksum, format and importProgress are not populated in this release.
Appears in: - VMImage
| Field | Description | Default | Validation |
|---|---|---|---|
ready boolean | Ready is true once the image is prepared on at least one Provider (see providerStatus for the state on each). It can turn false again while a VirtualMachine on another Provider is held by prepare.onMissing Fail or Wait. | Optional: {} | |
phase ImagePhase | Phase represents the current phase of image preparation: Pending, Importing, Ready or Failed. Downloading, Converting and Optimizing are never set in this release. | Enum: [Pending Downloading Importing Converting Optimizing Ready Failed] Optional: {} | |
message string | Message provides additional details about the current state, for example why a prepare is held or failed. | Optional: {} | |
availableOn string array | AvailableOn lists the Providers the image is available on, each as " It is informational: creating a VM consults ProviderStatus only. | Optional: {} | |
conditions Condition array | Conditions represent the latest available observations. The Ready and Importing conditions are set; Downloading and Validated are never set in this release. | Optional: {} | |
observedGeneration integer | ObservedGeneration is not populated in this release; each condition carries its own observedGeneration. | Optional: {} | |
lastPrepareTime Time | LastPrepareTime records when a prepare was last started (an asynchronous prepare in flight) or completed. | Optional: {} | |
prepareTaskRef string | PrepareTaskRef is deprecated and no longer written. An in-flight prepare task is recorded per Provider, in ProviderStatus[" that Provider. A value left by an earlier release cannot be attributed to a Provider: the controller clears it without polling it and issues the prepare again (it is idempotent on every provider). | Optional: {} | |
importProgress ImageImportProgress | ImportProgress shows the progress of image import operations. Not populated in this release. | Optional: {} | |
size Quantity | Size is the size of the prepared image. Not populated in this release, so the Size column of kubectl get is empty. | Optional: {} | |
checksum string | Checksum is the actual checksum of the prepared image. Not populated in this release. | Optional: {} | |
format ImageFormat | Format is the actual format of the prepared image. Not populated in this release. | Enum: [qcow2 raw vmdk vhd vhdx iso ova ovf] Optional: {} | |
providerStatus object (keys:string, values:ProviderImageStatus) | ProviderStatus is the per-Provider prepare state, keyed by the Provider's identity " so two Providers with the same name in different namespaces never share an entry. A VirtualMachine consults only the entry of the Provider it uses, and trusts it only when the entry's providerUID is that Provider's current UID. Entries written by an earlier release are keyed by the bare Provider name. On the first prepare reconcile such an entry is re-keyed to " dropped otherwise. A re-keyed entry has no providerUID, so it is re-validated through its Provider before a VM is created from it. | Optional: {} |
VMMigration¶
VMMigration is the Schema for the vmmigrations API
Appears in: - VMMigrationList
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | VMMigration | ||
metadata ObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
spec VMMigrationSpec | |||
status VMMigrationStatus |
VMMigrationList¶
VMMigrationList contains a list of VMMigration
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | VMMigrationList | ||
metadata ListMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
items VMMigration array |
VMMigrationSpec¶
VMMigrationSpec defines the desired state of VMMigration
Appears in: - VMMigration
| Field | Description | Default | Validation |
|---|---|---|---|
source MigrationSource | Source defines the source VM to migrate from | ||
target MigrationTarget | Target defines the target provider and configuration | ||
options MigrationOptions | Options defines migration options | Optional: {} | |
storage MigrationStorage | Storage defines storage backend configuration for transfer | Optional: {} | |
metadata MigrationMetadata | Refer to Kubernetes API documentation for fields of metadata. | Optional: {} |
VMMigrationStatus¶
VMMigrationStatus defines the observed state of VMMigration
Appears in: - VMMigration
| Field | Description | Default | Validation |
|---|---|---|---|
phase MigrationPhase | Phase represents the current phase of the migration. A migration goes Pending, Validating, Snapshotting (when createSnapshot is true), Exporting, Importing, Creating, Validating-Target and Ready, or Failed. The Transferring and Converting phases exist in the enum but a migration does not enter them in this release: the disk is moved during Exporting and Importing, and the target provider converts the format on import. | Enum: [Pending Validating Snapshotting Exporting Transferring Converting Importing Creating Validating-Target Ready Failed] Optional: {} | |
message string | Message provides additional details about the current state | Optional: {} | |
targetVMRef LocalObjectReference | TargetVMRef references the created target VM. Not populated in this release; see targetVMUID and spec.target.name. | Optional: {} | |
snapshotRef string | SnapshotRef references the source snapshot used for migration | Optional: {} | |
snapshotID string | SnapshotID is the provider-specific snapshot identifier | Optional: {} | |
sourceVMUID string | SourceVMUID is the UID of the source VirtualMachine the migration validated and exported, recorded at Validating. With spec.source.deleteAfterMigration the controller deletes only that object (a UID precondition): a source VirtualMachine re-created under the same name is never deleted. Written by the controller only. | MaxLength: 128 Optional: {} | |
exportID string | ExportID is the export operation identifier the source provider returned. | Optional: {} | |
importID string | ImportID is the disk identifier the target provider returned for the imported disk. | Optional: {} | |
taskRef string | TaskRef is the current task reference for async operations | Optional: {} | |
targetVMID string | TargetVMID is the provider-specific target VM identifier | Optional: {} | |
targetVMUID string | TargetVMUID is the UID of the target VirtualMachine this migration created, recorded from the response of its own Create (or, when that record was lost, from the VirtualMachine that carries this migration's claim, see targetVMClaim). Every later step — waiting for the target, validating it, marking it migration-completed, deleting a partial one — acts only on the VirtualMachine with this UID: another VirtualMachine under the target's name (one created by someone else, before or after the migration's own) fails the migration and is never touched. Written by the controller only. | MaxLength: 128 Optional: {} | |
targetVMClaim string | TargetVMClaim is the hex SHA-256 digest of the one-time random token the controller writes, as the virtrigaud.io/migration-claim annotation, on the target VirtualMachine it creates. It is recorded BEFORE that Create, so a Create that succeeded but whose targetVMUID was never recorded (a lost status write, a manager restart) is still recognized as this migration's: a VirtualMachine whose claim token hashes to this digest. Only the digest is stored here; the token cannot be derived from it. Written by the controller only. | MaxLength: 64 Optional: {} | |
startTime Time | StartTime is when the migration started | Optional: {} | |
completionTime Time | CompletionTime is when the migration completed | Optional: {} | |
progress MigrationProgress | Progress shows the migration operation progress. Not populated in this release. | Optional: {} | |
diskInfo MigrationDiskInfo | DiskInfo contains information about the migrated disk, recorded when the ExportDisk and ImportDisk calls return (which can be before an asynchronous task finishes). | Optional: {} | |
storageInfo MigrationStorageInfo | StorageInfo contains information about intermediate storage. The controller records cleanedUp, stagingLayout, stagingDigest and importTarget; url, size and uploadedAt are not populated in this release. | Optional: {} | |
storagePVCName string | StoragePVCName is the name of the PVC used for migration storage | Optional: {} | |
storagePVCUID string | StoragePVCUID is the UID of the migration PVC this migration created (pvc backend, no spec.storage.pvc.name), taken from the API server's answer to its create. Only the PVC with this UID is mounted into the provider pods and deleted with the migration: a PVC of the same name that anyone else created — even one carrying an ownerReference to this migration — is refused. Empty for a PVC named in spec.storage.pvc.name. Written by the controller only. | MaxLength: 128 Optional: {} | |
conditions Condition array | Conditions represent the current service state | Optional: {} | |
observedGeneration integer | ObservedGeneration reflects the generation observed by the controller | Optional: {} | |
retryCount integer | RetryCount is the number of times the migration has been retried | Optional: {} | |
lastRetryTime Time | LastRetryTime is when the migration was last retried | Optional: {} | |
validationResults ValidationResults | ValidationResults contains results of validation checks. Not populated in this release. | Optional: {} |
VMNetworkAttachment¶
VMNetworkAttachment describes a network that VirtualMachines attach to through spec.networks[].networkRef. The manager reads spec.network when it creates a VM; no controller acts on the rest of the resource, and its status is not populated, so the Ready, Connected VMs and Providers columns are empty.
Appears in: - VMNetworkAttachmentList
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | VMNetworkAttachment | ||
metadata ObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
spec VMNetworkAttachmentSpec | |||
status VMNetworkAttachmentStatus |
VMNetworkAttachmentList¶
VMNetworkAttachmentList contains a list of VMNetworkAttachment
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | VMNetworkAttachmentList | ||
metadata ListMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
items VMNetworkAttachment array |
VMNetworkAttachmentSpec¶
VMNetworkAttachmentSpec defines the desired state of VMNetworkAttachment. A VirtualMachine uses an attachment through spec.networks[].networkRef, in its own namespace. Only the spec.network block that matches the type of the VM's Provider is read; ipAllocation, security, qos and metadata are accepted but not acted on in this release.
Appears in: - VMNetworkAttachment
| Field | Description | Default | Validation |
|---|---|---|---|
network NetworkConfig | Network holds the per-hypervisor network settings. Only the block that matches the type of the VM's Provider (vsphere, libvirt or proxmox) is read; the other blocks are ignored. | ||
ipAllocation IPAllocationConfig | IPAllocation defines how IP addresses are assigned. Accepted but not acted on in this release. This applies to every field below it. Set a static IP, prefix, gateway and DNS servers on the entry of the VirtualMachine's spec.networks instead. | Optional: {} | |
security NetworkSecurityConfig | Security defines network security settings. Accepted but not acted on in this release. This applies to every field below it. | Optional: {} | |
qos NetworkQoSConfig | QoS defines Quality of Service settings. Accepted but not acted on in this release. This applies to every field below it. | Optional: {} | |
metadata NetworkMetadata | Refer to Kubernetes API documentation for fields of metadata. | Optional: {} |
VMNetworkAttachmentStatus¶
VMNetworkAttachmentStatus defines the observed state of VMNetworkAttachment. Not populated in this release: the controller for this resource only watches it and writes no status.
Appears in: - VMNetworkAttachment
| Field | Description | Default | Validation |
|---|---|---|---|
ready boolean | Ready indicates if the network is ready for use. Not populated in this release. | Optional: {} | |
phase NetworkAttachmentPhase | Phase represents the current phase. Not populated in this release. | Enum: [Pending Configuring Ready Failed] Optional: {} | |
message string | Message provides additional details about the current state. Not populated in this release. | Optional: {} | |
availableOn string array | AvailableOn lists the providers where the network is available. Not populated in this release. | Optional: {} | |
conditions Condition array | Conditions represent the latest available observations. Not populated in this release. | Optional: {} | |
observedGeneration integer | ObservedGeneration reflects the generation observed by the controller. Not populated in this release. | Optional: {} | |
connectedVMs integer | ConnectedVMs is the number of VMs using this network. Not populated in this release. | Optional: {} | |
ipAllocations IPAllocation array | IPAllocations contains current IP allocations. Not populated in this release. | Optional: {} | |
providerStatus object (keys:string, values:ProviderNetworkStatus) | ProviderStatus contains provider-specific status information. Not populated in this release. | Optional: {} |
VMNetworkRef¶
VMNetworkRef represents a reference to a network attachment
Appears in: - MigrationTarget - VMCloneTarget - VirtualMachineSpec
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the name of this network attachment | MaxLength: 63 Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ | |
networkRef ObjectRef | NetworkRef references the VMNetworkAttachment (optional) When not specified, the template's pre-configured network adapter is used. | Optional: {} | |
ipAddress string | IPAddress specifies a static IP address (optional) | Pattern: ^((25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)\.)\{3\}(25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)$ Optional: {} | |
prefix integer | Prefix specifies the network prefix length (e.g., 24 for /24) | Maximum: 32 Minimum: 1 Optional: {} | |
gateway string | Gateway specifies the default gateway IP address | Pattern: ^((25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)\.)\{3\}(25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?)$ Optional: {} | |
dns string | DNS specifies DNS server IP addresses (comma-separated) | Optional: {} | |
macAddress string | MACAddress specifies a static MAC address (optional). Accepted but not acted on in this release: it is not sent to the provider. | Pattern: ^([0-9A-Fa-f]\{2\}[:-])\{5\}([0-9A-Fa-f]\{2\})$ Optional: {} |
VMPlacementPolicy¶
VMPlacementPolicy holds rules for choosing the Host of a VirtualMachine. A VirtualMachine references it with spec.placementRef, in its own namespace. Only the scheduler of a clustered Provider (spec.topology: cluster) reads it, when it places a VM on a Host; there, a VM whose placementRef names a policy that does not exist is not scheduled. On any other Provider the reference is not read. Within the policy, hard, soft, affinity, antiAffinity and resourceConstraints are acted on as described on each field; securityConstraints, priority and weight are accepted but not acted on in this release. Status is not populated in this release, so the Used By VMs, Successful and Failed columns are empty.
Appears in: - VMPlacementPolicyList
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | VMPlacementPolicy | ||
metadata ObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
spec VMPlacementPolicySpec | |||
status VMPlacementPolicyStatus |
VMPlacementPolicyList¶
VMPlacementPolicyList contains a list of VMPlacementPolicy
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | VMPlacementPolicyList | ||
metadata ListMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
items VMPlacementPolicy array |
VMPlacementPolicySpec¶
VMPlacementPolicySpec defines the desired state of VMPlacementPolicy. Only the scheduler of a clustered Provider reads it (see VMPlacementPolicy). securityConstraints, priority and weight are accepted but not acted on in this release.
Appears in: - VMPlacementPolicy
| Field | Description | Default | Validation |
|---|---|---|---|
hard PlacementConstraints | Hard constraints that a Host must satisfy to be a candidate for the VM. The scheduler acts on hosts, excludedHosts and nodeSelector; the other fields are accepted but not acted on in this release. | Optional: {} | |
soft PlacementConstraints | Soft constraints that rank the candidate Hosts without removing any. The scheduler acts on hosts, excludedHosts and nodeSelector; the other fields are accepted but not acted on in this release. | Optional: {} | |
antiAffinity AntiAffinityRules | AntiAffinity defines anti-affinity rules. The scheduler acts on hostAntiAffinity and vmAntiAffinity; the cluster, datastore, zone and application rules are accepted but not acted on in this release. | Optional: {} | |
affinity AffinityRules | Affinity defines affinity rules. The scheduler acts on hostAffinity and vmAffinity; the cluster, datastore, zone and application rules are accepted but not acted on in this release. | Optional: {} | |
resourceConstraints ResourceConstraints | ResourceConstraints defines placement constraints on the resources and CPU features of a Host. The scheduler acts on minCPUPerHost, minMemoryPerHost, minDiskSpacePerHost, requiredFeatures and preferredFeatures; the utilization limits are accepted but not acted on in this release. | Optional: {} | |
securityConstraints SecurityConstraints | SecurityConstraints defines security-based placement constraints. Accepted but not acted on in this release. This applies to every field below it: no Host status field carries this information. Label the Hosts and use nodeSelector instead. | Optional: {} | |
priority integer | Priority defines the priority of this placement policy. Accepted but not acted on in this release. | Maximum: 1000 Minimum: 0 Optional: {} | |
weight integer | Weight defines the weight of this placement policy. Accepted but not acted on in this release. | Maximum: 100 Minimum: 1 Optional: {} |
VMPlacementPolicyStatus¶
VMPlacementPolicyStatus defines the observed state of VMPlacementPolicy. Not populated in this release: no controller writes it.
Appears in: - VMPlacementPolicy
| Field | Description | Default | Validation |
|---|---|---|---|
observedGeneration integer | ObservedGeneration is the most recent generation observed by the controller. Not populated in this release. | Optional: {} | |
usedByVMs LocalObjectReference array | UsedByVMs lists VMs currently using this policy. Not populated in this release. | MaxItems: 1000 Optional: {} | |
conditions Condition array | Conditions represent the current service state. Not populated in this release. | Optional: {} | |
validationResults object (keys:string, values:PolicyValidationResult) | ValidationResults contains validation results for different providers. Not populated in this release. | Optional: {} | |
placementStats PlacementStatistics | PlacementStats provides statistics about VM placements using this policy. Not populated in this release. | Optional: {} | |
conflictingPolicies PolicyConflict array | ConflictingPolicies lists policies that conflict with this policy. Not populated in this release. | MaxItems: 50 Optional: {} |
VMResourceLimits¶
VMResourceLimits defines resource limits and reservations. Accepted but not acted on in this release.
Appears in: - VMClassSpec
| Field | Description | Default | Validation |
|---|---|---|---|
cpuLimit integer | CPULimit is the maximum CPU usage limit (in MHz or percentage). Accepted but not acted on in this release. | Maximum: 100000 Minimum: 100 Optional: {} | |
cpuReservation integer | CPUReservation is the guaranteed CPU allocation (in MHz). Accepted but not acted on in this release. | Maximum: 100000 Minimum: 0 Optional: {} | |
memoryLimit Quantity | MemoryLimit is the maximum memory usage limit. Accepted but not acted on in this release. | Optional: {} | |
memoryReservation Quantity | MemoryReservation is the guaranteed memory allocation. Accepted but not acted on in this release. | Optional: {} | |
cpuShares integer | CPUShares defines the relative CPU priority (higher = more priority). Accepted but not acted on in this release. | Maximum: 1e+06 Minimum: 1 Optional: {} |
VMSelectorOperator¶
Underlying type: string
VMSelectorOperator represents a selector operator
Validation: - Enum: [In NotIn Exists DoesNotExist]
Appears in: - VMSelectorRequirement
| Field | Description |
|---|---|
In | VMSelectorOpIn means the key must be in the set of values |
NotIn | VMSelectorOpNotIn means the key must not be in the set of values |
Exists | VMSelectorOpExists means the key must exist |
DoesNotExist | VMSelectorOpDoesNotExist means the key must not exist |
VMSelectorRequirement¶
VMSelectorRequirement defines a requirement on the labels of a VM.
Appears in: - VMAffinityTerm
| Field | Description | Default | Validation |
|---|---|---|---|
key string | Key is the label key that the requirement applies to. | MaxLength: 253 | |
operator VMSelectorOperator | Operator represents the relationship between the label and Values: In, NotIn, Exists or DoesNotExist. | Enum: [In NotIn Exists DoesNotExist] | |
values string array | Values is the list of label values used by In and NotIn. It is ignored by Exists and DoesNotExist. | MaxItems: 50 Optional: {} |
VMSet¶
VMSet is the Schema for the vmsets API. It has no active controller in this release: the controller only sets the condition Ready=False with the reason ControllerNotImplemented on each VMSet, and creates, scales and updates no VMs. Every spec field is accepted but not acted on in this release, and status is not populated apart from that condition and observedGeneration.
Appears in: - VMSetList
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | VMSet | ||
metadata ObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
spec VMSetSpec | |||
status VMSetStatus |
VMSetFailedVM¶
VMSetFailedVM represents a VM that failed to update. Not populated in this release.
Appears in: - VMSetUpdateStatus
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the name of the failed VM. Not populated in this release. | ||
reason string | Reason provides the reason for failure. Not populated in this release. | Optional: {} | |
message string | Message provides additional details about the failure. Not populated in this release. | Optional: {} | |
lastAttempt Time | LastAttempt is when the last update attempt was made. Not populated in this release. | Optional: {} | |
retryCount integer | RetryCount is the number of retry attempts. Not populated in this release. | Optional: {} |
VMSetList¶
VMSetList contains a list of VMSet
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | VMSetList | ||
metadata ListMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
items VMSet array |
VMSetOrdinals¶
VMSetOrdinals configures the sequential ordering of VM indices. Accepted but not acted on in this release.
Appears in: - VMSetSpec
| Field | Description | Default | Validation |
|---|---|---|---|
start integer | Start is the number representing the first replica's index. Accepted but not acted on in this release. | 0 | Maximum: 999999 Minimum: 0 Optional: {} |
VMSetPersistentVolumeClaimRetentionPolicy¶
VMSetPersistentVolumeClaimRetentionPolicy defines the retention policy for PVCs. Accepted but not acted on in this release.
Appears in: - VMSetSpec
| Field | Description | Default | Validation |
|---|---|---|---|
whenDeleted PersistentVolumeClaimRetentionPolicyType | WhenDeleted specifies what happens to PVCs created from VMSet VolumeClaimTemplates when the VMSet is deleted. Accepted but not acted on in this release. | Retain | Enum: [Retain Delete] Optional: {} |
whenScaled PersistentVolumeClaimRetentionPolicyType | WhenScaled specifies what happens to PVCs created from VMSet VolumeClaimTemplates when the VMSet is scaled down. Accepted but not acted on in this release. | Retain | Enum: [Retain Delete] Optional: {} |
VMSetPodManagementPolicyType¶
Underlying type: string
VMSetPodManagementPolicyType defines the policy for creating VMs. Accepted but not acted on in this release.
Validation: - Enum: [OrderedReady Parallel]
Appears in: - RollingUpdateVMSetStrategy
| Field | Description |
|---|---|
OrderedReady | OrderedReadyVMSetPodManagementPolicy creates VMs in order and waits for each to be ready |
Parallel | ParallelVMSetPodManagementPolicy creates VMs in parallel |
VMSetSpec¶
VMSetSpec defines the desired state of VMSet. VMSet has no active controller in this release, so every field is accepted but not acted on: no VMs are created from the template.
Appears in: - VMSet
| Field | Description | Default | Validation |
|---|---|---|---|
replicas integer | Replicas is the desired number of VMs in the set. Accepted but not acted on in this release. | 1 | Maximum: 1000 Minimum: 0 Optional: {} |
selector LabelSelector | Selector is a label query over VMs that should match the replica count. Accepted but not acted on in this release. | ||
template VMSetTemplate | Template describes the VMs the set is meant to run. Accepted but not acted on in this release. | ||
updateStrategy VMSetUpdateStrategy | UpdateStrategy defines how to replace existing VMs with new ones. Accepted but not acted on in this release. | Optional: {} | |
minReadySeconds integer | MinReadySeconds is the minimum number of seconds for which a newly created VM should be ready before it is considered available. Accepted but not acted on in this release. | Maximum: 3600 Minimum: 0 Optional: {} | |
revisionHistoryLimit integer | RevisionHistoryLimit is the number of old VMSets to retain. Accepted but not acted on in this release. | 10 | Maximum: 100 Minimum: 0 Optional: {} |
persistentVolumeClaimRetentionPolicy VMSetPersistentVolumeClaimRetentionPolicy | PersistentVolumeClaimRetentionPolicy defines the retention policy for PVCs. Accepted but not acted on in this release. | Optional: {} | |
ordinals VMSetOrdinals | Ordinals configures the sequential ordering of VM indices. Accepted but not acted on in this release. | Optional: {} | |
serviceName string | ServiceName is the name of the service that governs this VMSet. Accepted but not acted on in this release. | MaxLength: 253 Optional: {} | |
volumeClaimTemplates PersistentVolumeClaimTemplate array | VolumeClaimTemplates defines a list of claims that VMs are allowed to reference. Accepted but not acted on in this release. | MaxItems: 20 Optional: {} |
VMSetStatus¶
VMSetStatus defines the observed state of VMSet. Only observedGeneration and the Ready condition are written in this release; every other field is not populated.
Appears in: - VMSet
| Field | Description | Default | Validation |
|---|---|---|---|
observedGeneration integer | ObservedGeneration is the most recent generation observed by the controller. | Optional: {} | |
replicas integer | Replicas is the number of VMs created by the VMSet controller. Not populated in this release. | Optional: {} | |
readyReplicas integer | ReadyReplicas is the number of VMs that are ready. Not populated in this release. | Optional: {} | |
availableReplicas integer | AvailableReplicas is the number of VMs that are available. Not populated in this release. | Optional: {} | |
updatedReplicas integer | UpdatedReplicas is the number of VMs that have been updated. Not populated in this release. | Optional: {} | |
currentRevision string | CurrentRevision is the revision of the current VMSet. Not populated in this release. | Optional: {} | |
updateRevision string | UpdateRevision is the revision of the updated VMSet. Not populated in this release. | Optional: {} | |
collisionCount integer | CollisionCount is the count of hash collisions for the VMSet. Not populated in this release. | Optional: {} | |
conditions Condition array | Conditions represent the current service state. In this release the only condition is Ready=False with the reason ControllerNotImplemented. | Optional: {} | |
currentReplicas integer | CurrentReplicas is the number of VMs currently running. Not populated in this release. | Optional: {} | |
updateStatus VMSetUpdateStatus | UpdateStatus provides detailed update operation status. Not populated in this release. | Optional: {} | |
vmStatus VMSetVMStatus array | VMStatus provides per-VM status information. Not populated in this release. | MaxItems: 1000 Optional: {} |
VMSetTemplate¶
VMSetTemplate defines the template for VMs in a VMSet. Accepted but not acted on in this release.
Appears in: - VMSetSpec
| Field | Description | Default | Validation |
|---|---|---|---|
metadata ObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | Optional: {} | |
spec VirtualMachineSpec | Spec is the VM specification. Accepted but not acted on in this release. |
VMSetUpdatePhase¶
Underlying type: string
VMSetUpdatePhase represents the phase of a VMSet update. Not populated in this release.
Validation: - Enum: [Pending InProgress Paused Completed Failed]
Appears in: - VMSetUpdateStatus
| Field | Description |
|---|---|
Pending | VMSetUpdatePhasePending indicates the update is pending |
InProgress | VMSetUpdatePhaseInProgress indicates the update is in progress |
Paused | VMSetUpdatePhasePaused indicates the update is paused |
Completed | VMSetUpdatePhaseCompleted indicates the update is completed |
Failed | VMSetUpdatePhaseFailed indicates the update failed |
VMSetUpdateStatus¶
VMSetUpdateStatus provides detailed update operation status. Not populated in this release.
Appears in: - VMSetStatus
| Field | Description | Default | Validation |
|---|---|---|---|
phase VMSetUpdatePhase | Phase represents the current phase of the update. Not populated in this release. | Enum: [Pending InProgress Paused Completed Failed] Optional: {} | |
message string | Message provides additional details about the update. Not populated in this release. | Optional: {} | |
startTime Time | StartTime is when the update started. Not populated in this release. | Optional: {} | |
completionTime Time | CompletionTime is when the update completed. Not populated in this release. | Optional: {} | |
updatedVMs string array | UpdatedVMs lists VMs that have been updated. Not populated in this release. | MaxItems: 1000 Optional: {} | |
pendingVMs string array | PendingVMs lists VMs that are pending update. Not populated in this release. | MaxItems: 1000 Optional: {} | |
failedVMs VMSetFailedVM array | FailedVMs lists VMs that failed to update. Not populated in this release. | MaxItems: 1000 Optional: {} |
VMSetUpdateStrategy¶
VMSetUpdateStrategy defines the update strategy for a VMSet. Accepted but not acted on in this release.
Appears in: - VMSetSpec
| Field | Description | Default | Validation |
|---|---|---|---|
type VMSetUpdateStrategyType | Type can be "RollingUpdate", "OnDelete" or "Recreate". Accepted but not acted on in this release. | RollingUpdate | Enum: [RollingUpdate OnDelete Recreate] Optional: {} |
rollingUpdate RollingUpdateVMSetStrategy | RollingUpdate is used when Type is RollingUpdate. Accepted but not acted on in this release. | Optional: {} |
VMSetUpdateStrategyType¶
Underlying type: string
VMSetUpdateStrategyType defines the type of update strategy. Accepted but not acted on in this release.
Validation: - Enum: [RollingUpdate OnDelete Recreate]
Appears in: - VMSetUpdateStrategy
| Field | Description |
|---|---|
RollingUpdate | RollingUpdateVMSetStrategyType replaces VMs one by one |
OnDelete | OnDeleteVMSetStrategyType replaces VMs only when manually deleted |
Recreate | RecreateVMSetStrategyType deletes all VMs before creating new ones |
VMSetVMStatus¶
VMSetVMStatus provides per-VM status information. Not populated in this release.
Appears in: - VMSetStatus
| Field | Description | Default | Validation |
|---|---|---|---|
name string | Name is the VM name. Not populated in this release. | ||
phase VirtualMachinePhase | Phase is the VM phase. Not populated in this release. | Enum: [Pending Provisioning Running Stopped Reconfiguring Deleting Failed] Optional: {} | |
ready boolean | Ready indicates if the VM is ready. Not populated in this release. | Optional: {} | |
revision string | Revision is the VM revision. Not populated in this release. | Optional: {} | |
creationTime Time | CreationTime is when the VM was created. Not populated in this release. | Optional: {} | |
lastUpdateTime Time | LastUpdateTime is when the VM was last updated. Not populated in this release. | Optional: {} | |
message string | Message provides additional VM status information. Not populated in this release. | Optional: {} |
VMSnapshot¶
VMSnapshot takes one snapshot of a VirtualMachine, through the VM's Provider, and records the result. Deleting the VMSnapshot deletes the provider snapshot. The VM must be in the VMSnapshot's namespace. To revert a VM to a snapshot, set spec.snapshot.revertToRef on the VirtualMachine.
Appears in: - VMSnapshotList
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | VMSnapshot | ||
metadata ObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
spec VMSnapshotSpec | |||
status VMSnapshotStatus |
VMSnapshotInfo¶
VMSnapshotInfo provides information about a VM snapshot
Appears in: - VirtualMachineStatus
| Field | Description | Default | Validation |
|---|---|---|---|
id string | ID is the provider-specific snapshot identifier | ||
name string | Name is the snapshot name | ||
creationTime Time | CreationTime is when the snapshot was created | ||
description string | Description provides additional context | Optional: {} | |
sizeBytes integer | SizeBytes is the size of the snapshot | Optional: {} | |
hasMemory boolean | HasMemory indicates if memory state is included | Optional: {} |
VMSnapshotList¶
VMSnapshotList contains a list of VMSnapshot
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | VMSnapshotList | ||
metadata ListMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
items VMSnapshot array |
VMSnapshotOperation¶
VMSnapshotOperation defines snapshot operations in VM spec
Appears in: - VirtualMachineSpec
| Field | Description | Default | Validation |
|---|---|---|---|
revertToRef LocalObjectReference | RevertToRef names a VMSnapshot, in the VM's namespace, to revert the VM to. The snapshot must have been taken of this VM (its spec.vmRef and status.vmUID) and be Ready. The revert is sent only while the VM is powered off and spec.powerState is Off or OffGraceful: the controller never powers a VM off for a revert, and does not power it on afterwards (spec.powerState decides that). It is sent at most once per request: status.snapshotRevert records the outcome, and while the field stays set to the same VMSnapshot nothing is sent again (a GitOps re-apply is a no-op). To revert to the same snapshot again, remove the field, then set it again; naming another VMSnapshot (another UID) is a new request. The SnapshotReverted condition reports the progress. | Optional: {} |
VMSnapshotSpec¶
VMSnapshotSpec defines the desired state of VMSnapshot. A VMSnapshot takes one snapshot of one VirtualMachine, through the VM's Provider. Of the spec, vmRef, snapshotConfig (name, description, includeMemory) and retentionPolicy (maxAge, deleteOnVMDelete) are acted on; schedule and metadata are accepted but not acted on in this release.
Appears in: - VMSnapshot
| Field | Description | Default | Validation |
|---|---|---|---|
vmRef LocalObjectReference | VMRef references the VirtualMachine to snapshot, by name, in the VMSnapshot's own namespace. | ||
snapshotConfig SnapshotConfig | SnapshotConfig defines snapshot configuration options. When it is omitted, the snapshot is named after the VMSnapshot and has no description and no memory state. | Optional: {} | |
retentionPolicy SnapshotRetentionPolicy | RetentionPolicy defines when the VMSnapshot, and with it the provider snapshot, is deleted automatically. Only maxAge and deleteOnVMDelete are acted on; the other fields are accepted but not acted on in this release. With no retentionPolicy a snapshot is kept until the VMSnapshot is deleted. | Optional: {} | |
schedule SnapshotSchedule | Schedule defines automated snapshot scheduling. Accepted but not acted on in this release: no controller reads it, and no snapshot is taken on a schedule. Create VMSnapshot objects yourself (for example from a CronJob). | Optional: {} | |
metadata SnapshotMetadata | Refer to Kubernetes API documentation for fields of metadata. | Optional: {} |
VMSnapshotStatus¶
VMSnapshotStatus defines the observed state of VMSnapshot. The controller writes snapshotID, phase, message, creationTime, taskRef, vmUID, boundProvider and conditions. completionTime, size, virtualSize, progress, providerStatus, children, parent and expiryTime are not populated in this release.
Appears in: - VMSnapshot
| Field | Description | Default | Validation |
|---|---|---|---|
snapshotID string | SnapshotID is the provider-specific identifier for the snapshot, as returned by the provider when the snapshot is created. On libvirt and Proxmox it is the snapshot's name; on vSphere it is the snapshot's managed object ID. | Optional: {} | |
phase SnapshotPhase | Phase represents the current phase of the snapshot. It is empty until the controller issues the create, then Creating, then Ready or Failed; it is Deleting while the VMSnapshot is being deleted. | Enum: [Pending Creating Ready Deleting Failed Expired] Optional: {} | |
message string | Message provides additional details about the current state | Optional: {} | |
creationTime Time | CreationTime is when the controller received the provider's answer to the create. It is the start of the age counted by retentionPolicy.maxAge. | Optional: {} | |
completionTime Time | CompletionTime is when the snapshot creation completed. Not populated in this release. | Optional: {} | |
size Quantity | Size is the size of the snapshot. Not populated in this release. | Optional: {} | |
virtualSize Quantity | VirtualSize is the virtual size of the snapshot. Not populated in this release. | Optional: {} | |
taskRef string | TaskRef is the provider task of an in-flight asynchronous snapshot create. The controller polls it until the task completes, then clears it. | Optional: {} | |
vmUID string | VMUID is the UID of the VirtualMachine the snapshot was taken of, recorded when its create is issued. A VirtualMachine deleted and re-created under the same name has another UID: the snapshot is never deleted or retained through it (no provider call is made), because on a provider whose snapshot ids are names the call could reach another VM's snapshot. Empty for a snapshot taken by an earlier release, which is bound on first reconcile when its VM was created before the snapshot. Written only by the operator. | MaxLength: 128 Optional: {} | |
boundProvider BoundProviderRef | BoundProvider is the Provider the snapshot was taken through, recorded with VMUID. The snapshot is deleted only through this same Provider (namespace, name and, when recorded, UID). Written only by the operator. | Optional: {} | |
conditions Condition array | Conditions represent the latest observations of the snapshot. Ready is True once the snapshot exists; Creating and Deleting are True while a create or a delete is in progress. | Optional: {} | |
observedGeneration integer | ObservedGeneration is the generation the controller recorded when it refused the snapshot because its VM uses a Provider in another namespace that does not allow it; it is not populated otherwise. Each condition carries its own observedGeneration. | Optional: {} | |
progress SnapshotProgress | Progress shows the snapshot creation progress. Not populated in this release. | Optional: {} | |
providerStatus object (keys:string, values:ProviderSnapshotStatus) | ProviderStatus contains provider-specific status information. Not populated in this release. | Optional: {} | |
children SnapshotRef array | Children lists child snapshots (for snapshot trees). Not populated in this release. | Optional: {} | |
parent SnapshotRef | Parent references the parent snapshot (for snapshot trees). Not populated in this release. | Optional: {} | |
expiryTime Time | ExpiryTime is when the snapshot will expire. Not populated in this release, so the Expires column of kubectl get is empty; a snapshot is deleted when retentionPolicy.maxAge has passed since status.creationTime. | Optional: {} |
VMTaintEffect¶
Underlying type: string
VMTaintEffect represents the effect of a taint. Accepted but not acted on in this release.
Validation: - Enum: [NoSchedule PreferNoSchedule NoExecute]
Appears in: - VMToleration
| Field | Description |
|---|---|
NoSchedule | VMTaintEffectNoSchedule means no new VMs will be scheduled |
PreferNoSchedule | VMTaintEffectPreferNoSchedule means avoid scheduling if possible |
NoExecute | VMTaintEffectNoExecute means existing VMs will be evicted |
VMToleration¶
VMToleration represents a toleration for VM placement. Accepted but not acted on in this release.
Appears in: - PlacementConstraints
| Field | Description | Default | Validation |
|---|---|---|---|
key string | Key is the taint key that the toleration applies to. Accepted but not acted on in this release. | MaxLength: 253 Optional: {} | |
operator VMTolerationOperator | Operator represents the relationship between the key and value. Accepted but not acted on in this release. | Equal | Enum: [Exists Equal] Optional: {} |
value string | Value is the taint value the toleration matches to. Accepted but not acted on in this release. | MaxLength: 253 Optional: {} | |
effect VMTaintEffect | Effect indicates the taint effect to match. Accepted but not acted on in this release. | Enum: [NoSchedule PreferNoSchedule NoExecute] Optional: {} | |
tolerationSeconds integer | TolerationSeconds represents the period of time the toleration tolerates the taint. Accepted but not acted on in this release. | Minimum: 0 Optional: {} |
VMTolerationOperator¶
Underlying type: string
VMTolerationOperator represents the operator for toleration. Accepted but not acted on in this release.
Validation: - Enum: [Exists Equal]
Appears in: - VMToleration
| Field | Description |
|---|---|
Exists | VMTolerationOpExists means the toleration exists |
Equal | VMTolerationOpEqual means the toleration equals the value |
VSphereImageSource¶
VSphereImageSource defines vSphere-specific image configuration. Set one of: - TemplateName: an existing vSphere template, by name or inventory path. Nothing is prepared; VMs are cloned from it. - OVAURL: an OVA to download and import as a template, when the first VM that uses the image is created. - ContentLibrary: accepted but not acted on in this release.
Setting OVAURL together with TemplateName or ContentLibrary is refused when the image is prepared.
Appears in: - ImageSource
| Field | Description | Default | Validation |
|---|---|---|---|
templateName string | TemplateName references an existing vSphere template by name. This can be a simple name, matched exactly against the VMs in the Provider's default datacenter, or an inventory path within that datacenter's VM folder (absolute, e.g. "/DC1/vm/templates/ubuntu", or relative to the VM folder, e.g. "templates/ubuntu"; an absolute path in any other datacenter is rejected). It must name an object marked as a vSphere template: a regular VM (running or powered off) is never used as a clone source, a name matching more than one template is rejected (use an inventory path), and a name of the form "vm-" followed only by digits is rejected. | MaxLength: 255 Optional: {} | |
contentLibrary ContentLibraryRef | ContentLibrary references a vSphere content library item. Accepted but not acted on in this release: the provider does not resolve content library items, so a VM cannot be created from an image that has only this source. Use templateName or ovaURL. | Optional: {} | |
ovaURL string | OVAURL is the URL of an OVA file to import as a vSphere template. The vSphere provider downloads it and imports it when the first VM that uses the image is created; the template is named after the VMImage's namespace, name, UID and source and is reused by later VMs. The scheme must be http or https, and a bare .ovf is refused when the image is prepared (publish an .ova). The provider refuses addresses such as loopback and link-local ones. Keep credentials out of the URL: it is part of the VMImage, which other namespaces may be able to read (see docs/image-preparation.md). | Pattern: ^https?://.*\.(ova\|ovf)$ Optional: {} | |
checksum string | Checksum is the expected checksum of the downloaded OVA: the hex digest only, without an algorithm prefix, compared case-insensitively. It is checked when the OVA is imported (ovaURL) and a mismatch fails the prepare; it is not used with templateName. Empty disables the check. | Optional: {} | |
checksumType ChecksumType | ChecksumType specifies the checksum algorithm: md5, sha1, sha256 or sha512. | sha256 | Enum: [md5 sha1 sha256 sha512] Optional: {} |
providerRef LocalObjectReference | ProviderRef references the vSphere provider for importing. Accepted but not acted on in this release: an image is prepared through the Provider of the VirtualMachine that uses it. | Optional: {} |
VSphereNetworkConfig¶
VSphereNetworkConfig defines vSphere-specific network settings. Only portgroup is acted on: for the first entry of the VM's spec.networks the vSphere provider adds a vmxnet3 adapter on the network of that name; the template's own adapters are left unchanged. The other fields are accepted but not acted on in this release.
Appears in: - NetworkConfig
| Field | Description | Default | Validation |
|---|---|---|---|
portgroup string | Portgroup is the name of the vSphere network that the added vmxnet3 adapter is attached to. The vSphere provider uses it for the first entry of the VM's spec.networks only. | MaxLength: 255 Optional: {} | |
distributedSwitch DistributedSwitchConfig | DistributedSwitch specifies the distributed virtual switch. Accepted but not acted on in this release. This applies to every field below it. | Optional: {} | |
vlan VLANConfig | VLAN specifies the VLAN configuration. Accepted but not acted on in this release. This applies to every field below it: the manager forwards vlan.vlanID, but the vSphere provider does not use it, so the VLAN is the one the portgroup is configured with. | Optional: {} | |
security PortgroupSecurityConfig | Security defines portgroup security settings. Accepted but not acted on in this release. This applies to every field below it. | Optional: {} | |
trafficShaping TrafficShapingConfig | TrafficShaping defines traffic shaping settings. Accepted but not acted on in this release. This applies to every field below it. | Optional: {} | |
pciSlotNumber integer | PCISlotNumber specifies the PCI slot number for the network adapter. Accepted but not acted on in this release. The manager forwards it to the provider, but the vSphere provider does not use it, so it does not control the guest's interface name. | Maximum: 1024 Minimum: 32 Optional: {} | |
adapterType string | AdapterType specifies the network adapter type. Accepted but not acted on in this release. The vSphere provider always creates a vmxnet3 adapter. | vmxnet3 | Enum: [vmxnet3 e1000 e1000e] Optional: {} |
VSphereStorageOptions¶
VSphereStorageOptions defines vSphere storage preparation options. Accepted but not acted on in this release.
Appears in: - StoragePrepareOptions
| Field | Description | Default | Validation |
|---|---|---|---|
datastore string | Datastore specifies the target datastore for import. Accepted but not acted on in this release. | MaxLength: 255 Optional: {} | |
folder string | Folder specifies the target folder for import. Accepted but not acted on in this release: an OVA is imported into the Provider's spec.defaults.folder. | MaxLength: 255 Optional: {} | |
thinProvisioned boolean | ThinProvisioned indicates whether to use thin provisioning. Accepted but not acted on in this release. | Optional: {} | |
diskType string | DiskType specifies the disk provisioning type. Accepted but not acted on in this release. | Enum: [thin thick eagerzeroedthick] Optional: {} |
ValidationChecks¶
ValidationChecks defines validation checks to perform. Accepted but not acted on in this release.
Appears in: - MigrationOptions
| Field | Description | Default | Validation |
|---|---|---|---|
checkDiskSize boolean | CheckDiskSize verifies disk size matches. Accepted but not acted on in this release. | true | Optional: {} |
checkChecksum boolean | CheckChecksum verifies checksums match. Accepted but not acted on in this release. | true | Optional: {} |
checkBoot boolean | CheckBoot verifies VM boots successfully. Accepted but not acted on in this release. | false | Optional: {} |
checkConnectivity boolean | CheckConnectivity tests network connectivity. Accepted but not acted on in this release. | false | Optional: {} |
ValidationResult¶
ValidationResult represents a validation result for a provider. Not populated in this release.
Appears in: - VMClassStatus
| Field | Description | Default | Validation |
|---|---|---|---|
valid boolean | Valid indicates if the class is valid for the provider. Not populated in this release. | ||
message string | Message provides details about the validation result. Not populated in this release. | Optional: {} | |
warnings string array | Warnings lists any validation warnings. Not populated in this release. | Optional: {} | |
lastValidated Time | LastValidated is when this validation was last performed. Not populated in this release. | Optional: {} |
ValidationResults¶
ValidationResults contains results of validation checks. Not populated in this release.
Appears in: - VMMigrationStatus
| Field | Description | Default | Validation |
|---|---|---|---|
diskSizeMatch boolean | DiskSizeMatch indicates if disk sizes match | Optional: {} | |
checksumMatch boolean | ChecksumMatch indicates if checksums match | Optional: {} | |
bootSuccess boolean | BootSuccess indicates if the target VM booted successfully | Optional: {} | |
connectivitySuccess boolean | ConnectivitySuccess indicates if network connectivity works | Optional: {} | |
validationErrors string array | ValidationErrors lists any validation errors | Optional: {} |
VirtualMachine¶
VirtualMachine is the Schema for the virtualmachines API.
spec.providerRef is locked once the VM is bound (status.id or status.placement.pendingHost set in the STORED object). The rule below is a transition rule, evaluated only on update; it lives on the root so it can read the stored status. With the status subresource enabled, a main-resource update is validated against the stored status and a status update carries the stored spec, so neither path can unlock or change it. providerRef is compared as a whole: an unset namespace equals only an unset namespace (an explicit "" is rejected by the ObjectRef pattern), so unset -> explicit is a change. (A per-field comparison through conditional expressions exceeds the apiserver's static CEL cost budget; whole-object equality does not.)
spec.classRef and spec.resources are locked while a clustered create is pending: status.placement.pendingHost set and status.id still empty in the STORED object. The scheduler admitted the VM at that size and every other schedule counts the pending VM at it, so its owner must not grow it before the create lands. Once the VM is created, its size is counted from status.currentResources and a resize-up is admitted against the host's capacity instead. A transition rule on the root, like the providerRef rule above; both are compared as whole objects.
Appears in: - VirtualMachineList
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | VirtualMachine | ||
metadata ObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
spec VirtualMachineSpec | |||
status VirtualMachineStatus |
VirtualMachineLifecycle¶
VirtualMachineLifecycle defines lifecycle configuration for a VM. Accepted but not acted on in this release.
Appears in: - VirtualMachineSpec
| Field | Description | Default | Validation |
|---|---|---|---|
preStop LifecycleHandler | PreStop defines actions to take before stopping the VM. Accepted but not acted on in this release. | Optional: {} | |
postStart LifecycleHandler | PostStart defines actions to take after starting the VM. Accepted but not acted on in this release. | Optional: {} | |
gracefulShutdownTimeout Duration | GracefulShutdownTimeout defines how long to wait for graceful shutdown. Accepted but not acted on in this release. | 60s | Optional: {} |
VirtualMachineList¶
VirtualMachineList contains a list of VirtualMachine
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string | infra.virtrigaud.io/v1beta1 | ||
kind string | VirtualMachineList | ||
metadata ListMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
items VirtualMachine array |
VirtualMachinePhase¶
Underlying type: string
VirtualMachinePhase represents the phase of a VM
Validation: - Enum: [Pending Provisioning Running Stopped Reconfiguring Deleting Failed]
Appears in: - VMSetVMStatus - VirtualMachineStatus
| Field | Description |
|---|---|
Pending | VirtualMachinePhasePending indicates the VM is waiting to be processed |
Provisioning | VirtualMachinePhaseProvisioning indicates the VM is being created |
Running | VirtualMachinePhaseRunning indicates the VM is running |
Stopped | VirtualMachinePhaseStopped indicates the VM is stopped |
Reconfiguring | VirtualMachinePhaseReconfiguring indicates the VM is being reconfigured |
Deleting | VirtualMachinePhaseDeleting indicates the VM is being deleted |
Failed | VirtualMachinePhaseFailed indicates the VM is in a failed state |
VirtualMachineResources¶
VirtualMachineResources defines resource overrides for a VM
Appears in: - VirtualMachineSpec - VirtualMachineStatus
| Field | Description | Default | Validation |
|---|---|---|---|
cpu integer | CPU specifies the number of virtual CPUs | Maximum: 128 Minimum: 1 Optional: {} | |
memoryMiB integer | MemoryMiB specifies the amount of memory in MiB | Maximum: 1.048576e+06 Minimum: 128 Optional: {} | |
gpu GPUConfig | GPU specifies GPU configuration. Accepted but not acted on in this release: no GPU is requested from the provider. | Optional: {} |
VirtualMachineSpec¶
VirtualMachineSpec defines the desired state of VirtualMachine.
Appears in: - VMSetTemplate - VirtualMachine
| Field | Description | Default | Validation |
|---|---|---|---|
providerRef ObjectRef | ProviderRef references the Provider that manages this VM. On a VirtualMachine it is immutable once the VM is bound to a hypervisor VM (status.id or status.placement.pendingHost is set): every per-VM call addresses the VM by its provider id, which is meaningful only on the Provider that assigned it. Before binding (e.g. to fix a typo after a failed create) it may still be changed. An unset namespace means the VM's own; changing it from unset to an explicit namespace also counts as a change. | ||
classRef ObjectRef | ClassRef references the VMClass that defines resource allocation | ||
imageRef ObjectRef | ImageRef references the VMImage to use as base template. Either ImageRef or ImportedDisk must be specified, but not both. | Optional: {} | |
importedDisk ImportedDiskRef | ImportedDisk references a pre-imported disk (e.g., from migration). Either ImageRef or ImportedDisk must be specified, but not both. | Optional: {} | |
networks VMNetworkRef array | Networks specifies network attachments for the VM | MaxItems: 10 Optional: {} | |
disks DiskSpec array | Disks specifies additional disks beyond the root disk. The vSphere provider attaches them at create. The libvirt and Proxmox providers attach none: a VM on such a Provider reports DisksApplied=False (reason NotSupportedByProvider), and the spec is not refused. | MaxItems: 20 Optional: {} | |
userData UserData | UserData contains cloud-init configuration | Optional: {} | |
metaData MetaData | MetaData contains cloud-init metadata configuration | Optional: {} | |
placement Placement | Placement provides hints for VM placement. Cluster, datastore, storagePod and folder are sent to the provider with the create request and are used by the vSphere provider only; the libvirt and Proxmox providers do not use them when creating a VM. host and resourcePool are accepted but not acted on in this release. On a clustered Provider the scheduler chooses the host (see status.placement and spec.placementRef). | Optional: {} | |
powerState PowerState | PowerState specifies the desired power state | Enum: [On Off OffGraceful] Optional: {} | |
tags string array | Tags are sent to the provider with the create request. No provider applies them to the hypervisor VM in this release. | MaxItems: 50 Optional: {} | |
resources VirtualMachineResources | Resources allows overriding resource allocation from the VMClass | Optional: {} | |
placementRef LocalObjectReference | PlacementRef references a VMPlacementPolicy for advanced placement rules | Optional: {} | |
snapshot VMSnapshotOperation | Snapshot defines snapshot-related operations | Optional: {} | |
lifecycle VirtualMachineLifecycle | Lifecycle defines VM lifecycle configuration. Accepted but not acted on in this release: no preStop or postStart handler runs and gracefulShutdownTimeout is not used. | Optional: {} |
VirtualMachineStatus¶
VirtualMachineStatus defines the observed state of VirtualMachine.
Appears in: - VirtualMachine
| Field | Description | Default | Validation |
|---|---|---|---|
id string | ID is the provider-specific identifier for this VM | Optional: {} | |
powerState ObservedPowerState | PowerState reflects the current power state as the provider reports it: On, Off, or — from a provider that can tell (libvirt) — Suspended (the VM is paused or suspended to RAM: still active, not powered off) or Unknown. While a VM is Suspended or Unknown it is not reconfigured and not powered on; a Suspended VM whose spec.powerState is Off is powered off (hard), while OffGraceful is held until the VM is resumed (a suspended guest cannot shut down gracefully). | Enum: [On Off OffGraceful Suspended Unknown] Optional: {} | |
ips string array | IPs lists the addresses a user can reach the VM on, in the order the provider reported them, without duplicates: private, IPv6 unique-local and global addresses, IPv4 and IPv6. Loopback (127.0.0.0/8, ::1), unspecified (0.0.0.0, ::), link-local (169.254.0.0/16, fe80::/10) and multicast addresses are never listed. It is empty while the provider cannot see an address, for example while the guest tools (VMware Tools, the QEMU guest agent) are not running in the guest. | Optional: {} | |
consoleURL string | ConsoleURL provides access to the VM console | Optional: {} | |
conditions Condition array | Conditions represent the latest available observations | Optional: {} | |
observedGeneration integer | ObservedGeneration reflects the generation observed by the controller | Optional: {} | |
lastTaskRef string | LastTaskRef references the last async operation | Optional: {} | |
provider object (keys:string, values:string) | Provider contains provider-specific details the provider reported when it last described the VM (and, for an adopted VM, when it was adopted). | Optional: {} | |
reconfigureTaskRef string | ReconfigureTaskRef tracks reconfiguration operations | Optional: {} | |
lastReconfigureTime Time | LastReconfigureTime records when the last reconfiguration occurred | Optional: {} | |
currentResources VirtualMachineResources | CurrentResources shows the current resource allocation | Optional: {} | |
snapshots VMSnapshotInfo array | Snapshots lists available snapshots for this VM. Not populated in this release; list the VMSnapshot objects whose spec.vmRef names the VM instead. | Optional: {} | |
phase VirtualMachinePhase | Phase is the VM's phase, derived by the controller from the rest of its status on every status write (never set by hand): Pending (not created yet: waiting for its Provider, class, image or placement), Provisioning (a create is requested or in flight, or its outcome is not known), Running or Stopped (by status.powerState; a suspended VM counts as Running), Reconfiguring (a resize is in flight), Deleting (the VM is being deleted, also while the delete is held) and Failed (a hold that needs an operator, such as VMNotOwned, OwnerStampUnreadable, ConsumerNotAllowed or CreateOutcomeUnknown; a create the provider refused; or a power state the provider cannot classify). The Ready condition's reason says why. | Enum: [Pending Provisioning Running Stopped Reconfiguring Deleting Failed] Optional: {} | |
message string | Message provides additional details about the current state | Optional: {} | |
placement PlacementStatus | Placement records where the scheduler of a clustered Provider (spec.topology=cluster) bound this VM. It is the durable record of which host runs the VM. The operator writes the host only after the provider confirms the VM is on it (create success), never speculatively. Empty for VMs on single-host Providers, which have no operator-owned placement decision. | Optional: {} | |
boundProvider BoundProviderRef | BoundProvider records the Provider this VM was bound through: the one whose hypervisor assigned status.id (or, for a clustered create in flight, the one status.placement.pendingHost belongs to). The operator writes it in the same status write that binds the VM (VM create, clone, adoption) and, for a VM bound before this field existed, backfills it on the first reconcile from spec.providerRef. While the VM is bound, the operator makes no provider call for it — and its finalizer does not delete through a Provider — unless spec.providerRef still resolves to this Provider (same namespace and name and, when recorded, UID); otherwise the VM reports Ready=False/ProviderRefMismatch. A deliberately re-created Provider (new UID) is re-accepted by an administrator clearing this field through the status subresource. | Optional: {} | |
snapshotRevert SnapshotRevertStatus | SnapshotRevert records the revert spec.snapshot.revertToRef requests: the VMSnapshot it is for (name and UID), its phase and outcome. While it records Succeeded or Failed for the VMSnapshot the field names, nothing is sent again. Cleared when spec.snapshot.revertToRef is removed. Written only by the operator. | Optional: {} |
WeightedVMAffinityTerm¶
WeightedVMAffinityTerm defines a weighted VM affinity term.
Appears in: - VMAffinity - VMAntiAffinity
| Field | Description | Default | Validation |
|---|---|---|---|
weight integer | Weight is added to (affinity) or subtracted from (anti-affinity) the rank of a Host that runs a VM matching the term. | Maximum: 100 Minimum: 1 | |
vmAffinityTerm VMAffinityTerm | VMAffinityTerm defines the VM affinity term |
ZoneAffinityRule¶
ZoneAffinityRule defines zone affinity rules. Accepted but not acted on in this release.
Appears in: - AffinityRules
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled indicates if zone affinity is enabled. Accepted but not acted on in this release. | ||
preferredZones string array | PreferredZones lists preferred zones. Accepted but not acted on in this release. | MaxItems: 10 Optional: {} | |
scope string | Scope defines the scope of the affinity rule. Accepted but not acted on in this release. | Enum: [strict preferred] Optional: {} |
ZoneAntiAffinityRule¶
ZoneAntiAffinityRule defines zone anti-affinity rules. Accepted but not acted on in this release.
Appears in: - AntiAffinityRules
| Field | Description | Default | Validation |
|---|---|---|---|
enabled boolean | Enabled indicates if zone anti-affinity is enabled. Accepted but not acted on in this release. | ||
maxVMsPerZone integer | MaxVMsPerZone limits the number of VMs per zone. Accepted but not acted on in this release. | Maximum: 10000 Minimum: 1 Optional: {} | |
scope string | Scope defines the scope of the anti-affinity rule. Accepted but not acted on in this release. | Enum: [strict preferred] Optional: {} |