Skip to content
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

Values.yaml uses external containerd to k3s #1

Open
ldabas-msft opened this issue Nov 9, 2024 · 1 comment
Open

Values.yaml uses external containerd to k3s #1

ldabas-msft opened this issue Nov 9, 2024 · 1 comment

Comments

@ldabas-msft
Copy link

Shoudl the values.yaml not be using contaird managed by k3s internally, otherwise hwo does the cluster leverage nvdia?
Maybe this is a more appropriate implementation

toolkit:
env:
- name: CONTAINERD_CONFIG
value: "/var/lib/rancher/k3s/agent/etc/containerd/config.toml.tmpl"
- name: CONTAINERD_SOCKET
value: "/run/k3s/containerd/containerd.sock"
- name: CONTAINERD_RUNTIME_CLASS
value: "nvidia"
- name: CONTAINERD_SET_AS_DEFAULT
value: "true"

devicePlugin:
config:
name: time-slicing-config-all
default: any

@UntouchedWagons
Copy link
Owner

The pod will use the nvidia runtime if it's specified in the manifest, see the nvidia-smi.yaml example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants