What moving Kubernetes workloads from GKE to DigitalOcean taught me about ingress, DNS and data.
Moving an app from one Kubernetes cluster to another sounds easy. Build the new cluster, deploy, switch DNS, switch off the old one.
On paper, yes. In practice, that's where the trouble starts.
I've worked with Kubernetes on AWS, Azure and Google Cloud. One migration moved workloads from Google Kubernetes Engine (GKE) to DigitalOcean Kubernetes (DOKS). The manifests were never the hard part. The hard part was making sure the new environment could carry the same workloads, networking and storage before any traffic moved.
Here's why that matters. Every pod can report healthy while users still can't reach the app. A service can exist with no working ingress. A load balancer can be ready while DNS still points at the old cluster. And a database app can look fine right up until you find the storage never moved.
None of that shows up when you run kubectl apply against a new cluster.
Kubernetes is portable.…