Enabling Backups and Restores of Air-Gapped Clusters for Kubernetes

Updated

To enable backups and restores of air-gapped Kubernetes clusters, you must add additional settings. By default, the Commvault software downloads the image from the Docker Hub (https://hub.docker.com) to run backups and restores.

Procedure

  1. Verify that the centos:8 image is available on the private registry.

    The private registry is used only to create intermittent Commvault pods that are used for backups and restores.

  2. To the access node, add the additional settings as follows:

    Additional setting

    Category

    Type

    Value

    sK8sUseImageRegistry

    VirtualServer

    String

    If set to Custom, then the value of sK8sImageRegistryUrl is used.

    If set to Application, then the image registry value is fetched from the original application.

    sK8sImageRegistryUrl

    VirtualServer

    String

    A private registry URL along with port.

    For example, cvregistry.cv.com:5000

    sK8sImageSecretName

    VirtualServer

    String

    The ImagePullSecret for container, if any, to authenticate with the image registry. For example, regcred.

    sK8sWorkerImageName

    VirtualServer

    String

    The image for the worker pod type. For example, debian:stretch-slim.

    By default, centos:8 image is used.

Results

For the next backup, the intermittent CV pods use centos:8 image from the registry that is specified by the sK8sImageRegistryUrl additional setting.

Adding an Additional Setting from the CommCell Console