Kubernetes Connections
Prerequisites
A terminal to run kubectl, gcloud and gsutil commands
kubectl must be connected to the cluster that is to be protected
gcloud must point to the same project where the bucket is to be created
gsutil must have access to the same GCP project where the bucket is to be created
Steps to add Kubernetes Connection:
Enter the name and description of the cluster
To install the Appranix Controller, copy and run the command on a terminal connected to the Kubernetes cluster
Run the script in the terminal with the above prerequisites
Enter the name of the GCP project where the bucket is to be created
Enter a new bucket name to be created
NOTE: If you are going to recover to another cluster, then while adding that cluster, you must enter the same bucket name
6. Once theinstallation is complete, click “FINISH” to create the Kubernetes Connection
Steps to create Protection Policies
Before creating a Container Assembly, a Policy Template has to be created to define the frequency in which the backups have to be taken
After signing in, click on Policy Templates in the left navigation menu and click on CREATE POLICY TEMPLATE
Enter the policy name, select a frequency for protection and click Save
Steps to Create a Container Assembly
Click on Container Assemblies from the left navigation menu and click on CREATE CONTAINER ASSEMBLY
Enter the name of the application you are protecting and select the protection policy from the listed templates
Select the source cluster that is to be protected
Click on Protect all the namespaces or Protect only the selected namespaces and select the namespaces related to the application you are protecting or migrating
Review and click Finish
Recovery
Steps to Migrate/Restore resources
From the Timeline tab, select the backup you want to recover and click on RECOVER under ACTIONS
Select the destination cluster where you want to restore the backup and click on RECOVER
Monitor the progress in the Activity tab
Data sent to object storage
The object storage bucket that the client configures during the installation process is where all the K8s resources from the cluster are extracted and stored to restore to the target cluster.
Appranix doesn’t have access to the bucket and its contents.
The credentials to access the bucket passed during installation are stored as a secret within the cluster and not sent to Appranix.