Skip to content

Advice user to use --gpus instead of gpu-addon on docker driver #19114

@sivanaikk

Description

@sivanaikk

What Happened?

I am trying to integrate GPU with Minikube, My host machine is Windows and I am using docker desktop in wsl2 and trying to provision Minikube with the support of GPU.

I was able to integrate GPU with docker,

sudo docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-smi

image

  • Minikube start command

minikube start --driver=docker --addons=ingress --addons=nvidia-gpu-device-plugin
image

image

  • Pod failing with the following error

  Warning  FailedScheduling  45s   default-scheduler  0/1 nodes are available: 1 Insufficient nvidia.com/gpu. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod.

Attach the log file

log.txt

Operating System

Windows

Driver

Docker

step I followed

Medium Link

Metadata

Metadata

Assignees

Labels

area/gpuGPU related itemsgood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.kind/improvementCategorizes issue or PR as related to improving upon a current feature.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions