DEV Community

Cover image for πŸš€ Day 18: 100 Days of GenAI for DevOps: Kubernetes & GPUs
Prashant Lakhera
Prashant Lakhera

Posted on

πŸš€ Day 18: 100 Days of GenAI for DevOps: Kubernetes & GPUs

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)