The Deckhouse Kubernetes Platform installs CRDs but does not remove them when a module is disabled. If you no longer need the created CRDs, delete them.
The module lifecycle stage: Experimental
DVPInstanceClass
Scope: Cluster
Version: v1alpha1
- objectspec
Required value
- array of objectsspec.additionalDisks
Parameters for additional virtual machine disks.
- stringspec.additionalDisks.size
Required value
Size of the additional disk.
Pattern:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Example:
size: 10Gi - stringspec.additionalDisks.storageClass
Required value
Name of the existing StorageClass that will be used to create the additional disk.
- objectspec.rootDisk
Required value
Specifies settings for the root disk of the virtual machine.
- objectspec.rootDisk.image
Required value
Image parameters that will be used to create the virtual machine’s root disk.
- stringspec.rootDisk.image.kind
Required value
The kind of the image source.
Allowed values:
ClusterVirtualImage,VirtualImage,VirtualDisk - stringspec.rootDisk.image.name
Required value
The name of the image that will be used to create the root disk.
The installation requires Linux OS images with cloud-init pre-installed.
- stringspec.rootDisk.size
Required value
Root disk size.
Pattern:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Example:
size: 10Gi - stringspec.rootDisk.storageClass
The name of the existing StorageClass will be used to create the virtual machine’s root disk.
If the value is not specified, the StorageClass will be used according to the global storageClass parameter setting.
- objectspec.virtualMachine
Required value
Virtual machine settings for the created node.
The
runPolicy: AlwaysOnUnlessStoppedManuallypolicy is used for virtual machines of nodes. This allows the virtual machine to be stopped manually (for example, for maintenance) without triggering an automatic restart.- stringspec.virtualMachine.bootloader
Defines a bootloader for the virtual machine.
BIOS: Use BIOS.EFI: Use Unified Extensible Firmware (EFI/UEFI).EFIWithSecureBoot: Use UEFI/EFI with the Secure Boot support.
Default:
EFIAllowed values:
BIOS,EFI,EFIWithSecureBoot - objectspec.virtualMachine.cpu
Required value
CPU settings for the virtual machine.
- stringspec.virtualMachine.cpu.coreFraction
Guaranteed share of CPU fraction that will be allocated to the virtual machine.
Default:
100%Pattern:
^100%$|^[1-9][0-9]?%$Example:
coreFraction: 100% - integerspec.virtualMachine.cpu.cores
Required value
Number of CPU cores for the virtual machine.
Allowed values:
1 <= XExample:
cores: 4
- stringspec.virtualMachine.liveMigrationPolicy
Live migration policy for the virtual machine.
Manual: Migration is controlled manually.Never: Migration is disabled.AlwaysSafe: Always use safe migration (may fail if VM has a high rate of memory changes).PreferSafe: Prefer safe migration, fallback to forced if needed.AlwaysForced: Always use forced migration with VM slowdown.PreferForced: Prefer forced migration (recommended for master nodes due to high memory activity).
Default:
PreferForcedAllowed values:
Manual,Never,AlwaysSafe,PreferSafe,AlwaysForced,PreferForcedExample:
liveMigrationPolicy: PreferForced - objectspec.virtualMachine.memory
Required value
Specifies the memory settings for the virtual machine.
- stringspec.virtualMachine.memory.size
Required value
Amount of memory resources allowed for the virtual machine.
Pattern:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Example:
size: 4Gi
- stringspec.virtualMachine.runPolicy
Virtual machine run policy.
AlwaysOn: The virtual machine should always be running.AlwaysOff: The virtual machine should always be stopped.Manual: The virtual machine state is controlled manually.AlwaysOnUnlessStoppedManually: The virtual machine can be stopped manually (for example, for maintenance), but it will automatically start after a host reboot.
Default:
AlwaysOnUnlessStoppedManuallyAllowed values:
AlwaysOn,AlwaysOff,Manual,AlwaysOnUnlessStoppedManuallyExample:
runPolicy: AlwaysOnUnlessStoppedManually - stringspec.virtualMachine.virtualMachineClassName
Required value
The name of the VirtualMachineClass.
Intended for centralized configuration of preferred virtual machine parameters. It allows you to specify CPU instruction sets, resource configuration policies for CPU and memory, and define the ratio between these resources.