Tencent Kubernetes Engine (TKE) Backup Center provides an integrated solution for backup, recovery, and migration of containerized applications. This article mainly introduces the use cases and core components of the Backup Center.
Note:
Use Cases
Backup and Recovery: In case all resources in a cluster or namespace are accidentally deleted, you can quickly restore the business using backup data.
Cross-cloud Migration: Flexibly deploy businesses and migrate application data between different public clouds and hybrid clouds.
Business Compliance: Collaborate with the security department to regularly retrieve backup data for business auditing.
Core Components
Component Name | Description |
tke-backup | The backup component, deployed in the user's cluster, is based on the open-source tool Velero and supports scheduled backup and restoration of Kubernetes cluster resources through CRD. |
Kubernetes objects deployed within a cluster
Kubernetes Object Name | Local Disk Types | Resource Amount | Namespaces |
tke-backup | Deployment | At least 0.1 cores CPU and 256 MB memory are required. | tke-backup |
tke-backup | Service | - | tke-backup |
tke-backup | backupstoragelocation | - | - |
tke-backup | backup | - | - |
tke-backup | restores | - | - |
ResourceType
The TKE-customized backup-related CRD resources are described as follows:
Resource Name | Description |
Backup | Specify the backup policy for designated resource objects. Creating a Backup resource initiates the backup process, while deleting a Backup resource does not delete the underlying data stored in the COS backup repository. |
BackupSchedule | Specify the backup policy for specific resource objects at a particular point in time, responsible for generating Backup resource objects on a scheduled basis. |
Restore | Restore the backup information to the target TKE cluster. Creating a Restore resource initiates the recovery process. Deleting the Restore resource will not have any other impact, it will only remove the recovery operation record from the recovery list. |
Instructions
1. Log in to the TKE console and create a backup repository. For more information, see Create a Backup Repository.
2. Create a backup or scheduled backup policy for the target cluster. For more information, see Backup Management.
3. Restore specific resource objects in the cluster based on backup data. For more information, see Recovery Management.