I am running a Pod on my Kubernetes cluster with root privilege, hostNetwork: true and a few resources like shm, hughpages. And I am using a image that has a Fedora 33 base OS image and on top of it I have installed a few additional dependencies. And I wish to use nvme module for nvme discover and nvme connect commands inside my container.
So after my pod is scheduled, I tried loading nvme module (modprobe nvme) but it is giving my error that ‘modprobe: command not found’. So I installed kmod (sudo dnf install kmod).
So now that I tried ‘modprobe nvme’, it is giving me this error
modprobe: FATAL: Module nvme not found in directory /lib/modules/4.18.0-147.el8.x86_64
Can someone please help me out, I am unable to diagnose why it is giving me this error.
Kubernetes version: v1.21.1
Host OS: RHEL 8.1