Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to define tolerations and nodeSelector when executing the migration plan? #909

Open
jcorreajr opened this issue May 28, 2024 · 2 comments

Comments

@jcorreajr
Copy link

Is it possible to define new "tolerations" and "nodeSelectors" for the POD that is created during the execution of the migration plan?

During the execution of the migration plan, a POD running the image: mtv-virt-v2v is created to copy the data.
This POD is initialized with the following "tolerations" and "nodeSelector" settings

  tolerations:
  - effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
    tolerationSeconds: 300
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
    tolerationSeconds: 300

  nodeSelector:
    kubevirt.io/schedulable: "true"

As we use separate "nodes" to run virtual machines, with specific taints, I need to include these taints within the tolerances session of the created PODs.
Is it possible to do that?

@ahadas
Copy link
Member

ahadas commented May 28, 2024

@jcorreajr that's not possible at the moment, but it makes sense to make this configurable - contributions are welcome

@jcorreajr
Copy link
Author

Thanks for the quick response. An alternative would be to create a unique MachineSet for migration tasks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants