I want to run a docker container which uses GPU (it runs a cnn to detect objects on a video), and then run that container on kubernetes.
I can run the container from docker alone without problems, but when I try to run the container from kubernetes it fails to find the GPU. I read that I have to tell kubernetes to use the GPU but I haven’t been able to make it work and I’m out of options.
I running it using this command:
kubectl exec -it namepod /bin/bash
Source: Docker Questions