Skaffold: Local development with Kubernetes
summary
Shows a concrete workflow: a Node.js front end (index.js) built into a Docker image, deployed to minikube with Kubernetes deployment and service manifests, containerPort and NodePort set to 3000, one replica. Uses "skaffold dev --port-forward" to build, tag, push locally and sync file changes on save so edits (example changed text to "local development kcd demo") appear in the browser in real time; the demo succeeds and pods/services are visible via kubectl.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:28Skaffold development problems
- 2:51Node.js project setup
- 3:58Node.js app and Dockerfile
- 5:24Kubernetes manifests
- 7:32Skaffold config
- 8:56Deploy and test
- 10:04Live updates
- 11:12Verify deployment
- 13:28Conclusion
related talks
42mLocal Development Techniques with Kubernetes
32mLocal development techniques with Kubernetes
31mGo development on local k8s with Skaffold
45mKubernetes Local Development Workflow Distilled
22mMaking Kubernetes How We Build Things
02h 18mDevelop and Deploy to Kubernetes like a Googler
26mUsing Minikube (Kubernetes) for Node.js Development
38mDeveloping Locally with Kubernetes
