support RuntimeClass.handler, this will useful like nvidia is not the…#350
support RuntimeClass.handler, this will useful like nvidia is not the…#350nwneisen merged 1 commit intoMirantis:masterfrom
Conversation
f8d97aa to
777b979
Compare
|
@neersighted @corhere PTAL |
|
@zhangguanzhang Please take a look at why CI is failing |
I found the reason and am modifying it locally. Also, can you help me look at another PR first? #349 |
I used the crictl create test on containerd with a non-existent sandbox ID and found an error. I thought the CreateContainer should have called the RunPodSandbox before it |
777b979 to
4a7d4ef
Compare
4917a42 to
999da7a
Compare
…lt runtime Signed-off-by: zhangguanzhang <zhangguanzhang@qq.com>
999da7a to
b92e5ba
Compare
|
This feature is exactly what I want. Greate job. Hope this PR would be merged ASSP. |
|
LGTM |
|
@nwneisen Will this PR be cherry-picked into Not pushing for it, I just want to know if it makes sense to wait for a release, or if I should build from |
|
This is a new feature that I don't think is appropriate for cherry-pick into an existing branch. We're working on a 0.4 very shortly. |
Any updates on this? |
Mirantis#350) Signed-off-by: zhangguanzhang <zhangguanzhang@qq.com>
@nwneisen @neersighted Is there still any plan to creating a 0.4 (pre-)release? This PR has merged almost a year ago. |
Mirantis#350) Signed-off-by: zhangguanzhang <zhangguanzhang@qq.com>
Mirantis#350) Signed-off-by: zhangguanzhang <zhangguanzhang@qq.com>
Fixes #111 . default-runtime is
runc, You cannot useRuntimeClass.handlerto specify that the pod uses a non-runc runtime.:before
RuntimeClass.handler=dockerwill used runcchange
handler: dockertohandler: nvidiawill not work, but after this pr:will handle the
RuntimeClass.handlerwork with crictl https://github.com/containerd/containerd/blob/main/docs/cri/crictl.md#run-a-pod-sandbox-using-a-config-file