Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 26 additions & 20 deletions deploy/cluster_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1253,22 +1253,6 @@ rules:
- list
- watch
- patch
- apiGroups:
- flavor.kubevirt.io
resources:
- virtualmachineflavors
- virtualmachineclusterflavors
- virtualmachinepreferences
- virtualmachineclusterpreferences
verbs:
- get
- delete
- create
- update
- patch
- list
- watch
- deletecollection
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -1558,6 +1542,8 @@ rules:
- virtualmachineinstances/freeze
- virtualmachineinstances/unfreeze
- virtualmachineinstances/softreboot
- virtualmachineinstances/sev/setupsession
- virtualmachineinstances/sev/injectlaunchsecret
verbs:
- update
- apiGroups:
Expand All @@ -1572,8 +1558,6 @@ rules:
- network-attachment-definitions
verbs:
- get
- list
- watch
- apiGroups:
- apiextensions.k8s.io
resources:
Expand Down Expand Up @@ -1785,6 +1769,13 @@ rules:
- get
- list
- watch
- apiGroups:
- kubevirt.io
resources:
- kubevirts
verbs:
- get
- list
- apiGroups:
- subresources.kubevirt.io
resources:
Expand All @@ -1803,6 +1794,8 @@ rules:
- virtualmachineinstances/guestosinfo
- virtualmachineinstances/filesystemlist
- virtualmachineinstances/userlist
- virtualmachineinstances/sev/fetchcertchain
- virtualmachineinstances/sev/querylaunchmeasurement
verbs:
- get
- apiGroups:
Expand All @@ -1815,6 +1808,8 @@ rules:
- virtualmachineinstances/freeze
- virtualmachineinstances/unfreeze
- virtualmachineinstances/softreboot
- virtualmachineinstances/sev/setupsession
- virtualmachineinstances/sev/injectlaunchsecret
verbs:
- update
- apiGroups:
Expand All @@ -1834,7 +1829,6 @@ rules:
- virtualmachines/removevolume
- virtualmachines/migrate
- virtualmachines/memorydump
- virtualmachines/addinterface
verbs:
- update
- apiGroups:
Expand Down Expand Up @@ -1948,6 +1942,8 @@ rules:
- virtualmachineinstances/guestosinfo
- virtualmachineinstances/filesystemlist
- virtualmachineinstances/userlist
- virtualmachineinstances/sev/fetchcertchain
- virtualmachineinstances/sev/querylaunchmeasurement
verbs:
- get
- apiGroups:
Expand All @@ -1960,6 +1956,8 @@ rules:
- virtualmachineinstances/freeze
- virtualmachineinstances/unfreeze
- virtualmachineinstances/softreboot
- virtualmachineinstances/sev/setupsession
- virtualmachineinstances/sev/injectlaunchsecret
verbs:
- update
- apiGroups:
Expand All @@ -1979,7 +1977,6 @@ rules:
- virtualmachines/removevolume
- virtualmachines/migrate
- virtualmachines/memorydump
- virtualmachines/addinterface
verbs:
- update
- apiGroups:
Expand Down Expand Up @@ -2084,13 +2081,22 @@ rules:
- get
- list
- watch
- apiGroups:
- kubevirt.io
resources:
- kubevirts
verbs:
- get
- list
- apiGroups:
- subresources.kubevirt.io
resources:
- virtualmachines/expand-spec
- virtualmachineinstances/guestosinfo
- virtualmachineinstances/filesystemlist
- virtualmachineinstances/userlist
- virtualmachineinstances/sev/fetchcertchain
- virtualmachineinstances/sev/querylaunchmeasurement
verbs:
- get
- apiGroups:
Expand Down
168 changes: 160 additions & 8 deletions deploy/crds/kubevirt00.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,23 @@ spec:
that can be hotplugged
format: int32
type: integer
maxGuest:
anyOf:
- type: integer
- type: string
description: MaxGuest defines the maximum amount memory that
can be allocated to the guest using hotplug.
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
maxHotplugRatio:
description: 'MaxHotplugRatio is the ratio used to define
the max amount of a hotplug resource that can be made available
to a VM when the specific Max* setting is not defined (MaxCpuSockets,
MaxGuest) Example: VM is configured with 512Mi of guest
memory, if MaxGuest is not defined and MaxHotplugRatio is
2 then MaxGuest = 1Gi defaults to 4'
format: int32
type: integer
type: object
machineType:
description: Deprecated. Use architectureConfiguration instead.
Expand Down Expand Up @@ -604,6 +621,30 @@ spec:
network:
description: NetworkConfiguration holds network options
properties:
binding:
additionalProperties:
properties:
domainAttachmentType:
description: 'DomainAttachmentType is a standard domain
network attachment method kubevirt supports. Supported
values: "tap". The standard domain attachment can
be used instead or in addition to the sidecarImage.
version: 1alphav1'
type: string
networkAttachmentDefinition:
description: 'NetworkAttachmentDefinition references
to a NetworkAttachmentDefinition CR object. Format:
<name>, <namespace>/<name>. If namespace is not specified,
VMI namespace is assumed. version: 1alphav1'
type: string
sidecarImage:
description: 'SidecarImage references a container image
that runs in the virt-launcher pod. The sidecar handles
(libvirt) domain configuration and optional services.
version: 1alphav1'
type: string
type: object
type: object
defaultNetworkInterface:
type: string
permitBridgeInterfaceOnPodNetwork:
Expand Down Expand Up @@ -654,17 +695,44 @@ spec:
resourceName:
description: The name of the resource that is representing
the device. Exposed by a device plugin and requested
by VMs. Typically of the form vendor.com/product_nameThe
name of the resource that is representing the device.
Exposed by a device plugin and requested by VMs. Typically
of the form vendor.com/product_name
by VMs. Typically of the form vendor.com/product_name
type: string
required:
- pciVendorSelector
- resourceName
type: object
type: array
x-kubernetes-list-type: atomic
usb:
items:
properties:
externalResourceProvider:
description: If true, KubeVirt will leave the allocation
and monitoring to an external device plugin
type: boolean
resourceName:
description: 'Identifies the list of USB host devices.
e.g: kubevirt.io/storage, kubevirt.io/bootable-usb,
etc'
type: string
selectors:
items:
properties:
product:
type: string
vendor:
type: string
required:
- product
- vendor
type: object
type: array
x-kubernetes-list-type: atomic
required:
- resourceName
type: object
type: array
x-kubernetes-list-type: atomic
type: object
seccompConfiguration:
description: SeccompConfiguration holds Seccomp configuration
Expand Down Expand Up @@ -813,6 +881,14 @@ spec:
feature (dedicatedCPU/realtime/hugePages), in which free
page reporting is always disabled.
type: object
disableSerialConsoleLog:
description: DisableSerialConsoleLog disables logging the
auto-attached default serial console. If not set, serial
console logs will be written to a file and then streamed
from a container named 'guest-console-log'. The value can
be individually overridden for each VM, not relevant if
AutoattachSerialConsole is disabled.
type: object
type: object
vmStateStorageClass:
description: VMStateStorageClass is the name of the storage class
Expand Down Expand Up @@ -3458,6 +3534,23 @@ spec:
that can be hotplugged
format: int32
type: integer
maxGuest:
anyOf:
- type: integer
- type: string
description: MaxGuest defines the maximum amount memory that
can be allocated to the guest using hotplug.
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
maxHotplugRatio:
description: 'MaxHotplugRatio is the ratio used to define
the max amount of a hotplug resource that can be made available
to a VM when the specific Max* setting is not defined (MaxCpuSockets,
MaxGuest) Example: VM is configured with 512Mi of guest
memory, if MaxGuest is not defined and MaxHotplugRatio is
2 then MaxGuest = 1Gi defaults to 4'
format: int32
type: integer
type: object
machineType:
description: Deprecated. Use architectureConfiguration instead.
Expand Down Expand Up @@ -3603,6 +3696,30 @@ spec:
network:
description: NetworkConfiguration holds network options
properties:
binding:
additionalProperties:
properties:
domainAttachmentType:
description: 'DomainAttachmentType is a standard domain
network attachment method kubevirt supports. Supported
values: "tap". The standard domain attachment can
be used instead or in addition to the sidecarImage.
version: 1alphav1'
type: string
networkAttachmentDefinition:
description: 'NetworkAttachmentDefinition references
to a NetworkAttachmentDefinition CR object. Format:
<name>, <namespace>/<name>. If namespace is not specified,
VMI namespace is assumed. version: 1alphav1'
type: string
sidecarImage:
description: 'SidecarImage references a container image
that runs in the virt-launcher pod. The sidecar handles
(libvirt) domain configuration and optional services.
version: 1alphav1'
type: string
type: object
type: object
defaultNetworkInterface:
type: string
permitBridgeInterfaceOnPodNetwork:
Expand Down Expand Up @@ -3653,17 +3770,44 @@ spec:
resourceName:
description: The name of the resource that is representing
the device. Exposed by a device plugin and requested
by VMs. Typically of the form vendor.com/product_nameThe
name of the resource that is representing the device.
Exposed by a device plugin and requested by VMs. Typically
of the form vendor.com/product_name
by VMs. Typically of the form vendor.com/product_name
type: string
required:
- pciVendorSelector
- resourceName
type: object
type: array
x-kubernetes-list-type: atomic
usb:
items:
properties:
externalResourceProvider:
description: If true, KubeVirt will leave the allocation
and monitoring to an external device plugin
type: boolean
resourceName:
description: 'Identifies the list of USB host devices.
e.g: kubevirt.io/storage, kubevirt.io/bootable-usb,
etc'
type: string
selectors:
items:
properties:
product:
type: string
vendor:
type: string
required:
- product
- vendor
type: object
type: array
x-kubernetes-list-type: atomic
required:
- resourceName
type: object
type: array
x-kubernetes-list-type: atomic
type: object
seccompConfiguration:
description: SeccompConfiguration holds Seccomp configuration
Expand Down Expand Up @@ -3812,6 +3956,14 @@ spec:
feature (dedicatedCPU/realtime/hugePages), in which free
page reporting is always disabled.
type: object
disableSerialConsoleLog:
description: DisableSerialConsoleLog disables logging the
auto-attached default serial console. If not set, serial
console logs will be written to a file and then streamed
from a container named 'guest-console-log'. The value can
be individually overridden for each VM, not relevant if
AutoattachSerialConsole is disabled.
type: object
type: object
vmStateStorageClass:
description: VMStateStorageClass is the name of the storage class
Expand Down
16 changes: 8 additions & 8 deletions deploy/images.csv
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
image_var,name,tag,digest
KUBEVIRT_OPERATOR_IMAGE,quay.io/kubevirt/virt-operator,KUBEVIRT_VERSION,cbca7f93afbb18a840f7e763e4c03aeeb1fd97967f381c12c443cc179b51da29
KUBEVIRT_API_IMAGE,quay.io/kubevirt/virt-api,KUBEVIRT_VERSION,707003b221496b4432da2f507d1e36e528b45888b5d321e06d460f0678da44ae
KUBEVIRT_CONTROLLER_IMAGE,quay.io/kubevirt/virt-controller,KUBEVIRT_VERSION,0789fafed2913b35a771e3db882748502b3250be04ece86d97f30201779b4e54
KUBEVIRT_LAUNCHER_IMAGE,quay.io/kubevirt/virt-launcher,KUBEVIRT_VERSION,4c5fce3de2e2589197de72fb0c9436490ea318aca952c05a622c43e067023f35
KUBEVIRT_HANDLER_IMAGE,quay.io/kubevirt/virt-handler,KUBEVIRT_VERSION,138dfda5fea8622f3da0d6413fe214fef80c2fd6a6f9533592a0dbfa7e1865b5
KUBEVIRT_OPERATOR_IMAGE,quay.io/kubevirt/virt-operator,KUBEVIRT_VERSION,744a0fbd06ee8faab850fea9fabe1adb33092ab48252972efe80b2e10a75a0ee
KUBEVIRT_API_IMAGE,quay.io/kubevirt/virt-api,KUBEVIRT_VERSION,a996022594cac841109f7acdfeb087c3592462648c5a40765ab74c628b922a2f
KUBEVIRT_CONTROLLER_IMAGE,quay.io/kubevirt/virt-controller,KUBEVIRT_VERSION,0dcedd6865b6f0fe9ac1a0679f7e3ab99d50368a9bc44c972c52fff0c6e32c56
KUBEVIRT_LAUNCHER_IMAGE,quay.io/kubevirt/virt-launcher,KUBEVIRT_VERSION,7363979291014584d74690aede1821c87ab85cf8ad71203b7457dc64287ddd61
KUBEVIRT_HANDLER_IMAGE,quay.io/kubevirt/virt-handler,KUBEVIRT_VERSION,6b3e55b078d33190623b041441eda3abc88dc9fea08049d9f37ab6e20daf7a23
KUBEVIRT_VIRTIO_IMAGE,quay.io/kubevirt/virtio-container-disk,KUBEVIRT_VERSION,f8e71a3a930ce95d646d80862d5ff6f9d3ed7ef2541dd2e2acec0bce26274734
KUBEVIRT_LIBGUESTFS_TOOLS_IMAGE,quay.io/kubevirt/libguestfs-tools,KUBEVIRT_VERSION,b7e248be783691daad1326cf41641d5042be80c5c057ebc5315ca7a1619b0581
KUBEVIRT_EXPORTPROXY_IMAGE,quay.io/kubevirt/virt-exportproxy,KUBEVIRT_VERSION,f14444b0200a85efb4b3c176caefe70aabba7d295e33d2af14027a59ce297e24
KUBEVIRT_EXPORSERVER_IMAGE,quay.io/kubevirt/virt-exportserver,KUBEVIRT_VERSION,73311f79a9c71007f8572b3cc40cd6f6da404c7ef0a9c6509fb717d979546582
KUBEVIRT_LIBGUESTFS_TOOLS_IMAGE,quay.io/kubevirt/libguestfs-tools,KUBEVIRT_VERSION,d79838e7d87b00fa36c16f1699680167dc13e759a357d31e4d92301d28bd6dc8
KUBEVIRT_EXPORTPROXY_IMAGE,quay.io/kubevirt/virt-exportproxy,KUBEVIRT_VERSION,1c1e81f29f297e0a7c3c17a93b604f380ecb497b7e9eb0c10908153e98aae82f
KUBEVIRT_EXPORSERVER_IMAGE,quay.io/kubevirt/virt-exportserver,KUBEVIRT_VERSION,505cb2420f9cb40e9b2db2bbb2f50f89e9b9d4d1999a017bd98ee6ea09ca3cbb
CNA_OPERATOR_IMAGE,quay.io/kubevirt/cluster-network-addons-operator,NETWORK_ADDONS_VERSION,0102e02b15749e4fcef62f31ca6ebc41290829143239b9bcb3e30f6de7e79028
SSP_OPERATOR_IMAGE,quay.io/kubevirt/ssp-operator,SSP_VERSION,49cac00844f091d6e80301573e00235d685415185ec29c89b4bd7361f938711e
SSP_VALIDATOR_IMAGE,quay.io/kubevirt/kubevirt-template-validator,SSP_VERSION,a148b6e812b70f326b48d0439b1e44a967a6e1f8cf2f98b1a08e9294a93674eb
Expand Down
Loading
Loading