Make sure you have a Kubernetes cluster ready and kubectl and helm configured so that you can manage the cluster resources. In this recipe, we will use a three-node Kubernetes cluster on AWS.
This recipe requires an existing stateful workload with presentable data to simulate a disaster. To restore the data, we will use the mytestapp application we created in the Installing EBS CSI Driver to manage EBS volumes recipe in Chapter 5, Preparing for Stateful Workloads.
Clone the k8sdevopscookbook/src repository to your workstation to use the manifest files under the chapter6 directory, as follows:
$ git clone https://github.com/k8sdevopscookbook/src.git
$ cd src/chapter6
K10, by default, comes with a Starter Edition license that allows you to use the software on a cluster with three worker nodes (at most) at no charge. K10 requires a backup target to be configured.