Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[main] Bump KUBEVIRT to v1.0.0-alpha.0 #2326

Merged
merged 3 commits into from
May 4, 2023
Merged
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
8 changes: 3 additions & 5 deletions automation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

export KUBEVIRT_PROVIDER="$TARGET"

if [[ $TARGET =~ okd-.* || $TARGET =~ ocp-.* ]]; then
export KUBEVIRT_MEMORY_SIZE=6144M
fi

export KUBEVIRT_NUM_NODES=3
export KUBEVIRT_MEMORY_SIZE=12G
export KUBEVIRT_NUM_NODES=4
export KUBEVIRT_DEPLOY_PROMETHEUS=true

kubectl() { cluster/kubectl.sh "$@"; }

Expand Down
80 changes: 80 additions & 0 deletions deploy/cluster_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ metadata:
rules:
- apiGroups:
- ""
resourceNames:
- kubevirt-ca
- kubevirt-export-ca
- kubevirt-virt-handler-certs
- kubevirt-virt-handler-server-certs
- kubevirt-operator-certs
- kubevirt-virt-api-certs
- kubevirt-controller-certs
- kubevirt-exportproxy-certs
resources:
- secrets
verbs:
Expand Down Expand Up @@ -1249,6 +1258,7 @@ rules:
- virtualmachineinstances/freeze
- virtualmachineinstances/unfreeze
- virtualmachineinstances/softreboot
- virtualmachineinstances/addinterface
verbs:
- update
- apiGroups:
Expand Down Expand Up @@ -1487,6 +1497,7 @@ rules:
- virtualmachineinstances/freeze
- virtualmachineinstances/unfreeze
- virtualmachineinstances/softreboot
- virtualmachineinstances/addinterface
verbs:
- update
- apiGroups:
Expand All @@ -1506,6 +1517,7 @@ rules:
- virtualmachines/removevolume
- virtualmachines/migrate
- virtualmachines/memorydump
- virtualmachines/addinterface
verbs:
- update
- apiGroups:
Expand Down Expand Up @@ -1546,6 +1558,32 @@ rules:
- list
- watch
- deletecollection
- apiGroups:
- export.kubevirt.io
resources:
- virtualmachineexports
verbs:
- get
- delete
- create
- update
- patch
- list
- watch
- deletecollection
- apiGroups:
- clone.kubevirt.io
resources:
- virtualmachineclones
verbs:
- get
- delete
- create
- update
- patch
- list
- watch
- deletecollection
- apiGroups:
- instancetype.kubevirt.io
resources:
Expand Down Expand Up @@ -1605,6 +1643,7 @@ rules:
- virtualmachineinstances/freeze
- virtualmachineinstances/unfreeze
- virtualmachineinstances/softreboot
- virtualmachineinstances/addinterface
verbs:
- update
- apiGroups:
Expand All @@ -1624,6 +1663,7 @@ rules:
- virtualmachines/removevolume
- virtualmachines/migrate
- virtualmachines/memorydump
- virtualmachines/addinterface
verbs:
- update
- apiGroups:
Expand Down Expand Up @@ -1662,6 +1702,30 @@ rules:
- patch
- list
- watch
- apiGroups:
- export.kubevirt.io
resources:
- virtualmachineexports
verbs:
- get
- delete
- create
- update
- patch
- list
- watch
- apiGroups:
- clone.kubevirt.io
resources:
- virtualmachineclones
verbs:
- get
- delete
- create
- update
- patch
- list
- watch
- apiGroups:
- instancetype.kubevirt.io
resources:
Expand Down Expand Up @@ -1741,6 +1805,22 @@ rules:
- get
- list
- watch
- apiGroups:
- export.kubevirt.io
resources:
- virtualmachineexports
verbs:
- get
- list
- watch
- apiGroups:
- clone.kubevirt.io
resources:
- virtualmachineclones
verbs:
- get
- list
- watch
- apiGroups:
- instancetype.kubevirt.io
resources:
Expand Down
128 changes: 128 additions & 0 deletions deploy/crds/kubevirt00.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,16 @@ spec:
configuration:
description: holds kubevirt configurations. same as the virt-configMap
properties:
additionalGuestMemoryOverheadRatio:
description: AdditionalGuestMemoryOverheadRatio can be used to
increase the virtualization infrastructure overhead. This is
useful, since the calculation of this overhead is not accurate
and cannot be entirely known in advance. The ratio that is being
set determines by which factor to increase the overhead calculated
by Kubevirt. A higher ratio means that the VMs would be less
compromised by node pressures, but would mean that fewer VMs
could be scheduled to a node. If not set, the default is 1.
type: string
apiConfiguration:
description: ReloadableComponentConfiguration holds all generic
k8s configuration options which can be reloaded by components
Expand Down Expand Up @@ -528,6 +538,55 @@ spec:
version:
type: string
type: object
supportContainerResources:
description: SupportContainerResources specifies the resource
requirements for various types of supporting containers such
as container disks/virtiofs/sidecars and hotplug attachment
pods. If omitted a sensible default will be supplied.
items:
description: SupportContainerResources are used to specify the
cpu/memory request and limits for the containers that support
various features of Virtual Machines. These containers are
usually idle and don't require a lot of memory or cpu.
properties:
resources:
description: ResourceRequirements describes the compute
resource requirements.
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: 'Limits describes the maximum amount of
compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: 'Requests describes the minimum amount
of compute resources required. If Requests is omitted
for a container, it defaults to Limits if that is
explicitly specified, otherwise to an implementation-defined
value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
type: object
type:
type: string
required:
- resources
- type
type: object
type: array
x-kubernetes-list-map-keys:
- type
x-kubernetes-list-type: map
supportedGuestAgentVersions:
description: deprecated
items:
Expand Down Expand Up @@ -557,6 +616,11 @@ spec:
type: object
virtualMachineInstancesPerNode:
type: integer
vmStateStorageClass:
description: VMStateStorageClass is the name of the storage class
to use for the PVCs created to preserve VM state, like TPM.
The storage class must support RWX in filesystem mode.
type: string
webhookConfiguration:
description: ReloadableComponentConfiguration holds all generic
k8s configuration options which can be reloaded by components
Expand Down Expand Up @@ -2842,6 +2906,16 @@ spec:
configuration:
description: holds kubevirt configurations. same as the virt-configMap
properties:
additionalGuestMemoryOverheadRatio:
description: AdditionalGuestMemoryOverheadRatio can be used to
increase the virtualization infrastructure overhead. This is
useful, since the calculation of this overhead is not accurate
and cannot be entirely known in advance. The ratio that is being
set determines by which factor to increase the overhead calculated
by Kubevirt. A higher ratio means that the VMs would be less
compromised by node pressures, but would mean that fewer VMs
could be scheduled to a node. If not set, the default is 1.
type: string
apiConfiguration:
description: ReloadableComponentConfiguration holds all generic
k8s configuration options which can be reloaded by components
Expand Down Expand Up @@ -3280,6 +3354,55 @@ spec:
version:
type: string
type: object
supportContainerResources:
description: SupportContainerResources specifies the resource
requirements for various types of supporting containers such
as container disks/virtiofs/sidecars and hotplug attachment
pods. If omitted a sensible default will be supplied.
items:
description: SupportContainerResources are used to specify the
cpu/memory request and limits for the containers that support
various features of Virtual Machines. These containers are
usually idle and don't require a lot of memory or cpu.
properties:
resources:
description: ResourceRequirements describes the compute
resource requirements.
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: 'Limits describes the maximum amount of
compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: 'Requests describes the minimum amount
of compute resources required. If Requests is omitted
for a container, it defaults to Limits if that is
explicitly specified, otherwise to an implementation-defined
value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
type: object
type:
type: string
required:
- resources
- type
type: object
type: array
x-kubernetes-list-map-keys:
- type
x-kubernetes-list-type: map
supportedGuestAgentVersions:
description: deprecated
items:
Expand Down Expand Up @@ -3309,6 +3432,11 @@ spec:
type: object
virtualMachineInstancesPerNode:
type: integer
vmStateStorageClass:
description: VMStateStorageClass is the name of the storage class
to use for the PVCs created to preserve VM state, like TPM.
The storage class must support RWX in filesystem mode.
type: string
webhookConfiguration:
description: ReloadableComponentConfiguration holds all generic
k8s configuration options which can be reloaded by components
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,448110ec6e3b9d67d249d9cded43863b1946d9175bb6a63216c825e3c6eca45a
KUBEVIRT_API_IMAGE,quay.io/kubevirt/virt-api,KUBEVIRT_VERSION,d9494df8bfc8649e36468c48495d5d0e635f09653598af6794434274dd6e2968
KUBEVIRT_CONTROLLER_IMAGE,quay.io/kubevirt/virt-controller,KUBEVIRT_VERSION,3b3fbf92594eadf236ee4cc994bf2481b9cfab6696480948fb4f5b9f20bad87f
KUBEVIRT_LAUNCHER_IMAGE,quay.io/kubevirt/virt-launcher,KUBEVIRT_VERSION,20a72f7f5349f1f4035863b491b9a857c7dbbe5c7d8368bb6d7384f4b279c57c
KUBEVIRT_HANDLER_IMAGE,quay.io/kubevirt/virt-handler,KUBEVIRT_VERSION,8e79679e932d7b8d9b3aaa4364f1812c1493d5070b370107e1ab239722e20d1b
KUBEVIRT_OPERATOR_IMAGE,quay.io/kubevirt/virt-operator,KUBEVIRT_VERSION,31542e77456b84d4763d2b01c64e3eb9220e56992e13b4efc80fab8dcc36783c
KUBEVIRT_API_IMAGE,quay.io/kubevirt/virt-api,KUBEVIRT_VERSION,ddb0442f62fd68ad99b611a7015e7a711411f34b3dfe5825d4c4458a23e71afe
KUBEVIRT_CONTROLLER_IMAGE,quay.io/kubevirt/virt-controller,KUBEVIRT_VERSION,37d81eb640cac4f21a0867bfe44ca8282aba34e8263235286a7bf126d079562e
KUBEVIRT_LAUNCHER_IMAGE,quay.io/kubevirt/virt-launcher,KUBEVIRT_VERSION,49ed398374b0a94a5d67cc99051117a9a422a3972aed0c9f87c0eb115ddf2249
KUBEVIRT_HANDLER_IMAGE,quay.io/kubevirt/virt-handler,KUBEVIRT_VERSION,cf36d0df3b019e86a747eea4cdfd62ab78f8109481d4cac28a383b308825d945
KUBEVIRT_VIRTIO_IMAGE,quay.io/kubevirt/virtio-container-disk,KUBEVIRT_VERSION,5b99c78ed831401048e72d72f9ec805710ee7625131fd9ad277b38ab1e67cfb9
KUBEVIRT_LIBGUESTFS_TOOLS_IMAGE,quay.io/kubevirt/libguestfs-tools,KUBEVIRT_VERSION,50b83028d34eb516ccd3adc586f5427c335d80f4df0ed51fb4d0ea2970b7c578
KUBEVIRT_EXPORTPROXY_IMAGE,quay.io/kubevirt/virt-exportproxy,KUBEVIRT_VERSION,742a84b05dabda814f46566f5b2819411d2c6998383c2ad8536336447766d489
KUBEVIRT_EXPORSERVER_IMAGE,quay.io/kubevirt/virt-exportserver,KUBEVIRT_VERSION,9fb1d3d0f553745853594a659449ac6169b3a727701cc4e82fe0538f5cee0975
KUBEVIRT_LIBGUESTFS_TOOLS_IMAGE,quay.io/kubevirt/libguestfs-tools,KUBEVIRT_VERSION,b923e8050ebc386505bc587a066a36dd70fa49df57789e86e77d28b1035045d3
KUBEVIRT_EXPORTPROXY_IMAGE,quay.io/kubevirt/virt-exportproxy,KUBEVIRT_VERSION,d7ef7c80f2dd44da1b5d9c4e0e2313764fc6c502112552fe5b6eb063d0494113
KUBEVIRT_EXPORSERVER_IMAGE,quay.io/kubevirt/virt-exportserver,KUBEVIRT_VERSION,7e6b2e3bf53f3ae533f71776572a76a67a4a828f459d0271e720bb27d8787d64
CNA_OPERATOR_IMAGE,quay.io/kubevirt/cluster-network-addons-operator,NETWORK_ADDONS_VERSION,ce793e227602c3b4f07cbfda07dac6b0a97e49a6011c275bce3bcd5c6a1bd7fc
SSP_OPERATOR_IMAGE,quay.io/kubevirt/ssp-operator,SSP_VERSION,e93f2b49f2189ee60e17a756942b9847cc9d09602f23bc25ab95d5fe332e0256
CDI_OPERATOR_IMAGE,quay.io/kubevirt/cdi-operator,CDI_VERSION,d534778279e07e6edd8335b76b8e9be5f33a119271ea5f53e54ad707fcfd6364
Expand Down
Loading