VirtualMachineClusterPreference [virtualmachineclusterpreferences.instancetype.kubevirt.io/v1beta1]
- Description
- VirtualMachineClusterPreference is a cluster scoped version of the VirtualMachinePreference resource.
- Type
object- Required
spec
Specification
.spec
- Description
- Required spec describing the preferences
- Type
object
.spec.annotations
- Description
- Optionally defines preferred Annotations to be applied to the VirtualMachineInstance
- Type
object
.spec.clock
- Description
- Clock optionally defines preferences associated with the Clock attribute of a VirtualMachineInstance DomainSpec
- Type
object
.spec.clock.preferredClockOffset
- Description
- ClockOffset allows specifying the UTC offset or the timezone of the guest clock.
- Type
object
.spec.clock.preferredClockOffset.utc
- Description
- UTC sets the guest clock to UTC on each boot. If an offset is specified, guest changes to the clock will be kept during reboots and are not reset.
- Type
object
.spec.clock.preferredTimer
- Description
- Timer specifies whih timers are attached to the vmi.
- Type
object
.spec.clock.preferredTimer.hpet
- Description
- HPET (High Precision Event Timer) - multiple timers with periodic interrupts.
- Type
object
.spec.clock.preferredTimer.hyperv
- Description
- Hyperv (Hypervclock) - lets guests read the host’s wall clock time (paravirtualized). For windows guests.
- Type
object
.spec.clock.preferredTimer.kvm
- Description
- KVM (KVM clock) - lets guests read the host’s wall clock time (paravirtualized). For linux guests.
- Type
object
.spec.clock.preferredTimer.pit
- Description
- PIT (Programmable Interval Timer) - a timer with periodic interrupts.
- Type
object
.spec.clock.preferredTimer.rtc
- Description
- RTC (Real Time Clock) - a continuously running timer with periodic interrupts.
- Type
object
.spec.cpu
- Description
- CPU optionally defines preferences associated with the CPU attribute of a VirtualMachineInstance DomainSpec
- Type
object
.spec.cpu.preferredCPUFeatures
- Description
- PreferredCPUFeatures optionally defines a slice of preferred CPU features.
- Type
array
.spec.cpu.preferredCPUFeatures[]
- Description
- CPUFeature allows specifying a CPU feature.
- Type
object- Required
name
.spec.cpu.spreadOptions
- Type
object
.spec.devices
- Description
- Devices optionally defines preferences associated with the Devices attribute of a VirtualMachineInstance DomainSpec
- Type
object
.spec.devices.preferredDiskBlockSize
- Description
- PreferredBlockSize optionally defines the block size of Disk devices.
- Type
object
.spec.devices.preferredDiskBlockSize.custom
- Description
- CustomBlockSize represents the desired logical and physical block size for a VM disk.
- Type
object
.spec.devices.preferredDiskBlockSize.matchVolume
- Description
- Represents if a feature is enabled or disabled.
- Type
object
.spec.devices.preferredInterfaceMasquerade
- Description
- PreferredInterfaceMasquerade optionally defines the preferred masquerade configuration to use with each network interface.
- Type
object
.spec.devices.preferredRng
- Description
- PreferredRng optionally defines the preferred rng device to be used.
- Type
object
.spec.devices.preferredTPM
- Description
- PreferredTPM optionally defines the preferred TPM device to be used.
- Type
object
.spec.devices.preferredVirtualGPUOptions
- Description
- PreferredVirtualGPUOptions optionally defines the preferred value of VirtualGPUOptions
- Type
object
.spec.devices.preferredVirtualGPUOptions.display
- Type
object
.spec.devices.preferredVirtualGPUOptions.display.ramFB
- Description
- Enables a boot framebuffer, until the guest OS loads a real GPU driver Defaults to true.
- Type
object
.spec.features
- Description
- Features optionally defines preferences associated with the Features attribute of a VirtualMachineInstance DomainSpec
- Type
object
.spec.features.preferredAcpi
- Description
- PreferredAcpi optionally enables the ACPI feature
- Type
object
.spec.features.preferredApic
- Description
- PreferredApic optionally enables and configures the APIC feature
- Type
object
.spec.features.preferredHyperv
- Description
- PreferredHyperv optionally enables and configures HyperV features
- Type
object
.spec.features.preferredHyperv.evmcs
- Description
- EVMCS Speeds up L2 vmexits, but disables other virtualization features. Requires vapic. Defaults to the machine type setting.
- Type
object
.spec.features.preferredHyperv.frequencies
- Description
- Frequencies improves the TSC clock source handling for Hyper-V on KVM. Defaults to the machine type setting.
- Type
object
.spec.features.preferredHyperv.ipi
- Description
- IPI improves performances in overcommited environments. Requires vpindex. Defaults to the machine type setting.
- Type
object
.spec.features.preferredHyperv.reenlightenment
- Description
- Reenlightenment enables the notifications on TSC frequency changes. Defaults to the machine type setting.
- Type
object
.spec.features.preferredHyperv.relaxed
- Description
- Relaxed instructs the guest OS to disable watchdog timeouts. Defaults to the machine type setting.
- Type
object
.spec.features.preferredHyperv.reset
- Description
- Reset enables Hyperv reboot/reset for the vmi. Requires synic. Defaults to the machine type setting.
- Type
object
.spec.features.preferredHyperv.runtime
- Description
- Runtime improves the time accounting to improve scheduling in the guest. Defaults to the machine type setting.
- Type
object
.spec.features.preferredHyperv.spinlocks
- Description
- Spinlocks allows to configure the spinlock retry attempts.
- Type
object
.spec.features.preferredHyperv.synic
- Description
- SyNIC enables the Synthetic Interrupt Controller. Defaults to the machine type setting.
- Type
object
.spec.features.preferredHyperv.synictimer
- Description
- SyNICTimer enables Synthetic Interrupt Controller Timers, reducing CPU load. Defaults to the machine type setting.
- Type
object
.spec.features.preferredHyperv.synictimer.direct
- Description
- Represents if a feature is enabled or disabled.
- Type
object
.spec.features.preferredHyperv.tlbflush
- Description
- TLBFlush improves performances in overcommited environments. Requires vpindex. Defaults to the machine type setting.
- Type
object
.spec.features.preferredHyperv.vapic
- Description
- VAPIC improves the paravirtualized handling of interrupts. Defaults to the machine type setting.
- Type
object
.spec.features.preferredHyperv.vendorid
- Description
- VendorID allows setting the hypervisor vendor id. Defaults to the machine type setting.
- Type
object
.spec.features.preferredHyperv.vpindex
- Description
- VPIndex enables the Virtual Processor Index to help windows identifying virtual processors. Defaults to the machine type setting.
- Type
object
.spec.features.preferredKvm
- Description
- PreferredKvm optionally enables and configures KVM features
- Type
object
.spec.features.preferredPvspinlock
- Description
- PreferredPvspinlock optionally enables the Pvspinlock feature
- Type
object
.spec.features.preferredSmm
- Description
- PreferredSmm optionally enables the SMM feature
- Type
object
.spec.firmware
- Description
- Firmware optionally defines preferences associated with the Firmware attribute of a VirtualMachineInstance DomainSpec
- Type
object
.spec.firmware.preferredEfi
- Description
- PreferredEfi optionally enables EFI
- Type
object
.spec.machine
- Description
- Machine optionally defines preferences associated with the Machine attribute of a VirtualMachineInstance DomainSpec
- Type
object
.spec.requirements
- Description
- Requirements defines the minium amount of instance type defined resources required by a set of preferences
- Type
object
.spec.requirements.cpu
- Description
- Required CPU related attributes of the instancetype.
- Type
object- Required
guest
.spec.requirements.memory
- Description
- Required Memory related attributes of the instancetype.
- Type
object- Required
guest
.spec.volumes
- Description
- Volumes optionally defines preferences associated with the Volumes attribute of a VirtualMachineInstace DomainSpec
- Type
object
API Endpoints
The following API endpoints are available:
/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineclusterpreferencesDELETE: delete collection of VirtualMachineClusterPreferenceGET: list objects of kind VirtualMachineClusterPreferencePOST: create a new VirtualMachineClusterPreference
/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineclusterpreferences/{name}DELETE: delete the specified VirtualMachineClusterPreferenceGET: read the specified VirtualMachineClusterPreferencePATCH: partially update the specified VirtualMachineClusterPreferencePUT: replace the specified VirtualMachineClusterPreference
/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineclusterpreferences
- HTTP method
DELETE- Description
- delete collection of VirtualMachineClusterPreference
- HTTP responses
- HTTP method
GET- Description
- list objects of kind VirtualMachineClusterPreference
- HTTP responses
- HTTP method
POST- Description
- create a new VirtualMachineClusterPreference
- Query parameters
- Body parameters
- HTTP responses
/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineclusterpreferences/{name}
- HTTP method
DELETE- Description
- delete the specified VirtualMachineClusterPreference
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified VirtualMachineClusterPreference
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified VirtualMachineClusterPreference
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified VirtualMachineClusterPreference
- Query parameters
- Body parameters
- HTTP responses