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

[k8s] Use default runtime on k3s for CPU tasks #3918

Merged
merged 2 commits into from
Sep 10, 2024
Merged

Conversation

romilbhardwaj
Copy link
Collaborator

Launching a CPU cluster on k3s cluster with the Nvidia GPU runtime class installed but no Nvidia GPU operator would stay stuck on launching with this error in k describe pods:

Warning  FailedCreatePodSandBox  0s (x3 over 28s)  kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to get sandbox runtime: no runtime for "nvidia" is configured

This PR adds a check for to add the nvidia runtime only if the Nvidia GPU operator is installed.

@romilbhardwaj romilbhardwaj added this pull request to the merge queue Sep 10, 2024
Merged via the queue into master with commit 8d795b7 Sep 10, 2024
20 checks passed
@romilbhardwaj romilbhardwaj deleted the k3s_runtime_fix branch September 10, 2024 15:23
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

Successfully merging this pull request may close these issues.

2 participants