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

Implement wait_until_job_complete parameter for KubernetesJobOperator #37998

Merged

Conversation

moiseenkov
Copy link
Contributor

@moiseenkov moiseenkov commented Mar 8, 2024

PR introduces the optional wait_until_job_complete parameter for the KubernetesJobOperator that blocks execution until the created job is complete.
The default value is False thus behavior of existing DAGs won't change.

@boring-cyborg boring-cyborg bot added area:providers provider:cncf-kubernetes Kubernetes provider related issues labels Mar 8, 2024
@moiseenkov moiseenkov force-pushed the k8s-start-job-wait-until-job-complete branch from 213e0c0 to 60d0231 Compare March 11, 2024 07:59
@moiseenkov moiseenkov force-pushed the k8s-start-job-wait-until-job-complete branch from a6e29ff to 9f3b6ab Compare March 12, 2024 13:03
@moiseenkov moiseenkov requested a review from dirrao March 12, 2024 13:04
@moiseenkov moiseenkov requested a review from eladkal March 12, 2024 14:16
@moiseenkov moiseenkov requested a review from dirrao March 12, 2024 16:54
@moiseenkov moiseenkov force-pushed the k8s-start-job-wait-until-job-complete branch 6 times, most recently from 8715fc8 to 7617a6c Compare March 14, 2024 09:24
@moiseenkov moiseenkov changed the title Implement wait_job_until_complete parameter for KubernetesJobOperator Implement wait_until_job_complete parameter for KubernetesJobOperator Mar 14, 2024
@moiseenkov moiseenkov force-pushed the k8s-start-job-wait-until-job-complete branch 5 times, most recently from 8888901 to 422d4cb Compare March 15, 2024 08:14
@VladaZakharova
Copy link
Contributor

Hi @potiuk @eladkal !
Can you please take a look at the changes here? Thanks!

@moiseenkov moiseenkov force-pushed the k8s-start-job-wait-until-job-complete branch from 422d4cb to f4dcb8f Compare March 15, 2024 10:52
@moiseenkov moiseenkov force-pushed the k8s-start-job-wait-until-job-complete branch from f4dcb8f to 11067db Compare March 15, 2024 16:22
@potiuk potiuk merged commit c32d41d into apache:main Mar 18, 2024
57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:cncf-kubernetes Kubernetes provider related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants