You can back up your Azure Kubernetes Service (AKS) or Amazon Elastic Kubernetes Service (EKS) clusters directly to the cloud, without configuring or installing backup gateways, using the Commvault Cloud hosted infrastructure.
To configure backups, do the following:
-
From the Command Center navigation pane, go to Service catalog.
-
In the Kubernetes tile, click Configure.
-
For Service type, select Azure Kubernetes Service (AKS) or Amazon Elastic Kubernetes Service (EKS).
-
Select Use hosted infrastructure.
-
For Region, select the region where you want to store your backup. The regions associated with the workload resource pool are available for selection.
Need help with creating a workload resource pool?
-
From the Command Center navigation pane, go to Manage > Infrastructure.
-
Click the Resource pools tile.
-
Click Add > Workload.
-
Enter a name, and then select a region for the workload resource pool.
-
For Solution type, select Kubernetes AKS or Kubernetes EKS.
-
Select the backup gateways to use for the resource pool, and then click Save.
-
-
Click Next.
-
Select an existing backup plan or create a new backup plan.
-
Click Next, and then add the cluster details.
-
Enter a name for the cluster, and then select or create service account credentials.
Need help with creating credentials?
-
Click the add button.
-
Enter a name for the credential.
-
For Kubernetes API server, enter the API server URL and port number in the https://servername:port format.
-
(Optional) For CA Certificate, enter the Base64 encoded root certificate of the cluster.
-
Enter a name of a service account, and then click Create Service Account.
The Get Kubernetes service token script window appears
-
Enter the details, and then run the script on your Kubernetes cluster to create the service account, ClusterRoleBinding, and service account secret.
-
Copy the service account token that's generated, and then close the window.
-
Enter the service account token, and then click Save.
-
-
Click Next.
-
If your Kubernetes cluster uses a self-signed certificate and you see a connection error, enable the Skip SSL/TLS Certificate Verification toggle key.
For high-availability or cloud clusters with distributed or managed control planes, each kube-apiserver might have a different SSL thumbprint. In such cases, use the CA Certificate field when creating credentials to verify the Kubernetes API server's identity.
-
On the Add application group page, click Add, and then select Workloads.
-
Select only the cluster.
-
Click Submit.
-
Click Next, and then complete the configuration wizard.
-
To run a manual backup, go to the cluster, and then in the upper-right area of the page, click Backup.