eReplication needs to perform data protection and DR tasks for applications provided by Kubernetes. Therefore, you need to add Kubernetes clusters before creating protected groups.
A Kubernetes cluster can be added to only one site of eReplication.


The DR Admin configuration file is the kubeconfig authentication file exported from the Kubernetes cluster. It is used by the DR system to interconnect with the Kubernetes cluster for DR management.

If the DR Admin configuration file uses the kubeconfig authentication file of a customized user, the user permission must meet Table 2.
API Provider |
API Groups |
Kind |
Permission |
|---|---|---|---|
CDR |
xuanwu.huawei.io |
Backup |
get,list,delete |
CDR |
xuanwu.huawei.io |
Hook |
get,list |
CDR |
xuanwu.huawei.io |
ResourceDetail |
get,list |
CDR |
xuanwu.huawei.io |
BackupJob |
get,list,create,patch |
CDR |
xuanwu.huawei.io |
RecoveryJob |
get,list,create,patch |
CDR |
xuanwu.huawei.io |
RestoreJob |
get,list,create,patch |
CDR |
xuanwu.huawei.io |
ProtectionJob |
get,list,create,patch |
CDR |
xuanwu.huawei.io |
ReProtectionJob |
get,list,create,patch |
CDR |
xuanwu.huawei.io |
Cluster |
get,list,create,delete |
CDR |
xuanwu.huawei.io |
BackupInstance |
get,list,create,delete,update |
CDR |
xuanwu.huawei.io |
BackupLocation |
get,list,create,delete,update |
CDR |
xuanwu.huawei.io |
BackupSchedule |
get,list |
CDR |
xuanwu.huawei.io |
ProtectionPlan |
get,list,create,delete,update,patch |
CDR |
xuanwu.huawei.io |
RecoveryPlan |
get,list,create,delete,update,patch |
CDR |
xuanwu.huawei.io |
ResourceSet |
get,list,create,delete,update,patch |
CDR |
xuanwu.huawei.io |
SchedulePolicy |
get,list,create,delete,update |
CDR |
xuanwu.huawei.io |
VolumeSet |
get,list,create,delete,update |
CSI |
xuanwu.huawei.io |
StorageBackendClaim |
get,list,create,delete,update |
CSI |
xuanwu.huawei.io |
StorageBackendContent |
get,list,create,delete,update |
Kubernetes |
- |
Event |
get,list |
Kubernetes |
- |
Namespace |
get,list,create,delete |
Kubernetes |
storage.k8s.io |
StorageClass |
get,list,create,delete,update |
Kubernetes |
- |
PersistentVolume |
get,list,create,delete,update |
Kubernetes |
- |
PersistentVolumeClaim |
get,list,create,delete,update |
Kubernetes |
- |
Service |
get,list,delete |
Kubernetes |
- |
ConfigMap |
get,list,delete |
Kubernetes |
- |
Secret |
get,list,delete |
Kubernetes |
- |
ServiceAccount |
get,list,delete |
Kubernetes |
rbac.authorization.k8s.io |
ClusterRole |
get,list,delete |
Kubernetes |
rbac.authorization.k8s.io |
ClusterRoleBinding |
get,list,delete |
Kubernetes |
- |
Pod |
get,list,delete,update,patch |
Kubernetes |
apps |
Deployment |
get,list,create,delete,update,patch |
Kubernetes |
apps |
ReplicaSet |
get,list,delete,update,patch |
Kubernetes |
apps |
DaemonSet |
get,list,delete,update,patch |
Kubernetes |
apps |
StatefulSet |
get,list,delete,update,patch |
Kubernetes |
extensions |
Deployment |
get,list,create,delete,update,patch |
Kubernetes |
extensions |
DaemonSet |
get,list,create,delete,update,patch |
Kubernetes |
extensions |
ReplicaSet |
get,list,delete,update,patch |
After a cluster is added, you can view, refresh, modify, and delete the cluster information. Table 3 describes the related operations.
Operation |
Method |
Prerequisite and Result |
|---|---|---|
View |
|
- |
Refresh |
Locate the row that contains the target cluster and click Refresh in the Operation area. |
|
Modify |
Locate the row that contains the target cluster, and choose More > Modify in the Operation area. |
This operation enables you to upload the DR Admin configuration file and update the DR Admin configuration file information of the cluster. |
Delete |
Locate the row that contains the target cluster, and choose More > Delete in the Operation area. |
This operation enables you to delete unnecessary clusters from a site. NOTE:
This operation will delete the selected Kubernetes from the system and cannot be undone. Check whether the selected Kubernetes is correct. |