This message was deleted.
# general
This message was deleted.
Yes, this is documented on the containerd side.
Thx for your response! I was actually referring to the mechanism k3s has in place to customize the containerd config (through the template
). See this section in the docs: It's not clear how to pass the
to the template.
you can’t customize that list. The extra runtimes discovered automatically by k3s are hardcoded.
If you want to add your own, you need to put them in the template as plain text blocks in the correct format for containerd to use.
👍 1
so right after the final
just put
Copy code
  runtime_type = io.containerd.runc.v2
  BinaryName = foo
Thx a lot! That's exactly how we are doing it now 🙂 Since I saw the option in the template, I was just wondering if it could be achieved without modifying the template.
no, the nvidia ones are the only things that are added automatically
and we don’t inject RuntimeClasses for them, so you still have to do that on the kubernetes side
that might be something to put in as an enhancement request
just out of curiosity, what runtime are you adding?
The nvidia-container-runtime 🙂 so I'm a bit surprised it's added automatically... never saw it.
oh yeah, should be there for you then, as long as the binaries are in the expected location
Cool, thx for the link to the issue. Helped me a lot!