tencent cloud

Laman ini saat ini hanya mendukung bahasa inggris, bahasa yang telah anda telusuri sedang dipersiapkan.
关闭
Semua dokumen produk
Tencent Kubernetes Engine
Backup and Restoration Practices
Terakhir diperbarui:2024-12-26 17:33:47
Backup and Restoration Practices
Terakhir diperbarui: 2024-12-26 17:33:47

Overview

This document describes how to perform backup and restoration operations with accidental deletion of the service-controller resource in a cluster as an example.

Directions

1. Enabling Periodic Backup

1. Log in to the TKE console and select Cluster in the left sidebar.
2. Install the tke-backup add-on in cluster add-on management and ensure that the add-on status is displayed as Success. For detailed installation steps, see Installing an Add-On on the Add-On Management Page.

3. On the Backup Center > Backup Repository page, click Create to create a backup repository and complete the repository configuration. For operation details, see Creating a Backup Repository.

4. On the Backup Management page, create a periodic backup for the cluster. For operation details, see Creating a Backup.

5. In the backup list, confirm whether the status is normal.

2. Simulating Accidental Deletion

Simulate accidental deletion of the service-controller resource object under the kube-system namespace of a cluster. At this time, an exception occurs when a service object is added to the cluster.


3. Completing the Restoration Process

1. On the Backup Center > Restoration Management page, select a cluster and create a restoration task under it. For operation details, see Creating a Restoration Task.
Since service-controller is deployed under the kube-system namespace, we select the corresponding namespace for restoration.
For conflict management, we select Do not overwrite. It indicates that except for service-controller, other identically named resource objects running under the kube-system namespace will not be updated by backup data in this restoration.

2. On the Backup Center > Restoration Management page, confirm the execution status of the restoration task.
3. In the background, check whether the corresponding Pod of service-controller is running normally and whether the business has been restored.

Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
Ya
Tidak

masukan

Hubungi Kami

Hubungi tim penjualan atau penasihat bisnis kami untuk membantu bisnis Anda.

Dukungan Teknis

Buka tiket jika Anda mencari bantuan lebih lanjut. Tiket kami tersedia 7x24.

Dukungan Telepon 7x24
Hong Kong, Tiongkok
+852 800 906 020 (Bebas Pulsa)
Amerika Serikat
+1 844 606 0804 (Bebas Pulsa)
Britania Raya
+44 808 196 4551 (Bebas Pulsa)
Kanada
+1 888 605 7930 (Bebas Pulsa)
Australia
+61 1300 986 386 (Bebas Pulsa)
Hotline EdgeOne
+852 300 80699
Hotline lokal akan didukung untuk lebih banyak wilayah