Skip to content

Conversation

@hhhonzik
Copy link
Contributor

Related to: #36090

KuberentesJobOperator didn't cancel jobs when they were cancelled via the UI.

  1. non-deferrable run failed on API call
  2. deferrable operators don't call on_kill; fixed with workaround described here: Deferrable operator tasks do not call on_kill method when fail or restarted #36090 (comment)

@boring-cyborg boring-cyborg bot added area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues labels Nov 12, 2024
@eladkal eladkal force-pushed the update-cnfc-kubernetes branch from 13b4572 to 06ce1a4 Compare November 20, 2024 12:36
@eladkal
Copy link
Contributor

eladkal commented Nov 20, 2024

can we have unit test to cover this change?

@hhhonzik
Copy link
Contributor Author

I've seen a lot of issues with JobOperator, possibly thanks to this change - duplicated pod / job generators etc.

With the update by @eladkal PodOperator seems to be working for us. Closing.

@hhhonzik hhhonzik closed this Dec 11, 2024
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 (k8s) provider related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants