Comments (7)
@RenaudWasTaken didn't we say that we should do an infinite loop in this case?
from k8s-device-plugin.
Just to see if it would make a difference, I installed the drivers, cuda libs, and container runtime on the non-GPU nodes. The error changed to: "nvidia-container-cli: initialization error: cuda error: unknown error"
@flx42 I'd suggest an infinite sleep ... we don't want to consume CPU resources unnecessarily.
Thanks!
from k8s-device-plugin.
Sure sure, that's what I meant. Like this: https://github.com/NVIDIA/k8s-device-plugin/blob/v1.9/main.go#L26
from k8s-device-plugin.
Unless I'm mistaken, that error message is coming from the container runtime when it's trying to set up before it runs the plugin. This might need to be a mod to the nvidia-container runtime?
from k8s-device-plugin.
No, you just shouldn't install the runtime and the driver on a non-GPU node.
And then we will just need to modify this line:
https://github.com/NVIDIA/k8s-device-plugin/blob/v1.9/main.go#L19
from k8s-device-plugin.
@flx42 I replaced the exit() with the select {} as you suggested and it now behaves nicely. Thanks!
from k8s-device-plugin.
@dredwilliams thanks for reporting this! Fixed in the latest version :)
Images will pushed to the Docker Hub shortly
from k8s-device-plugin.
Related Issues (20)
- Debian 11 -> debian 12 HOT 4
- Support for Node GPU resource utilization and GPU resource requests and limits (eg HMB, CUDA cores, Tensor Cores) HOT 1
- nvdia-cuda-mps-server consistently hangs at the "creating worker thread" log HOT 4
- How to specify alternate runtimeClassName in Helm chart HOT 1
- How to solve could not load NVML library: libnvidia-ml.so.1 HOT 23
- undefined variable "$hasServiceAccount" HOT 4
- Is nvidia container runtime necessary for app pod when using cdi-annotations strategy? HOT 5
- More flexible time-slicing strategy configuration
- an amazon machine image (AMI HOT 1
- an amazon machine image (AMI) that meets the prequites of k8s-device-plugin HOT 2
- How to trigger gpu failure, the gpu count of node's allocatable field will be dynamically decrease HOT 4
- Unable to install in Ubuntu 20.04 a nvidia container toolkit with version < 1.14.4 HOT 15
- cannot generate node label nvidia.com/gpu.product for GPU TITAN X HOT 1
- GPU health status exposure and remediation methods HOT 1
- GPU distribution wrong after reboot node HOT 2
- Addressing several security vulnerabilities in the version v0.14.4 and v0.14.5 HOT 1
- GPU allocation does not respect NVLink HOT 5
- A pod can access all gpu resources even if no nvidia.com/gpu is configed. HOT 1
- Using CUDA MPS to enable GPU sharing, the pod occupies all GPU memory. HOT 11
- 0/1 nodes are available: 1 Insufficient nvidia.com/gpu HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k8s-device-plugin.