VirtualMachineClusterInstancetype [virtualmachineclusterinstancetypes.instancetype.kubevirt.io/v1beta1]
- 描述
- VirtualMachineClusterInstancetype is a cluster scoped version of VirtualMachineInstancetype resource.
- 类型
object- 必填
spec
规格
.spec
- 描述
- Required spec describing the instancetype
- 类型
object- 必填
cpumemory
.spec.annotations
- 描述
- Optionally defines the required Annotations to be used by the instance type and applied to the VirtualMachineInstance
- 类型
object
.spec.cpu
- 描述
- Required CPU related attributes of the instancetype.
- 类型
object- 必填
guest
.spec.cpu.numa
- 描述
- NUMA allows specifying settings for the guest NUMA topology
- 类型
object
.spec.cpu.numa.guestMappingPassthrough
- 描述
- GuestMappingPassthrough will create an efficient guest topology based on host CPUs exclusively assigned to a pod. The created topology ensures that memory and CPUs on the virtual numa nodes never cross boundaries of host numa nodes.
- 类型
object
.spec.cpu.realtime
- 描述
- Realtime instructs the virt-launcher to tune the VMI for lower latency, optional for real time workloads
- 类型
object
.spec.gpus
- 描述
- Optionally defines any GPU devices associated with the instancetype.
- 类型
array
.spec.gpus[]
- 类型
object- 必填
name
.spec.gpus[].virtualGPUOptions
- 类型
object
.spec.gpus[].virtualGPUOptions.display
- 类型
object
.spec.gpus[].virtualGPUOptions.display.ramFB
- 描述
- Enables a boot framebuffer, until the guest OS loads a real GPU driver Defaults to true.
- 类型
object
.spec.hostDevices
- 描述
- Optionally defines any HostDevices associated with the instancetype.
- 类型
array
.spec.hostDevices[]
- 类型
object- 必填
name
.spec.ioThreads
- 描述
- Optionally specifies the IOThreads options to be used by the instancetype.
- 类型
object
.spec.launchSecurity
- 描述
- Optionally defines the LaunchSecurity to be used by the instancetype.
- 类型
object
.spec.launchSecurity.sev
- 描述
- AMD Secure Encrypted Virtualization (SEV).
- 类型
object
.spec.launchSecurity.sev.attestation
- 描述
- If specified, run the attestation process for a vmi.
- 类型
object
.spec.launchSecurity.sev.policy
- 描述
- Guest policy flags as defined in AMD SEV API specification. Note: due to security reasons it is not allowed to enable guest debugging. Therefore NoDebug flag is not exposed to users and is always true.
- 类型
object
.spec.launchSecurity.snp
- 描述
- AMD SEV-SNP flags defined by the SEV-SNP specifications.
- 类型
object
.spec.launchSecurity.tdx
- 描述
- Intel Trust Domain Extensions (TDX).
- 类型
object
.spec.memory
- 描述
- Required Memory related attributes of the instancetype.
- 类型
object- 必填
guest
.spec.memory.hugepages
- 描述
- Optionally enables the use of hugepages for the VirtualMachineInstance instead of regular memory.
- 类型
object
.spec.nodeSelector
- 描述
- NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ NodeSelector is the name of the custom node selector for the instancetype.
- 类型
object
API 端点
可用的 API 端点如下:
/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypesDELETE: delete collection of VirtualMachineClusterInstancetypeGET: list objects of kind VirtualMachineClusterInstancetypePOST: create a new VirtualMachineClusterInstancetype
/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypes/{name}DELETE: delete the specified VirtualMachineClusterInstancetypeGET: read the specified VirtualMachineClusterInstancetypePATCH: partially update the specified VirtualMachineClusterInstancetypePUT: replace the specified VirtualMachineClusterInstancetype
/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypes
- HTTP 方法
DELETE- 描述
- delete collection of VirtualMachineClusterInstancetype
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind VirtualMachineClusterInstancetype
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new VirtualMachineClusterInstancetype
- 查询参数
- 请求体参数
- HTTP 响应
/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypes/{name}
- HTTP 方法
DELETE- 描述
- delete the specified VirtualMachineClusterInstancetype
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified VirtualMachineClusterInstancetype
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified VirtualMachineClusterInstancetype
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified VirtualMachineClusterInstancetype
- 查询参数
- 请求体参数
- HTTP 响应