~/talk

Containerized Deployments for your SPA and API

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

Demo uses Vue CLI and dotnet CLI to scaffold apps, then shows concrete Dockerfiles including multi-stage Dockerfiles and an nginx runtime to produce small images. Live demo builds and runs SPA and API containers, hits a CORS failure when using subdomains, and resolves it by routing both services through a Kubernetes ingress so the SPA can call /api without CORS. Tradeoffs: one-container simplifies single-host deploys but prevents independent scaling; two-container+ingress enables independent scaling and environment promotion.

AI-written summary · about

  1. 0:00Introduction to deployments
  2. 1:25What is Docker
  3. 5:57Docker ecosystem overview
  4. 6:40Local development setup
  5. 10:16Dockerizing the apps
  6. 21:32Linking containers together
  7. 23:26One container one domain
  8. 29:34Two containers two domains
  9. 36:23Two containers one domain
  10. 42:27Kubernetes ingress controller
  11. 44:15Server rendered SPAs
  12. 47:23Choosing the right approach
~/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.