Skip to content

Commit

Permalink
chore: bump kubevirt to v1.2.2
Browse files Browse the repository at this point in the history
Signed-off-by: Zespre Schmidt <[email protected]>
  • Loading branch information
starbops committed Oct 26, 2024
1 parent f56260c commit 4386656
Show file tree
Hide file tree
Showing 8 changed files with 238 additions and 180 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ endif
CONTAINER_TOOL ?= docker

# KUBEVIRT API version to use
KUBEVIRT_API_VERSION = v1.1.0
KUBEVIRT_API_VERSION = v1.2.0

# Setting SHELL to bash allows bash commands to be executed by recipes.
# Options are set to exit when a recipe line exits non-zero or a piped command fails.
Expand Down
26 changes: 26 additions & 0 deletions config/kubevirt-crd/kubevirt.io_kubevirts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,24 @@ spec:
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
migration:
description: |-
Migration means the VM using the plugin can be safely migrated
version: 1alphav1
properties:
method:
description: |-
Method defines a pre-defined migration methodology
version: 1alphav1
type: string
type: object
networkAttachmentDefinition:
description: |-
NetworkAttachmentDefinition references to a NetworkAttachmentDefinition CR object.
Expand Down Expand Up @@ -890,6 +908,14 @@ spec:
The value can be individually overridden for each VM, not relevant if AutoattachSerialConsole is disabled.
type: object
type: object
vmRolloutStrategy:
description: VMRolloutStrategy defines how changes to a VM object
propagate to its VMI
enum:
- Stage
- LiveUpdate
nullable: true
type: string
vmStateStorageClass:
description: |-
VMStateStorageClass is the name of the storage class to use for the PVCs created to preserve VM state, like TPM.
Expand Down
18 changes: 14 additions & 4 deletions config/kubevirt-crd/kubevirt.io_virtualmachineinstancepresets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -621,9 +621,8 @@ spec:
or DE-AD-00-00-BE-AF.'
type: string
macvtap:
description: InterfaceMacvtap connects to a given network
by extending the Kubernetes node's L2 networks via
a macvtap interface.
description: Deprecated, please refer to Kubevirt user
guide for alternatives.
type: object
masquerade:
description: InterfaceMasquerade connects to a given
Expand All @@ -642,7 +641,8 @@ spec:
Must match the Name of a Network.
type: string
passt:
description: InterfacePasst connects to a given network.
description: Deprecated, please refer to Kubevirt user
guide for alternatives.
type: object
pciAddress:
description: 'If specified, the virtual network interface
Expand Down Expand Up @@ -1009,6 +1009,16 @@ spec:
firmware:
description: Firmware.
properties:
acpi:
description: Information that can be set in the ACPI table
properties:
slicNameRef:
description: |-
SlicNameRef should match the volume name of a secret object. The data in the secret should
be a binary blob that follows the ACPI SLIC standard, see:
https://learn.microsoft.com/en-us/previous-versions/windows/hardware/design/dn653305(v=vs.85)
type: string
type: object
bootloader:
description: Settings to control the bootloader that is used.
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1630,9 +1630,8 @@ spec:
de:ad:00:00:be:af or DE-AD-00-00-BE-AF.'
type: string
macvtap:
description: InterfaceMacvtap connects to a
given network by extending the Kubernetes
node's L2 networks via a macvtap interface.
description: Deprecated, please refer to Kubevirt
user guide for alternatives.
type: object
masquerade:
description: InterfaceMasquerade connects to
Expand All @@ -1652,8 +1651,8 @@ spec:
Must match the Name of a Network.
type: string
passt:
description: InterfacePasst connects to a given
network.
description: Deprecated, please refer to Kubevirt
user guide for alternatives.
type: object
pciAddress:
description: 'If specified, the virtual network
Expand Down Expand Up @@ -2024,6 +2023,17 @@ spec:
firmware:
description: Firmware.
properties:
acpi:
description: Information that can be set in the ACPI
table
properties:
slicNameRef:
description: |-
SlicNameRef should match the volume name of a secret object. The data in the secret should
be a binary blob that follows the ACPI SLIC standard, see:
https://learn.microsoft.com/en-us/previous-versions/windows/hardware/design/dn653305(v=vs.85)
type: string
type: object
bootloader:
description: Settings to control the bootloader that
is used.
Expand Down Expand Up @@ -2218,8 +2228,12 @@ spec:
type: object
evictionStrategy:
description: |-
EvictionStrategy can be set to "LiveMigrate" if the VirtualMachineInstance should be
migrated instead of shut-off in case of a node drain.
EvictionStrategy describes the strategy to follow when a node drain occurs.
The possible options are:
- "None": No action will be taken, according to the specified 'RunStrategy' the VirtualMachine will be restarted or shutdown.
- "LiveMigrate": the VirtualMachineInstance will be migrated instead of being shutdown.
- "LiveMigrateIfPossible": the same as "LiveMigrate" but only if the VirtualMachine is Live-Migratable, otherwise it will behave as "None".
- "External": the VirtualMachineInstance will be protected by a PDB and `vmi.Status.EvacuationNodeName` will be set on eviction. This is mainly useful for cluster-api-provider-kubevirt (capk) which needs a way for VMI's to be blocked from eviction, yet signal capk that eviction has been called on the VMI so the capk controller can handle tearing the VMI down. Details can be found in the commit description https://github.com/kubevirt/kubevirt/commit/c1d77face705c8b126696bac9a3ee3825f27f1fa.
type: string
hostname:
description: |-
Expand Down
56 changes: 50 additions & 6 deletions config/kubevirt-crd/kubevirt.io_virtualmachineinstances.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1538,9 +1538,8 @@ spec:
or DE-AD-00-00-BE-AF.'
type: string
macvtap:
description: InterfaceMacvtap connects to a given network
by extending the Kubernetes node's L2 networks via
a macvtap interface.
description: Deprecated, please refer to Kubevirt user
guide for alternatives.
type: object
masquerade:
description: InterfaceMasquerade connects to a given
Expand All @@ -1559,7 +1558,8 @@ spec:
Must match the Name of a Network.
type: string
passt:
description: InterfacePasst connects to a given network.
description: Deprecated, please refer to Kubevirt user
guide for alternatives.
type: object
pciAddress:
description: 'If specified, the virtual network interface
Expand Down Expand Up @@ -1926,6 +1926,16 @@ spec:
firmware:
description: Firmware.
properties:
acpi:
description: Information that can be set in the ACPI table
properties:
slicNameRef:
description: |-
SlicNameRef should match the volume name of a secret object. The data in the secret should
be a binary blob that follows the ACPI SLIC standard, see:
https://learn.microsoft.com/en-us/previous-versions/windows/hardware/design/dn653305(v=vs.85)
type: string
type: object
bootloader:
description: Settings to control the bootloader that is used.
properties:
Expand Down Expand Up @@ -2116,8 +2126,12 @@ spec:
type: object
evictionStrategy:
description: |-
EvictionStrategy can be set to "LiveMigrate" if the VirtualMachineInstance should be
migrated instead of shut-off in case of a node drain.
EvictionStrategy describes the strategy to follow when a node drain occurs.
The possible options are:
- "None": No action will be taken, according to the specified 'RunStrategy' the VirtualMachine will be restarted or shutdown.
- "LiveMigrate": the VirtualMachineInstance will be migrated instead of being shutdown.
- "LiveMigrateIfPossible": the same as "LiveMigrate" but only if the VirtualMachine is Live-Migratable, otherwise it will behave as "None".
- "External": the VirtualMachineInstance will be protected by a PDB and `vmi.Status.EvacuationNodeName` will be set on eviction. This is mainly useful for cluster-api-provider-kubevirt (capk) which needs a way for VMI's to be blocked from eviction, yet signal capk that eviction has been called on the VMI so the capk controller can handle tearing the VMI down. Details can be found in the commit description https://github.com/kubevirt/kubevirt/commit/c1d77face705c8b126696bac9a3ee3825f27f1fa.
type: string
hostname:
description: |-
Expand Down Expand Up @@ -3275,6 +3289,26 @@ spec:
type: integer
type: object
type: array
kernelBootStatus:
description: KernelBootStatus contains info about the kernelBootContainer
properties:
initrdInfo:
description: InitrdInfo show info about the initrd file
properties:
checksum:
description: Checksum is the checksum of the initrd file
format: int32
type: integer
type: object
kernelInfo:
description: KernelInfo show info about the kernel image
properties:
checksum:
description: Checksum is the checksum of the kernel image
format: int32
type: integer
type: object
type: object
launcherContainerImageVersion:
description: LauncherContainerImageVersion indicates what container
image is currently active for the vmi.
Expand Down Expand Up @@ -3550,6 +3584,16 @@ spec:
description: VolumeStatus represents information about the status
of volumes attached to the VirtualMachineInstance.
properties:
containerDiskVolume:
description: ContainerDiskVolume shows info about the containerdisk,
if the volume is a containerdisk
properties:
checksum:
description: Checksum is the checksum of the rootdisk or
kernel artifacts inside the containerdisk
format: int32
type: integer
type: object
hotplugVolume:
description: If the volume is hotplug, this will contain the
hotplug status.
Expand Down
Loading

0 comments on commit 4386656

Please sign in to comment.