-
Notifications
You must be signed in to change notification settings - Fork 698
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't leave pods running when a job completes. (#512)
* Don't leave pods running when a job completes. * We originally did this to preserve the logs. * But this ends up leaving pods running consuming resources. * The fix is straightforward * Transition to the cleanup phase before transitioning to the done phase. Fix #128 * Don't teardown the cluster. * Don't set phase to cleanup when job is running. * Should only call get status if we are in creating or running phase. * Update the E2E test * Check that pod/service event creations are recorded * Check that pods are deleted when job ends. * Fix lint.
- Loading branch information
1 parent
41a20d4
commit a7511ff
Showing
4 changed files
with
173 additions
and
73 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