Microk8s GPU issues
This error occurs with specific GPU drivers in Almalinux,
when the microk8s GPU is enabled. If pods in gpu-operator-resource
namespace
have error (kubectl describe -n <namespace> <pod>
):
/sbin/ldconfig.real was not found
,
then follow these steps to fix this issue:
Run
nvidia-smi
and assure that GPU drivers are correctly installed.Check if
/sbin/ldconfig
file has been created. (drivers are correctly installed)Create a symbolic link:
sudo ln -s /sbin/ldconfig /sbin/ldconfig.real
Restart system:
microk8s disable gpu
and afterwards:microk8s enable gpu