Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: delete home pod when the foreign one is deleted
Pod deletion initiated from the home pod was not completed correctly. Indeed, the pod's container statuses in the home was never set to terminated so the virtual kubelet was not able to delete pod. This fix updates the container statuses in one go, when the foreign pod is deleted, ie. we miss to update the home pod when the foreign containers are terminated. Fixing this problem is out of scope and would probably require modifying the pod black listing mechanism which seems too risky at this time. Issue described here: #721. Resolves: #598
- Loading branch information
Showing
6 changed files
with
425 additions
and
37 deletions.
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
Oops, something went wrong.