Aller au contenu
onsuggest
Connexion
Article en

Running Kubernetes with a GPU Inside WSL2 on My RTX Laptop

Source: 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:

Raccourcis clavier

Découverte précédente
←P
Découverte suivante
→N
J'aime
L
Pas pour moi
X
Enregistrer
S
Afficher cette aide
?
Fermer
Esc

Les raccourcis fonctionnent sur la page des découvertes.