mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-23 11:27:15 +00:00
Automatic merge from submit-queue (batch tested with PRs 56040, 62627). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Node-level Checkpointing manager: Migrate dockershim and device plugin manager checkpointing **What this PR does / why we need it**: This PR abstracts checkpoint manager at kubelet level. Currently, `dockershim`, `deviceplugin` have their own native checkpointing primitives. And most recently `cpumanager` also added package native checkpointing primitives. This adds to the redundancy at implementation level. Also degrades code readability and consistency. To help this: 1. Checkpointing interface is being abstracted at kubelet level as `checkpointmanager` package. 2. `dockershim` and `deviceplugin` packages are modified to use `checkpointmanager` instead native checkpointing. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # ```release-note None ``` cc @jeremyeder @vishh @derekwaynecarr @sjenning @yujuhong @dchen1107 @RenaudWasTaken @ConnorDoyle @RenaudWasTaken @jiayingz @mindprince @timstclair /sig node