-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
support RuntimeClass.handler, this will useful like nvidia is not the… #350
Conversation
f8d97aa
to
777b979
Compare
@neersighted @corhere PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks! cc @nwneisen
@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>
Fixes #111 . default-runtime is
runc
, You cannot useRuntimeClass.handler
to specify that the pod uses a non-runc runtime.:before
RuntimeClass.handler=docker
will used runcchange
handler: docker
tohandler: nvidia
will not work, but after this pr:will handle the
RuntimeClass.handler
work with crictl https://github.com/containerd/containerd/blob/main/docs/cri/crictl.md#run-a-pod-sandbox-using-a-config-file