dockershim: remove the use of kubelet's internal API #58548
We let dockershim implement the kubelet's internal (CRI) API as an
This PR also moves the legacy functions to a separate file and clean up
@yujuhong: Adding do-not-merge/release-note-label-needed because the release note process has not been followed.
One of the following labels is required "release-note", "release-note-action-required", or "release-note-none".
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/test-infra repository.
We let dockershim implement the kubelet's internal (CRI) API as an intermediary step before transitioning fully to communicate using gRPC. Now that kubelet has been communicating to the runtime over gRPC for multiple releases, we can safely retire the extra interface in dockershim.
[APPROVALNOTIFIER] This PR is APPROVED
Associated issue requirement bypassed by: yujuhong
The full list of commands accepted by this bot can be found here.