Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-3458

QE: [UI] Target VM Scheduling Configuration in Migration Plans

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • QE-Task

      RFE: https://issues.redhat.com/browse/MTV-2768

      As a migration admin i want to add support for configuring target VM scheduling preferences in migration plans

      Summary
      This epic adds support for configuring target VM scheduling preferences in migration plans through three new fields: TargetLabelsTargetNodeSelector, and TargetAffinity.

      • TargetLabels: Allows specifying custom labels to be applied to target virtual machines during migration
      • TargetNodeSelector: Enables constraining VM scheduling to specific nodes based on node labels
      • TargetAffinity: Provides support for hard and soft affinity/anti-affinity rules for VMs against workloads and nodes

      Implementation

      •  Added three new optional fields to PlanSpec struct
      •  Updated VM creation logic to apply these scheduling configurations
        • Custom labels are merged into VM template labels
        • Node selector constraints are applied to VM template spec
        • Affinity rules are set on VM template spec

      All fields are optional and backward compatible

      Use Cases

      • TargetLabels: Apply organizational or operational labels to migrated VMs for identification and management
      • TargetNodeSelector: Ensure VMs are scheduled on nodes with specific capabilities (e.g., GPU nodes, storage nodes)
      • TargetAffinity: Implement placement policies like spreading VMs across nodes or co-locating related workloads

      This enhancement provides operators with fine-grained control over VM placement during migrations, enabling better resource utilization and adherence to operational requirements.

        1. screenshot-1.png
          111 kB
          Pedro Abreu
        2. screenshot-2.png
          26 kB
          Pedro Abreu
        3. screenshot-3.png
          41 kB
          Pedro Abreu
        4. screenshot-4.png
          67 kB
          Pedro Abreu
        5. screenshot-5.png
          64 kB
          Pedro Abreu

              rh-ee-pabreu Pedro Abreu
              mschatzm@redhat.com Matan Schatzman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: