Skip to content

K10 and Pure Storage Kubernetes Application Migration part2

Transcription is available below video player.

Hello, and welcome to this demo of Pure Storage and Kasten K10. It’s going to show you how to migrate from one cluster to another.

So first we see our Dev Cluster and our Lab Cluster, and in the Lab Cluster we have a[n] app running, the Go App, it’s got some web servers, and a SQL database.

So, you’ll see here, it is not running on the Dev Cluster. And that namespace doesn’t even exist. Watch - we’ll see: ‘get namespace’. Yep. Go App not running in Dev.

And we’ll look at the dashboard in Kasten, and will see we have a policy that is set to backup our Go web App, every hour. And we’re keeping a certain number of snapshots, and a certain number of exported to an S3 target. So you can see here, we have some restore points. It’s been running for a couple of days. I can see it’s going to my S3 target.

And now we’re looking at the Dev Cluster. Go to policies. We can see that we have an import policy that basically says ‘import it and restore it’. And we use that secret key to get it to talk to the S3 service. But I’m going to run it now instead of once a week so we can see it. So we’ll go back to the dashboard, and we see that the import has already happened. So that’s restoring the actual objects kind of into Kubernetes. And now we’ll see a restore, which is doing the import of the data from the object store.

We get a little more information from kubectl if we’d like. And we put this into our cluster and see - yes, we’ll copy that. (See here). for more information, that’s nice, if we need to, just to know what’s going on. And if we check that new namespace, which has already been created, ya. It wasn’t there before. It made it for us.

See this restore pod running, which is actually what’s copying the data into the PVC. That’s a temporary pod, and you can see it’s already terminating. So it’s not a lot of data, so you can see it doesn’t take long -- it’s only a three-and-a-half minute demo. See the PVC is created, so it’s copying the data into it. The application is starting up, and you can see that web servers can’t start. They error out until the SQL server is fully running. So we’ll give it a minute to catch up (and we’ll just time warp here). Da da da!  Here we go, and see now it is running. Took about two and a half minutes, right? So it’s, everything’s up and happy. SQL servers are running, the web servers are running, and that is a quick migration of an application between clusters, using Kasten and Pure Storage. 

So follow us on Twitter, that would be awesome. Watch some of our further videos and demos.

Thank you very much.