Description of problem:
Enable the KubeMacPool component for the namespace, virtual machine NICs in that namespace are allocated MAC addresses from a MAC address pool. This ensures that virtual machine instances created from that virtual machine retain the assigned MAC address across reboots.
In order to do that, add the KubeMacPool label to the namespace, run: oc label namespace <namespace> mutatevirtualmachines.kubemacpool.io=allocate
For more information go to https://docs.openshift.com/container-platform/4.6/virt/virtual_machines/vm_networking/virt-using-mac-address-pool-for-vms.html
@danken @phoracek What are the plans to make this the default behavior of KubeVirt / OPenshfit Virtualization ? Retaining the mac address after VM restart seems like a basic feature of any virtualization platform.
Nir, could you please help me understand what changed to move this to verified? The title of the PR "Add validation that the KubeMacPool component is enabled for the namespace" suggests that KMP is now a hard requirement for CNV. Is that the case?
@phoracek KMP is now a hard requirement for the namespace where the tenant cluster is installed in. The installer will now verify that the namespace where the user wants to install the tenant cluster in has the appropriate KMP label.