İçeriğe geç
onsuggest
Giriş
Makale en

Running Kubernetes with a GPU Inside WSL2 on My RTX Laptop

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

Klavye kısayolları

Önceki keşif
←P
Sıradaki keşif
→N
Beğen
L
Bana göre değil
X
Kaydet
S
Bu yardımı göster
?
Kapat
Esc

Kısayollar keşif sayfasında çalışır.