Kubernetes version: 1.26.1
Cloud being used: (put bare-metal if not on a public cloud)
Host OS: CentOS 8.5
CNI and version:
CRI and version:
We loaded our driver in SR-IOV mode, exposed VFs and attached all VFs to host as CharDevices from /dev/XYZ_1 to /dev/XYZ_30.
When we attach each device to individual PODs, container applications are working as expected in privileged mode.
As we should not create privileged PODs due to security issues, we are allowed to create only non-privileged containers.
But in non-priviledge mode we are facing below error:
Failed to open device /dev/XYZ_0
Failed to mmap 1234 memory, errno: 9
Failed to map 1234 memory, errno: 9
Failed to map slab buffers 19K
Failed to init our driver
error code 44440085, errno 9 Bad file descriptor
Please help us in fixing this issue. Thanks in advance.