Properly handle graceful shutdown of the kubelet plugin
Without this change, deletion of the DRA driver will not remove resource slices. There is an open issue in kubernetes (https://github.com/kubernetes/kubernetes/issues/128696) that would ensure that these resources slices get removed even if there is no graceful shutdown, but it's still good to shutdown gracefully regardless.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: byako, klueska
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [byako,klueska]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
Some description of what problem this change addresses would be useful. Both commit message and PR description are empty.
PR needs rebase.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.