k8s集群环境 下一台 linux‘ 服务器上使用如下命令 卸载驱动
sudo apt-get purge nvidia-*
重启后 安装显卡仍报如下错
An NVIDIA kernel module 'nvidia' appears to already be loaded in your
kernel. This may be because it is in use (for example, by the X
server), but may also happen if your kernel was configured without
support for module unloading. Please be sure you have exited X
before attempting to upgrade your driver. If you have exited X, know
that your kernel supports module unloading, and still receive this
message, then an error may have occured that has corrupted the NVIDIA
kernel module's usage count; the simplest remedy is to reboot your
computer
最后 sudo systemctl stop kubelet 后 可以重装 坑爹啊!
.