Skip to search

MigrationPolicy

migrations.kubevirt.io / v1alpha1

apiVersion: migrations.kubevirt.io/v1alpha1 kind: MigrationPolicy metadata: name: example
View raw schema
apiVersion string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata object
spec object required
allowAutoConverge boolean
allowPostCopy boolean
allowWorkloadDisruption boolean
bandwidthPerMigration string | integer
string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
completionTimeoutPerGiB integer
format: int64
experimental object
ExperimentalMigrationOptions is an alpha API. It is intended for experimental purposes only and will be removed in the future.
compression string
Compression selects the algorithm for compressing the live migration data stream. When omitted (nil) or set to "none", compression is disabled.
enum: none, zstd
stallDetector object
completionTimeoutFactor string
CompletionTimeoutFactor multiplies the computed migration completion timeout to determine the total time budget for deciding whether a forced switchover can still finish in time, and to extend the abort deadline after initiating a completion-timeout-driven switchover. Defaults to "2".
ewmaAlpha string
EwmaAlpha is the smoothing factor for the exponentially weighted moving average of observed migration bandwidth. Must be in the range (0, 1]; zero is invalid because the estimate would never incorporate new samples. Higher values weight recent samples more heavily. Defaults to "0.4".
patienceWindowDecayFactor string
PatienceWindowDecayFactor is the factor by which the relaxation patience window is multiplied after each best-remaining-bytes relaxation step. Defaults to "0.5".
precopyPossibleFactor string
PrecopyPossibleFactor is the maximum factor by which estimated downtime may exceed MaxDowntime while still attempting a soft stop-and-copy instead of aborting the migration. Defaults to "1.5".
searchLocalMinima boolean
SearchLocalMinima controls whether convergence actions are delayed until remaining bytes reach a local minimum near the best observed value. When false, actions may trigger as soon as a stall is detected. Defaults to true.
stallMargin integer
StallMargin is the fractional tolerance, expressed as a percentage, used when comparing remaining migration bytes against the best observed value to detect stalls and local minima. A stall is reported when remaining bytes stay above (1 - StallMargin/100) of the outside-window minimum. Defaults to 4.
format: int64
minimum: 0
maximum: 100
stallProgressTimeout integer
StallProgressTimeout is the duration in seconds of the sliding window used to track minimum remaining-bytes and detect when migration progress has stalled. Defaults to 40.
format: int64
switchoverTimeout integer
SwitchoverTimeout is the duration in seconds allowed for a stop-and-copy or post-copy switchover to complete after being triggered before the migration is aborted. Defaults to 60.
format: int64
maxDowntimeMs integer
format: int64
minimum: 1
maximum: 2e+06
selectors object required
namespaceSelector object
virtualMachineInstanceSelector object
status object

No matches. Try .spec.allowAutoConverge for an exact path