-
Notifications
You must be signed in to change notification settings - Fork 790
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds support for using Kueue to submit jobs/pods into Kubernetes. There are two config options: - KUEUE_ENABLED: set to True/False - KUEUE_LOCALQUEUE_NAME: set to the name of the localqueue configured with Kueue. See [this](https://kueue.sigs.k8s.io/docs/concepts/local_queue) for details The config options can be set in the main metaflow config or via the @kubernetes decorator. Testing Done: - Verified that specifying kueue config options in Metaflow config (~/.metaflowconfig/json) works as expected. - Verified that specifying kueue config options in @kubernetes works as expected - Verified that @kubernetes options take precedence over the global config - If the global KUEUE_ENABLED config is True, but locally set to False for a particular step, the step does not run with Kueue. - Verified that the kueue labels and annotations are set correctly and kueue actually runs the jobs. - Verified that if kueue is configured to manage "pod", Metaflow create argo-workflow pods are scheduled by kueue. - Verified that the default behavior is to not use Kueue and everything works correctly as before (jobs and argo-workflows)
- Loading branch information
Showing
6 changed files
with
86 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters