Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Dell APEX Navigator for Kubernetes Product Guide

PDF

Creating a clone

About this task

Cloning allows you to create a backup of a single or multiple namespaces and all contained Kubernetes resources from a source cluster and restore it on a target cluster.
NOTE:

If using Amazon Web services (AWS) S3 for the object store, the region on the Kubernetes backupstoragelocation object needs to be updated before creating a clone. On each Kubernetes cluster where Application Mobility is installed, run this command to update the region:

kubectl patch 
backupstoragelocation/default -n dell-csm --type='merge' -p '{"spec":{"config":{"region":"<region- name>"}}}'  
Perform the following procedure to create a clone.

Steps

  1. Click the Application Mobility tab. The screen displays the existing clones and the Create clone button. Click Create clone to create new clones.
    NOTE:
    • The name of the clone must be unique. If a clone exists in the APEX Navigator with the same name, an error appears.
    • The name of the clone can consist of lowercase alphanumeric characters and hyphens, and must consist of no more than 63 characters. It must begin and end with a lowercase alphanumeric character.
  2. Click Continue.
  3. Choose the cluster and one or more namespaces that you want to clone. For the namespaces that are chosen, a backup of the entire namespace and its resources (volumes, pods, etc.) are created in the object store, to be restored on the target cluster. Click Continue.
    CAUTION:If volumes being cloned have sizes that are not multiples of eight Gi, you must remove snapshot class from the source cluster.
  4. Choose the cluster where the backed-up resources and data will be restored. The namespaces selected for cloning are listed. You have the ability to rename them on the target cluster. Click Continue.
    NOTE: If these target namespaces do not exist on the target cluster, they are created. Otherwise, the chosen namespaces are used for the restore. Using namespaces that already exist may result in cloning failures or resource corruption on the target cluster.
  5. Select an object store. You can select an object store that is shared across the two clusters and that is available in the drop-down menu. If there are no object stores that the source and target cluster share, then you cannot proceed. In this instance, a reinstallation of CSM is needed on the clusters and the correct object store must be selected during the Application Mobility configuration. Also, you can either map all storage classes to a single storage class or map each storage class individually. This latter method is used only if you want to ensure that some volumes are cloned to a specific storage class.
    NOTE: If a secured object store is selected (https), manual intervention on the K8s clusters is needed. You must edit the Velero Backup Storage Location (BSL) on all clusters with Application Mobility installed and add the caCert field with the base64 encoded cert in the spec.objectStorage section. If this is not done ahead of a clone for https object stores, any cloning procedure will fail since Application Mobility is unable to communicate to the object store.
  6. ClickContinue.
  7. Review the summary of the provided configuration. You can go back and change anything if required or click Create Clones to start the job to create a new clone.
  8. Once the job to create a clone is started, a banner appears at the top of the page. The banner contains a link labeled See job details that you can use to navigate to the Jobs page and monitor the progress of clone creation.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\