Skip to content

Latest commit

 

History

History
46 lines (40 loc) · 7.05 KB

File metadata and controls

46 lines (40 loc) · 7.05 KB

Kubevirt::V1MigrationConfiguration

Properties

Name Type Description Notes
allow_auto_converge Boolean AllowAutoConverge allows the platform to compromise performance/availability of VMIs to guarantee successful VMI live migrations. Defaults to false [optional]
allow_post_copy Boolean AllowPostCopy enables post-copy live migrations. Such migrations allow even the busiest VMIs to successfully live-migrate. However, events like a network failure can cause a VMI crash. If set to true, migrations will still start in pre-copy, but switch to post-copy when CompletionTimeoutPerGiB triggers. Defaults to false [optional]
allow_workload_disruption Boolean AllowWorkloadDisruption indicates that the migration shouldn't be canceled after acceptableCompletionTime is exceeded. Instead, if permitted, migration will be switched to post-copy or the VMI will be paused to allow the migration to complete [optional]
bandwidth_per_migration Object Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the &quot;&quot; case in <decimalSI>.) <digit> ::= 0 1
completion_timeout_per_gi_b Integer CompletionTimeoutPerGiB is the maximum number of seconds per GiB a migration is allowed to take. If the timeout is reached, the migration will be either paused, switched to post-copy or cancelled depending on other settings. Defaults to 150 [optional]
disable_tls Boolean When set to true, DisableTLS will disable the additional layer of live migration encryption provided by KubeVirt. This is usually a bad idea. Defaults to false [optional]
match_se_linux_level_on_migration Boolean By default, the SELinux level of target virt-launcher pods is forced to the level of the source virt-launcher. When set to true, MatchSELinuxLevelOnMigration lets the CRI auto-assign a random level to the target. That will ensure the target virt-launcher doesn't share categories with another pod on the node. However, migrations will fail when using RWX volumes that don't automatically deal with SELinux levels. [optional]
max_downtime_ms Integer MaxDowntimeMs specifies the maximum tolerable downtime (in milliseconds) during switchover. Defaults to 900 [optional]
network String Network is the name of the CNI network to use for live migrations. By default, migrations go through the pod network. [optional]
node_drain_taint_key String NodeDrainTaintKey defines the taint key that indicates a node should be drained. Note: this option relies on the deprecated node taint feature. Default: kubevirt.io/drain [optional]
parallel_migrations_per_cluster Integer ParallelMigrationsPerCluster is the total number of concurrent live migrations allowed cluster-wide. Defaults to 5 [optional]
parallel_outbound_migrations_per_node Integer ParallelOutboundMigrationsPerNode is the maximum number of concurrent outgoing live migrations allowed per node. Defaults to 2 [optional]
progress_timeout Integer ProgressTimeout is the maximum number of seconds a live migration is allowed to make no progress. Hitting this timeout means a migration transferred 0 data for that many seconds. The migration is then considered stuck and therefore cancelled. Defaults to 150 [optional]
unsafe_migration_override Boolean UnsafeMigrationOverride allows live migrations to occur even if the compatibility check indicates the migration will be unsafe to the guest. Defaults to false [optional]
utility_volumes_timeout Integer UtilityVolumesTimeout is the maximum number of seconds a migration can wait in Pending state for utility volumes to be detached. If utility volumes are still present after this timeout, the migration will be marked as Failed. Defaults to 150 [optional]

Example

require 'kubevirt'

instance = Kubevirt::V1MigrationConfiguration.new(
  allow_auto_converge: null,
  allow_post_copy: null,
  allow_workload_disruption: null,
  bandwidth_per_migration: null,
  completion_timeout_per_gi_b: null,
  disable_tls: null,
  match_se_linux_level_on_migration: null,
  max_downtime_ms: null,
  network: null,
  node_drain_taint_key: null,
  parallel_migrations_per_cluster: null,
  parallel_outbound_migrations_per_node: null,
  progress_timeout: null,
  unsafe_migration_override: null,
  utility_volumes_timeout: null
)