Tutorial: Migration 101: From VMs to Kubernetes
Talkat KubeCon + CloudNativeCon North America 2020 Virtual · on Tuesday, 2020-11-17· at 14:55· Intrado Virtual Event Platform,·
summary
Step‑by‑step migration that actually builds and runs: Dockerizing the API into a local image, loading it into kind load or pushing to Docker Hub, then applying Kubernetes YAML for Pod → Deployment → Service → Ingress (nginx) and swapping DNS (/etc/hosts) for a true no‑downtime migration without restarting the web tier. Adds logging with Fluentd → Elasticsearch → Kibana and metrics with Prometheus + Grafana, runs on a laptop but recommends ~16 GB RAM and 6 CPUs, and demonstrates a Consul service mesh adding mTLS and retries to mask a simulated 50% error rate.
AI-written summary · about
chapters (31)
- 0:00Introduction and goals
- 1:18Agenda and learning plan
- 3:30Prerequisite software
- 4:57Adoption strategies
- 6:25Initial local setup
- 8:47Running services locally
- 12:33Dockerizing the API
- 15:14Building container images
- 17:08Docker registry usage
- 21:51Deploying to Kubernetes
- 25:36Kubernetes primitives
- 27:16Creating Kubernetes resources
- 30:19Testing the deployment
- 33:09Kubernetes ingress
- 35:49Service and ingress setup
- 37:08Ingress configuration
- 39:19Logging and metrics setup
- 42:32Configuring observability
- 45:58Fluentd implementation
- 50:31Kibana log analysis
- 53:29Prometheus metrics
- 56:30Grafana visualization
- 58:43Instrumenting the app
- 1:02:08Performing the migration
- 1:04:22Zero downtime switch
- 1:07:12Lessons learned
- 1:10:13Security considerations
- 1:12:08Service mesh introduction
- 1:15:43Consul installation
- 1:18:17Mesh configuration
- 1:20:43Mesh capabilities
related talks
46mMigrating from VMs to K8s
29mFrom pets to cattle, the way of Kubernetes
46mFrom Docker To Kubernetes: A Developer's Guide To Containers
36mFrom Screen to Pods: Bootstrapping a Cloud Agnostic System using Kubernetes [I]
38mBuilding the Perfect Infrastructure with Kubernetes
31mMigrating Legacy Infrastructure to Kubernetes: Olark’s Lessons From the Trenches
45mLearning How to Pronounce Kubernetes to Production in 3 Months!
33mNavigating the Seas of Transformation: Migrating from EC2 to Kubernetes
