Run AppWrappers in Multi-Cluster
Before you begin
Check the MultiKueue installation guide on how to properly setup MultiKueue clusters.
For the ease of setup and use we recommend using at least Kueue v0.11.0 and at least AppWrapper Operator v1.1.1.
See AppWrapper Quick-Start Guide for installation and configuration details of the AppWrapper Operator.
Note
MultiKueue support for AppWrappers is not available in versions of Kueue before v0.11.0.MultiKueue integration
Once the setup is complete you can test it by running an AppWrapper appwrapper-pytorch-sample.yaml
.
Note
Note: Kueue defaults the spec.managedBy
field to kueue.x-k8s.io/multikueue
on the management cluster for AppWrappers.
This allows the AppWrapper Operator to ignore the Jobs managed by MultiKueue on the management cluster, and in particular skip creation of the wrapped resources.
The resources are created and the actual computation will happen on the mirror copy of the AppWrapper on the selected worker cluster. The mirror copy of the AppWrapper does not have the field set.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.