~/talk

Snaking Python Into Kubernetes

Talkat Developer Summit 2020 · 2020-11-21..11-22· [python, kubernetes]
links:none on file
slides:none on file

Shows building a FastAPI Python microservice, containerizing it with successive Docker multi-stage refinements and shrinking the image from about 378 MB to 144 MB (~40% smaller). Uses FastAPI (with uvicorn), a local Helm-installed registry, the ko builder to construct images, and a Tecton pipeline on Kubernetes (Katacoda sandbox) that clones the repo, builds, pushes, and deploys. The pipeline completes, the image appears in the registry, and the service responds at the deployed endpoint.

AI-written summary · about

  1. 0:00Introduction to session
  2. 2:05Python language overview
  3. 12:02Python in containers basics
  4. 17:01Kubernetes architecture explained
  5. 22:17CI/CD pipelines on Kubernetes
  6. 30:00Hands-on demo setup
  7. 31:26Building bloated container
  8. 33:37Building slim container
  9. 37:06Building Alpine container
  10. 40:15Container registry setup
  11. 41:58Installing Tecton pipeline
  12. 45:29Defining pipeline resources
  13. 46:31Creating pipeline tasks
  14. 47:57Pipeline execution flow
  15. 50:04Running the pipeline demo
  16. 51:49Deploying Python app on Kubernetes
  17. 52:50CI/CD workflow summary
~/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.