The Kubernetes world has exploded! Its all you hear about now, Kubernetes, Kubernetes, Kubernetes! VMware acquired Heptio, launched Project Pacific (see Anthony Spiteri’s blog), NetApp announced Application Lifecycle Management for Kubernetes, AWS has EKS, Azure has AKS, Google Cloud Platform has GKE (they invented the thing!) everyone is announcing something somewhere. As this demand grows, the need for backing up and protecting these workloads is ever increasing. More and more Kubernetes workloads are becoming stateful, in-fact I wrote a blog article during my day job about just this – Stateful containers in production, is this a thing? Recently I came across a great company called Kasten. They offer native integration with Kubernetes to backup and restore any Kubernetes workloads. They have some really cool features including cross platform migrations. I thought it would be great to dig into this and take a look:
First, let’s take a look at the flexibility of the Kasten K10 platform. Within Kasten K10, you have the ability to import and export Kubernetes workloads across clusters and different platforms. We can take a workload running on Google Kubernetes Engine (GKE) and easily import it into Amazon Elastic Container Service (EKS).
Let’s start by looking at the GKE platform:
We can see we have two applications running in our GKE cluster (plus the Kasten K10 workload).
We can see that Kasten shows we have three unmanaged applications and zero policies. We need to create a policy to back up the workload and export it to an object storage platform.
Copy the text to the clipboard for use when creating an import policy on the receiving cluster. We have no configured backups on the Kubernetes cluster and configured the snapshots to be exported. The job status shows this has been completed.
Paste the configuration data we copied to the clipboard from the export policy.
The import and restore has been completed. We can look at the applications to see if this application exists.
I would recommend reading more about the Kasten K10 Platform. It really does have nice integration into Kubernetes and providing migration and mobility across platforms and service (GCP, AWS, Azure, On-Prem etc) is a really nice capability.