Commit 98e67bf
committed
Add Lab 7: GPU isolation on k3s without the GPU Operator
Adds a new hands-on lab (English + Chinese) that builds a single-node
k3s cluster on a cloud GPU VM, installs HAMi without the NVIDIA GPU
Operator with nvidia as the default containerd runtime, and proves
memory isolation end to end: virtualized nvidia-smi inside each pod,
a CUDA allocation refused at the slice by HAMi-core, an oversubscribing
pod kept Pending with CardInsufficientMemory, and the libvgpu.so
/etc/ld.so.preload injection mechanism.
Every output was captured from a live run on a GCP g4-standard-48 Spot
VM with one 96 GB NVIDIA RTX PRO 6000 Blackwell (k3s v1.36.2+k3s1,
HAMi v2.9.0, driver 610.43.02).
The lab design is adapted from Lovedeep Singh's (@ld-singh) AI Factory
Operations Lab with his permission, credited in the lab.
Closes #559
Signed-off-by: Saiyam Pathak <saiyam911@gmail.com>1 parent ac57fe3 commit 98e67bf
7 files changed
Lines changed: 840 additions & 2 deletions
File tree
- i18n/zh/docusaurus-plugin-content-docs-tutorials/current
- labs
- tutorials
- labs
- examples/07-hami-isolation-k3s
Lines changed: 385 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
| |||
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
Lines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
0 commit comments