0

I’ve run an application to offload the compute on a GPU via the PCI link. It works fine with Docker and Minikube but I’ve encountered a driver problem with Kubernetes (kubeadm or kind). I mounted all necessary local folders (and also checked) and gave the privileged access. In fact, I use the same pod.yaml file for Minikube and Kubeadm or Kind but I get the same problem in Kubeadm and Kind.

Error:

kubectl create -f pod.yml
kubectl exec -it pod -- /bin/bash

(inside the Pod)
./myapp

Insuffisient access for file /sys/bus/***_rpmsg/devices/virtio1.dynept-1-1.-1.1/driver_override
cannot bind virtiodev virtio1.dynept-1-1.-1.1 to driver with service dynept-1-1
$ kubectl version

Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.1", GitCommit:"206bcadf021e76c27513500ca24182692aabd17e", GitTreeState:"clean", BuildDate:"2020-09-09T11:26:42Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.1", GitCommit:"206bcadf021e76c27513500ca24182692aabd17e", GitTreeState:"clean", BuildDate:"2020-09-14T07:30:52Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}

Container runtime: containerd

The application should be running on Kind/Kubeadm as in Minikube

Thanks for your help!

votientu
  • 13
  • 2

0 Answers0