Creating a Full Cluster Application Group for Kubernetes

You can create a full cluster application group that protects your entire Kubernetes cluster using namespace-centric protection. A full cluster application group automatically discovers and protects all namespaces, applications, PersistentVolumeClaims, and non-namespaced (cluster-scoped) resources/objects.

Procedure

  1. From the navigation pane, go to Protect > Kubernetes.

    The Applications tab appears.

  2. In the upper-right area of the page, click Add application group.

    The Add Application Group dialog box appears.

  3. From the Cluster list, select the cluster to create the application group for.

  4. Click Next.

    The Select Plan page appears.

  5. Select the server plan to back up the cluster and applications.

    If you don't already have a server plan that you can use, to create one, click the add button add/plus button - gray - no border.

  6. Click Next.

    The Add Application Group page appears.

  7. In Application group name, enter a descriptive name for the application group.

  8. Click Add, and then select Applications.

    The Add Kubernetes applications dialog box appears.

  9. Select only the cluster.

  10. Click Done.

    Important

    Do not click the Preview button. In some cases, clicking the button generates an error message. This is a known issue.

  11. To exclude applications, do the following:

    Note

    • The objects that you want to exclude must already exist.

    • You cannot exclude specific API resources or resources that have a label applied.

    • If you exclude an application that is the only content selected to back up, then the application is still backed up.

    1. Move the Exclude items toggle key to the right.

    2. From the Exclude list, select Applications.

      The Add exclusions dialog box appears.

    3. From the Browse list, select the option that displays the resources/objects that you want to select:

    4. Applications: Displays the cluster, each namespace, and Pods, DaemonSets, Deployments, StatefulSets, and Helm-deployed applications within the namespace.

    5. Labels: Displays the cluster, each namespace, and any labels on Pods, Deployments, DaemonSets, StatefulSets, and Helm-deployed applications within the namespace.

      If a namespace does not contain any API resources that have labels, the namespace is displayed as empty.

    6. Volumes: Displays the cluster, each namespace, and any PersistentVolumeClaims (PVCs) within the namespace.

      If a namespace does not contain any PersistentVolumeClaims (PVCs), the namespace is displayed as empty.

      PersistentVolumes (PVs) that do not have an associated PersistentVolumeClaim (PVC) are not displayed.

    7. Select the applications to exclude.

  12. Click Submit.

    The application group page appears.

  13. To run an on-demand backup of the application group, in the upper-right area of the page, click Back up.

    Important

    If you need to access the applications or volumes in system namespaces (such as those that begin with kube- and openshift-), you can display the system namespaces in Commvault by using the bK8sShowSystemNamespaces entity setting.

Loading...