forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kubelet: Pass context down to long running methods (3/5)
In preparation for allowing `sync*Pod` methods to be cancelled when the pod transitions to terminating, pass context to the appropriate methods in the Kubelet that might need to be cancelled within a deadline or due to user input. Does not change the behavior of those functions. For the remote CRI service, remove the wrappers that injected a new context and call the direct context equivalents for timeout.
- Loading branch information
1 parent
c5822d6
commit f5ff48b
Showing
3 changed files
with
63 additions
and
84 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
Oops, something went wrong.