This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When a Job can't schedule a Pod, log the Job's recent events (#88)
When a Job can't schedule a Pod, log the Job's recent events In cases where the Job definition itself is fine but the Job is unable to schedule any Pods due to scheduling constraints (resources, node availability, etc), we weren't able to give users much more information than that the Pod for their flow never started. With this change, we'll go inspect any events related to that Job and include them in the logs. These events include things like scheduling constraint violations, in enough detail to help someone diagnose the issue without going back to the cluster. Closes #87
- Loading branch information
1 parent
fa0b01d
commit 9ccee0a
Showing
3 changed files
with
131 additions
and
2 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