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

Update task_proc to better handle killing tasks #951

Merged
merged 2 commits into from
May 9, 2024

Conversation

nemacysts
Copy link
Member

We've seen that task_proc/k8s will sometimes not correctly send events for pods that we try to kill ourselves (either because the pods are already gone or because the event is somehow missing data), so this task_proc version will send synthetic events when we call kill() to ensure that tron is in the correct state :)

We've seen that task_proc/k8s will sometimes not correctly send events
for pods that we try to kill ourselves (either because the pods are
already gone or because the event is somehow missing data), so this
task_proc version will send synthetic events when we call kill() to
ensure that tron is in the correct state :)
@nemacysts
Copy link
Member Author

nemacysts commented May 8, 2024

This requires Yelp/task_processing#214

EDIT: task_proc change is now merged, so this now builds :)

tron/kubernetes.py Outdated Show resolved Hide resolved
@nemacysts nemacysts requested a review from jfongatyelp May 9, 2024 16:12
@nemacysts
Copy link
Member Author

(retested after the last change: still looks good :))

@nemacysts nemacysts merged commit 81ea462 into master May 9, 2024
3 checks passed
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