Upgrade cri-api for runtimeHandler parameter support#1943
Conversation
Signed-off-by: Praful Gupta <prafulgupta6@gmail.com>
|
Hey @sondavidb can you run the integration tests here? and review if things look right to you :) |
|
I just confirmed that with the above ( And I see this in the logs as well `"experimental: PullImage … for runtime soci, using snapshotter soci" |
|
Hey @prafgup, apologies things have been busy + been on vacation. Feel free to ping me for anything else I've missed — trying to catch up. (I still need to look at your concatenated ztoc PR, apologies for putting that one off for a while 😔 ) Related to this PR, would be great if we could get some testing with crictl (ref #1572) so that we can catch things such as these. Obviously not expecting this change to handle it though. |
|
Hey @sondavidb 😄 hope you had a nice vacation !! Theres this one critical fix that should be prioritized - #1947 (fixes multi platform standalone convert) In the meantime I'll take a look if I can get something setup with crictl. I have tested this PR on a real cluster itself so should be fine overall :)
|
sondavidb
left a comment
There was a problem hiding this comment.
Oops, forgot to approve this
|
Thanks. |
Issue #, if available:
I was investigating soci pull taking too long for the first time on k8s using continerd 2.2 and figured there were a couple of issues. Investigating that I figured that containerd is pulling the full image as well as soci is mounting it as fuse leading to very high 1st pull time (containerd pull is discarded).
More info in the comment above the function here - https://github.com/containerd/containerd/blob/v2.2.2/internal/cri/server/images/image_pull.go#L824-L867
"experimental: PullImage %q for runtime %s, using snapshotter %s", havingplugins.'io.containerd.cri.v1.images'.runtime_platforms.socishould fix it.Using deprecated annotation %q for runtime handler.thus its not returning here.SOCI v0.13.0 drops runtime_handler on the wire (imports k8s.io/cri-api v0.28.2 which predates that field, and has no runtime_handler field on PullImageRequest).
Description of changes:
Testing performed:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.