~/talk

Gentle introduction to scaling up ML service with Kubernetes + Mlflow

Talkat PyData NYC 2022 · 2022-11-09..11-11· [devops-and-delivery]
links:none on file
slides:none on file

Deploys a Flask + Gunicorn model inside Docker, moves runtime orchestration to Kubernetes using k3s, and adds serverless scaling with Knative so pods scale from zero. Models live in a centralized Mlflow model registry that containers fetch at startup. Demo runs on a three-node cluster (one control plane, two workers, small VMs) for about $30/month on Digital Ocean; setup uses Docker images, Knative autoscaling, and Mlflow and the demo configuration works for lightweight production-like use.

AI-written summary · about

  1. 0:00Scaling ML with Kubernetes + MLflow
  2. 5:28Single container problems
  3. 7:18Docker and Kubernetes
  4. 8:02Kubernetes cluster basics
  5. 9:31Scalability with Deployments
  6. 12:00K8s Deployments with YAML
  7. 13:47ClusterIP for internal routing
  8. 16:20Exposing services outside Kubernetes with NodePort
  9. 17:49Load Balancer services
  10. 19:42Serverless ML with KNative
  11. 22:33ML model binary challenges
  12. 24:59MLflow Model Registry
  13. 27:10Registering models in MLflow
  14. 28:14Final ML service config
  15. 30:01Lightweight K3s cluster
  16. 31:47Q&A: Production K8s challenges
  17. 33:10Q&A: KNative cold starts
  18. 34:55Q&A: Production K8s configs
  19. 35:38Q&A: Load balancer subnets
  20. 36:41Q&A: MLflow multi-tenancy
  21. 37:48Q&A: K8s vs cloud services
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.