# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TODO Namespace could be different, also store it somewhere in the domain, so that we can report deletes on handler startup properly.
No description provided by the author
No description provided by the author
Given a VirtualMachineInstance, create a NodeSelectorTerm with anti-affinity for that VirtualMachineInstance's node.
RegisterDefaults adds defaulters functions to the given scheme.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Given a VirtualMachineInstance, update all NodeSelectorTerms with anti-affinity for that VirtualMachineInstance's node.
# Constants
This label marks resources that belong to KubeVirt.
CacheNone - I/O from the guest is not cached on the host, but may be kept in a writeback disk cache.
CacheWriteThrough - I/O from the guest is cached on the host but written through to the physical medium.
No description provided by the author
No description provided by the author
This label is used to match virtual machine instance IDs with pods.
No description provided by the author
No description provided by the author
This annotation is used to match virtual machine instances represented as libvirt XML domains with their pods.
Failed means that the vmi crashed, disappeared unexpectedly or got deleted from the cluster before it was ever started.
GroupName is the group name use in this package.
a disk image must exist at given disk path.
if disk does not exist at the given path, a disk image will be created there.
HPETTickPolicyCatchup Delivers ticks at a higher rate to catch up with the missed tick.
HPETTickPolicyDelay delivers ticks at a constant rate.
HPETTickPolicyDiscard discards all missed ticks.
HPETTickPolicyMerge merges the missed tick(s) into one tick and inject.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The migration failed.
This label is used to indicate that this pod is the target of a migration job.
Represents the name of the migration job this target pod is associated with.
The migration is accepted by the system.
These are the valid migration phases.
The migration's target pod is being prepared for migration.
The migration is in progress.
The migration's target pod is running.
The migration's target pod is being scheduled.
The migration passed.
This label describes which cluster node runs the target Pod for a Virtual Machine Instance migration job.
The migration's target pod is prepared and ready for migration.
This label describes which cluster node runs the virtual machine instance.
This label declares whether a particular node is available for scheduling virtual machine instances on it.
No description provided by the author
This annotation defines which KubeVirt component owns the resource.
Pending means the VirtualMachineInstance has been accepted by the system.
PITTickPolicyCatchup Delivers ticks at a higher rate to catch up with the missed tick.
PITTickPolicyDelay delivers ticks at a constant rate.
PITTickPolicyDiscard discards all missed ticks.
No description provided by the author
No description provided by the author
No description provided by the author
RTCTickPolicyCatchup Delivers ticks at a higher rate to catch up with the missed tick.
RTCTickPolicyDelay delivers ticks at a constant rate.
Running means the pod has been bound to a node and the VirtualMachineInstance is started.
A target pod was scheduled and the system saw that Pod in runnig state.
A target Pod exists but is not yet scheduled and in running state.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Succeeded means that the VirtualMachineInstance stopped voluntarily, e.g.
No description provided by the author
TrackGuest tracks the guest time.
TrackWall tracks the host time.
TrayStateClosed indicates that the tray of a cdrom or floppy is closed.
TrayStateOpen indicates that the tray of a cdrom or floppy is open.
Unknown means that for some reason the state of the VirtualMachineInstance could not be obtained, typically due to an error in communicating with the host of the VirtualMachineInstance.
This annotation is regularly updated by virt-handler to help determine if a particular node is alive and hence should be available for new virtual machine instance scheduling.
VirtualMachineFailure is added in a virtual machine when its vmi fails to be created due to insufficient quota, limit ranges, pod security policy, node selectors, etc.
No description provided by the author
VMIReady means the pod is able to service requests and should be added to the load balancing pools of all matching services.
VirtualMachineInstanceReplicaSetReplicaFailure is added in a replica set when one of its vmis fails to be created due to insufficient quota, limit ranges, pod security policy, node selectors, etc.
VirtualMachineInstanceReplicaSetReplicaPaused is added in a replica set when the replica set got paused by the controller.
If there happens any error while trying to synchronize the VirtualMachineInstance with the Domain, this is reported as false.
When a VirtualMachineInstance Object is first initialized and no phase, or Pending is present.
WatchdogActionPoweroff will poweroff the vmi if the watchdog gets triggered.
WatchdogActionReset will reset the vmi if the watchdog gets triggered.
WatchdogActionShutdown will shutdown the vmi if the watchdog gets triggered.
# Variables
No description provided by the author
No description provided by the author
GroupVersion is group version used to register these objects.
No description provided by the author
No description provided by the author
No description provided by the author
GroupVersion is group version used to register these objects.
No description provided by the author
GroupVersionKind.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
--- +k8s:openapi-gen=true.
Represents the clock and timers of a vmi.
Exactly one of its members must be set.
UTC sets the guest clock to UTC on each boot.
Represents a cloud-init nocloud user data source.
Represents the cni network.
ConfigMapVolumeSource adapts a ConfigMap into a volume.
CPU allows specifying the CPU topology.
--- +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
Represents the target of a volume to mount.
--- +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
EmptyDisk represents a temporary disk which shares the vmis lifecycle.
--- +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
Hyperv specific features.
--- +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
Represents if a feature is enabled or disabled.
--- +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
Represents a disk created on the cluster level --- +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
Hugepages allow to use hugepages for the VirtualMachineInstance instead of regular memory.
--- +k8s:openapi-gen=true.
i6300esb watchdog device.
--- +k8s:openapi-gen=true.
Represents the method which will be used to connect the interface to the guest.
--- +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
Memory allows specifying the VirtualMachineInstance memory features.
Network represents a network type and a resource that should be connected to the vm.
Represents the source resource that will be connected to the vm.
--- +k8s:openapi-gen=true.
Represents the stock pod network interface.
Port repesents a port to expose from the virtual machine.
Represents a docker image with an embedded disk.
--- +k8s:openapi-gen=true.
Rng represents the random device passed from host --- +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
SecretVolumeSource adapts a Secret into a volume.
ServiceAccountVolumeSource adapts a ServiceAccount into a volume.
Represents all available timers in a vmi.
VirtualMachine handles the VirtualMachines that are not running or are in a stopped state The VirtualMachine contains the template to create the VirtualMachineInstance.
VirtualMachineCondition represents the state of VirtualMachine --- +k8s:openapi-gen=true.
VirtualMachineInstance is *the* VirtualMachineInstance Definition.
--- +k8s:openapi-gen=true.
VirtualMachineInstanceList is a list of VirtualMachines --- +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true.
VirtualMachineInstanceMigration represents the object tracking a VMI's migration to another host in the cluster --- +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true.
VirtualMachineInstanceMigrationList is a list of VirtualMachineMigrations --- +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
No description provided by the author
VirtualMachineInstanceMigration reprents information pertaining to a VMI's migration.
--- +k8s:openapi-gen=true.
--- +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true.
VirtualMachineInstancePresetList is a list of VirtualMachinePresets --- +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
VirtualMachineInstance is *the* VirtualMachineInstance Definition.
--- +k8s:openapi-gen=true.
VMIList is a list of VMIs --- +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
VirtualMachineInstanceSpec is a description of a VirtualMachineInstance.
VirtualMachineInstanceStatus represents information about the status of a VirtualMachineInstance.
--- +k8s:openapi-gen=true.
VirtualMachineList is a list of virtualmachines --- +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true.
VirtualMachineSpec describes how the proper VirtualMachine should look like --- +k8s:openapi-gen=true.
VirtualMachineStatus represents the status returned by the controller to describe how the VirtualMachine is doing --- +k8s:openapi-gen=true.
No description provided by the author
Volume represents a named volume in a vmi.
Represents the source of a volume to mount.
Named watchdog device.
Hardware watchdog device.
# Type aliases
ClockOffsetTimezone sets the guest clock to the specified timezone.
--- +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
HPETTickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest.
No description provided by the author
PITTickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest.
RTCTickPolicy determines what happens when QEMU misses a deadline for injecting a tick to the guest.
RTCTimerTrack specifies from which source to track the time.
--- +k8s:openapi-gen=true.
TrayState indicates if a tray of a cdrom or floppy is open or closed.
--- +k8s:openapi-gen=true.
--- +k8s:openapi-gen=true.
VirtualMachineInstanceMigrationPhase is a label for the condition of a VirtualMachineInstanceMigration at the current time.
VirtualMachineInstancePhase is a label for the condition of a VirtualMachineInstance at the current time.
--- +k8s:openapi-gen=true.
WatchdogAction defines the watchdog action, if a watchdog gets triggered.