How does Kubernetes actually run an LLM on a GPU?
That was the focus of Day 18.
Kubernetes understands CPU and memory by default, but GPUs require additional components. We walked through the complete journey:
πΉ NFD (Node Feature Discovery) β Discovers GPU hardware on Kubernetes nodes.
πΉ GFD (GPU Feature Discovery) β Provides detailed NVIDIA GPU information such as model, memory, architecture, and MIG capability.
πΉ NVIDIA Device Plugin β Makes GPUs available as resources that Kubernetes workloads can request.
πΉ GPU Scheduling β We explored how nodeSelector, Node Affinity, and Taints/Tolerations help us choose the right GPU and protect expensive GPU nodes.
πΉ Dynamic Resource Allocation (DRA) β Instead of simply saying βGive me one GPU,β DRA allows workloads to describe what kind of device they need. We also looked at how DRA has evolved in Kubernetes 1.36.
πΉ NVIDIA GPU Operator β Automates much of the NVIDIA GPU software stack, including drivers, GPU discovery, the device plugin, container support, MIG management, and monitoring.
πΉ GPU Sharing β We compared Time Slicing and MIG and discussed when sharing an expensive GPU makes sense.
πΉ GPU Monitoring β We looked at how DCGM Exporter + Prometheus + Grafana can provide visibility into GPU utilization, memory, temperature, power, and health.
The big picture is:
Physical GPU β Discover β Expose β Schedule β Allocate β Run LLM β Monitor
For DevOps, SRE, and Platform Engineers moving into GenAI, GPUs are becoming another critical infrastructure resource we need to understand and manage.
Day 18/100 completed! π
π Want to learn GenAI from a DevOps Engineer's perspective?
π https://ideaweaver.ai/#courses/genai-for-devops-engineers
π Follow Along Daily (Registration Required)
π₯ Day 18 (English): https://www.ideaweaver.ai/courses/100-days-of-genai-for-devops-english/lectures/66538878
π₯ Day 18(Hindi): https://www.ideaweaver.ai/courses/100-days-of-genai-for-devops-hindi/lectures/66538879
Top comments (0)