Orchestration of ML workloads via Airflow and GKE Batch
summary
Airflow DAG uses four GKE-aware operators (GK create cluster operator, GK start Q job operator, GK create custom resource operator, GK start Q inside cluster operator) to provision a GKE cluster, install Kubernetes Queue, create resource flavors and local/cluster queues, then submit jobs. The pipeline runs LoRA fine-tuning of Google Gemma, mounts data with GCS Fuse, runs a perplexity benchmark to pick a champion, and pushes the model to Vertex AI. Demo runs end-to-end with autoscaling and preemption; code and Docker build steps are on GitHub.
AI-written summary · about
chapters (13)
- 0:00Introduction to talk
- 0:42Why Kubernetes needs Q
- 2:06Resource flavors and cluster Q
- 5:19Q functionality overview
- 6:43GKE Batch and SoCal Q
- 8:51Airflow operators for GKE
- 11:04LLM fine-tuning workflow
- 13:11Demo setup walkthrough
- 15:39Resource flavors configuration
- 17:44Job submission to Q
- 19:32Vertex AI model upload
- 20:17Demo execution visualization
- 20:59Resources and next steps
