Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: check pending job's Pod #257

Merged
merged 2 commits into from
Aug 27, 2024
Merged

feat: check pending job's Pod #257

merged 2 commits into from
Aug 27, 2024

Conversation

zreigz
Copy link
Member

@zreigz zreigz commented Aug 27, 2024

Check if the job's Pod has started successfully. Otherwise, kill the job and set the failed status

@zreigz zreigz added the enhancement New feature or request label Aug 27, 2024
@zreigz zreigz changed the title check pending job's Pod feat: check pending job's Pod Aug 27, 2024
@@ -41,6 +41,7 @@ import (

const jobSelector = "stackrun.deployments.plural.sh"
const jobTimout = time.Minute * 40
const podTimout = time.Minute * 2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: typo
s/podTimout/podTimeout

Same for jobTimout

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be extended to i.e. 5-10 minutes? @michaeljguarino

@zreigz zreigz merged commit c2203f5 into main Aug 27, 2024
33 checks passed
@zreigz zreigz deleted the improve-stackrun-job branch August 27, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants