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