Ir para o conteúdo
onsuggest
Entrar
Artigo en

Running Kubernetes with a GPU Inside WSL2 on My RTX Laptop

Fonte: Andrey Krisanov ·

Published: 2026-04-22 I wanted a local environment where I could: run Kubernetes schedule GPU workloads experiment with CUDA / inference / device plugins avoid renting cloud GPUs I used a Lenovo Legion laptop with an RTX GPU. The working stack was: Windows 11 + NVIDIA driver (WSL-enabled) WSL2 (Ubuntu 24.04) K3s (containerd) NVIDIA Container Toolkit NVIDIA device plugin The non-obvious part was that the NVIDIA device plugin itself had to use runtimeClassName: nvidia . Prerequisites You need: Windows 11 NVIDIA GPU (RTX in my case) Latest NVIDIA driver with WSL support WSL2 installed Inside WSL:

Atalhos de teclado

Descoberta anterior
←P
Próxima descoberta
→N
Gosto
L
Não é para mim
X
Guardar
S
Mostrar esta ajuda
?
Fechar
Esc

Os atalhos funcionam na página de descobertas.