Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support CRI v1 and v1alpha2 at the same time
The idea is to use intermediate internal types to be able to switch between the `v1` and `v1alpha2` protocol versions. The kubelet selects the correct version during connection establishment with the remote runtime. `v1` is the preferred version, whereas `v1alpha2` is now being deprecated. Additional things done: - Added APIVersion() to runtime service - Add --cri-version kubelet configuration flag - Move cri-api types from staging to internal Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
- Loading branch information