-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Task Adoption in
KubernetesExecutor
(#14795)
Ensure that we use ti.queued_by_job_id when searching for pods. The queued_by_job_id is used by adopt_launched_task when updating the labels. Without this, after restarting the scheduler a third time, the scheduler does not find the pods as it is still searching for the id of the original scheduler (ti.external_executor_id) Co-Authored-By: samwedge <[email protected]> Co-Authored-By: philip-hope <[email protected]> Co-authored-by: Jed Cunningham <[email protected]> (cherry picked from commit 344e829)
- Loading branch information
1 parent
aa58a0a
commit 8e00bc9
Showing
2 changed files
with
79 additions
and
3 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