Kubernetes

Updated

You can use the Commvault software to back up, restore, and migrate stateful Kubernetes applications and data.

You can back up the applications and the data, or only the data volumes. You can perform backups at different levels of granularity. For example, you can back up clusters or namespaces. You can perform backups using labels or selectors, and you can even select individual items to back up.

For application-consistent backups, you must have customized scripts for each application or volume. For more information, see Application Consistent Protection for Kubernetes.

Backups

Environments You Can Back Up

  • Automatically discover and back up applications by using labels and selectors or namespaces.

  • Back up Kubernetes-orchestrated clusters, on-premises or cloud (such as GCP, and AWS), and managed Kubernetes PaaS offerings (such as GKE, EKS, and AKS).

  • Back up Kubernetes applications. An application is a Kubernetes deployment, daemonset, or a StatefulSet.

  • All API resources visible to the kube-api-server, with the exception of Jobs, Roles, and ClusterRoleBindings:

    • PV

    • PVC

    • Deployment

    • StatefulSet

    • ConfigMap

    • Service

    • DaemonSet

    • ClusterRole

    • Ingress

  • Container Storage Interface (CSI) and non-CSI backed-up persistent volumes and PersistentVolumeClaims (PVCs)

  • Back up custom resource definitions (CRDs)

What Is Not Backed Up

  • emptyDir volumes

  • ServiceAccount + Secrets (cluster level)

  • Role

  • RoleBinding

  • API resources not related to applications

Backups You Can Perform

  • Full backups

  • Incremental backups

When You Can Perform Backups

  • On a schedule: The server plan that you assign manages scheduled backups

  • On demand: You can perform on-demand backups at any time

Restores

Restores You Can Perform

  • Recover a complete application to a previous point in time, including automatic deployment to a new application or a new cluster

  • Recover a sub-application from a composite (custom resource) application

  • Recover an individual data volume from an application, for attaching to a new application

  • Recover or download files and folders from data volumes, or from application YAML manifests

Granularity You Can Use for Restores

  • Application and data

  • Data volumes

  • Data (folders and files) from within the volume

Backups You Can Use for Restores

  • The most recent backup: For example, restore the most recent backup to secondary storage, such as tape, for long-term storage

  • A backup from a specific date: For example, restore data to a point in time before it became unusable

  • Backups from a date range: For example, restore data that was accidentally deleted

Destinations You Can Restore To

  • The current volume, application, or cluster (in place)

  • A different volume, application, or cluster (out of place)