-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
container-toolkit on k0s leads to unsupported config version: 3 #803
Comments
We got bitten by Working on a PR: https://github.com/NVIDIA/nvidia-container-toolkit/pull/805/files |
Hello @alam0rt I've observed this too and this was the main reason I opened this report: My containerd version is 1.7.22 - as pointed in the first quote block on my report. Support containerd 2.x is very good, but mine wasn't that updated, so I think another issue has been hit here. Do you think it's possible by any means the fallback detection is falling some other pitfall? |
I noticed that you were using
but it (k0s perhaps?) must be providing a version 3 config: nvidia-container-toolkit/pkg/config/engine/containerd/containerd.go Lines 87 to 95 in 5c3ffc2
|
Hello! Do you mind how I can get this version directly from containerd socket? |
See #805 |
Hello @elezar ! Thanks for the reference of v3 support. But in my case I guess it's a misdetection in fact because k0s uses v2 - as stated in the first message of issue report. So I think there is 2 issues in the room:
It's possible to check the detection mechanism? |
Hello,
I'm trying to install nvidia helm in a k0s cluster:
As stated possible at https://docs.k0sproject.io/v1.31.2+k0s.0/runtime/#using-nvidia-container-runtime, I've set the helm chart to following options at nvidia-container-toolkit:
The usage of
CONTAINERD_USE_LEGACY_CONFIG
was an attempt after reading issue #777 after the recommended way from k0s did not worked.Anyways I run, what I get is:
After checking some source code, I guess legacyConfig does not get proper version to create the file, but I haven't deeply read the source to understand (Also, not a good Go coder).
That said, what may be wrong to nvidia-toolkit does not create the legacyConfig in the specified folder properly?
Thanks!
The text was updated successfully, but these errors were encountered: