3.5 Reset for Lab 2¶
Lab 2 serves a latency-sensitive model. It must not land on a time-sliced node — and if it did, KEDA would happily stack replicas on the same card and you'd learn nothing about autoscaling. Put node A back the way you found it.
Delete the four small pods¶
Un-slice node A¶
Removing the label makes the config manager restart the plugin with no sharing config:
kubectl label node "$NODE_A" nvidia.com/device-plugin.config-
sleep 15
kubectl get nodes -l karpenter.sh/nodepool=gpu -o custom-columns='NAME:.metadata.name,GPU:.status.allocatable.nvidia\.com/gpu,PRODUCT:.metadata.labels.nvidia\.com/gpu\.product,REPLICAS:.metadata.labels.nvidia\.com/gpu\.replicas'
Both nodes are exclusive again. Node A is empty; node B has the notebook.
Confirm the image cache is warm¶
READY 2/2: the vLLM image is on both GPU nodes. If node B still shows READY 1, it's mid-pull; it'll finish during the first minutes of Lab 2.
Where you are¶
| Node | Instance | GPU | Running |
|---|---|---|---|
| A | g6.xlarge (or g5) | 1, exclusive | nothing — warm image, waiting for vLLM |
| B | g5.xlarge (or g6) | 1, exclusive | forgotten-notebook, 0% util |
Two GPU nodes, one useful. Lab 2 will use node A and, when it scales, need a third.
If you fell behind
It's fine to arrive at Lab 2 with node A still sliced or the shared-load pods still running — but run this page's two commands first, or vLLM's replicas will pile onto the shared card. ./scripts/validate-lab1.sh still passing is the bar.