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

add support for k8s jobs #4019

Merged
merged 2 commits into from
Mar 14, 2025
Merged

add support for k8s jobs #4019

merged 2 commits into from
Mar 14, 2025

Conversation

piax93
Copy link
Contributor

@piax93 piax93 commented Mar 13, 2025

One first portion of #3986, with a couple of minor improvements, as I didn't want to bunch everything together as it'd be a pretty large change to review.

Next I'll do the API endpoints, and I'll finish with the client side bits.

@piax93 piax93 requested a review from a team as a code owner March 13, 2025 14:30
Copy link
Member

@nemacysts nemacysts left a comment

Choose a reason for hiding this comment

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

something about how setup_kubernetes_job will finally actually be able to setup a kubernetes job cracks me up :p

(generally lgtm, just a couple questions - but I can ship afterwards :))

def format_kubernetes_job(
self,
job_label: str,
deadline_seconds: int = 3600,
Copy link
Member

Choose a reason for hiding this comment

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

just curious: we'd talked about limiting the max uptime for the sandbox jobs - given that this doesn't do any limiting, I assume that we'll have the thresholds set in the new remote-run command? or do we want to add a max uptime check/clamp here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, I was planning to clamp the value in the API view

@piax93 piax93 requested a review from nemacysts March 13, 2025 17:03
@piax93 piax93 merged commit d08cbd4 into master Mar 14, 2025
10 checks passed
@piax93 piax93 deleted the u/mpiano/SEC-19862_job_wrapper branch March 14, 2025 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants