[Demo] Moving services from VMs to Kubernetes: a practical checklist

  • 28 Oct, 2026

Moving a service from a VM to Kubernetes is mostly about making implicit things explicit. This is the checklist I use.

Before you start

  • Inventory what the VM does. Cron jobs, log rotation, local files, and hostnames in configs are the usual surprises.
  • Make the app stateless or give its state a proper home.
  • Externalize config. Environment variables or config maps, not files baked into an image.

Build and run

  1. Write a small, pinned base image and build it in CI.
  2. Add liveness and readiness probes. Readiness protects users during rollouts.
  3. Set resource requests and limits from real usage, not guesses.
  4. Ship logs to stdout so the platform can collect them.

Cut over safely

  • Run both side by side and shift traffic gradually.
  • Keep the VM until the new setup survives a full business cycle.
  • Have a rollback that takes minutes, not hours.

After the move

Watch cost, autoscaling behavior, and noisy neighbors for a few weeks. The migration is finished when the on-call team stops noticing it.

Related Posts