Problems running a docker container which uses GPU from kubernetes

  docker, docker-compose, gpu, kubernetes

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

This is the problem:
enter image description here

Source: Docker Questions