-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Description
What Happened?
When I try to stop and then start minikube v1.32.0-beta0 it gives me an error:
$ minikube start --driver docker --container-runtime docker --gpus all --cpus=8 --memory=8G
๐ minikube v1.31.2 on Ubuntu 23.04
โจ Using the docker driver based on user configuration
๐ Using Docker driver with root privileges
๐ Starting control plane node minikube in cluster minikube
๐ Pulling base image ...
๐ฅ Creating docker container (CPUs=8, Memory=8192MB) ...
โ Using GPUs with the Docker driver is experimental, if you experience any issues please report them at: https://github.com/kubernetes/minikube/issues/new/choose
๐ Installing the NVIDIA Container Toolkit...
๐ณ Preparing Kubernetes v1.28.2 on Docker 24.0.6 ...
โช Generating certificates and keys ...
โช Booting up control plane ...
โช Configuring RBAC rules ...
๐ Configuring bridge CNI (Container Networking Interface) ...
โช Using image gcr.io/k8s-minikube/storage-provisioner:v5
โช Using image nvcr.io/nvidia/k8s-device-plugin:v0.14.1
๐ Verifying Kubernetes components...
๐ Enabled addons: storage-provisioner, nvidia-device-plugin, default-storageclass
๐ Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
$ minikube stop
โ Stopping node "minikube" ...
๐ Powering off "minikube" via SSH ...
๐ 1 node stopped.
$ minikube start --driver docker --container-runtime docker --gpus all --cpus=8 --memory=8G
๐ minikube v1.31.2 on Ubuntu 23.04
โจ Using the docker driver based on existing profile
๐ Starting control plane node minikube in cluster minikube
๐ Pulling base image ...
๐ Restarting existing docker container for "minikube" ...
โ Using GPUs with the Docker driver is experimental, if you experience any issues please report them at: https://github.com/kubernetes/minikube/issues/new/choose
๐ Installing the NVIDIA Container Toolkit...
โ Exiting due to RUNTIME_ENABLE: Failed to enable container runtime: failed installing the NVIDIA Container Toolkit: /bin/bash -c "curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg": Process exited with status 2
stdout:
stderr:
gpg: cannot open '/dev/tty': No such device or address
curl: (23) Failed writing body
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ ๐ฟ If the above advice does not help, please let us know: โ
โ ๐ https://github.com/kubernetes/minikube/issues/new/choose โ
โ โ
โ Please run `minikube logs --file=logs.txt` and attach logs.txt to the GitHub issue. โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏIn the last step, it happens the same if I just run minikube start or if I use the rest of parameters that you can find above.
To make it work I need to delete it and then start it again.
There is not problems if I don't use the --gpu parameter.
This comes from #17380
Attach the log file
--
Operating System
Ubuntu
Driver
Docker
doker78doker78
Metadata
Metadata
Assignees
Labels
No labels