Node.js in a Kubernetes World
summary
Explains concrete steps: use the official Node Docker images (Debian, slim, Alpine caveat), write a Dockerfile and multi-stage Docker builds, push to a registry, then create Kubernetes YAML for Deployment/Service/Ingress or package with Helm charts. Add liveness and readiness HTTP probes, log JSON to stdout (pino) and expose a Prometheus metrics endpoint (prom-client). Demonstrates op city accelerating local dev by mapping code into containers, building images and deploying to Kubernetes so an app can run with two replicas and ready/liveness/metrics endpoints out of the box.
AI-written summary · about
chapters (14)
- 0:00Intro
- 1:24IBM's JavaScript/Node.js Focus
- 2:17Developer Enablement
- 3:11Cloud Native Development
- 4:47Building Docker Images - Base Images
- 6:42Building Docker Images - Building
- 8:09Deployment Artifacts
- 11:14Testing
- 12:04Liveness and Readiness
- 17:32Metrics
- 19:07Upgrades
- 21:41Let's Separate the Concerns
- 24:45Stacks
- 28:22codewind
related talks
21mScaling Node.js applications with Kubernetes and Docker
26mUsing Minikube (Kubernetes) for Node.js Development
42mLocal Development Techniques with Kubernetes
39mDocker and the Path to a Better Staging Environment
25mNode.js Meets Docker
15mSkaffold: Local development with Kubernetes
02h 42mWorkshop: Kubernetes 101
20mHow to Secure Your Node.js Containers on Kubernetes With Best Practices
