-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle deleting deleted existent pods + send synthetic event on kill()
There's two potential issues with our termination code: 1. we try to delete a Pod that no longer exists 2. we successfully delete a Pod, but k8s coaleses the event and task_processing/our caller doesn't see the termination event Solutions: 1. return success on a 404 response to a delete - regardless of what happened, we're in the desired state :p 2. Send a synthetic event to our caller in kill() + fixup our internal state
- Loading branch information
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters