Cloud backups for group of PVCs on IKS
Summary and Key concepts
Summary:
This article provides instructions on how to create and manage group cloud snapshots of Portworx volumes in Kubernetes. It covers prerequisites such as installing Stork and configuring cloud credentials for connecting to cloud storage providers like S3. The article details the process of creating group cloud snapshots using the GroupVolumeSnapshot
Custom Resource Definition (CRD), tracking the status of snapshots, and restoring data from snapshots. It also explains how to set pre- and post-snapshot rules and manage retries for failed snapshots. The guide includes an example of taking a group cloud snapshot of Cassandra PVCs and restoring the data in pods.
Kubernetes Concepts:
- PersistentVolumeClaim (PVC): Requests for storage in Kubernetes, which can be snapshotted and restored.
- Annotations: Metadata used to manage group snapshots and specify cloud backup options.
- Namespace: Used to isolate Kubernetes resources, and group snapshots can be restored across multiple namespaces.
Portworx Concepts:
-
Stork: A Kubernetes extension for managing Portworx snapshots, backups, and restores.
-
GroupVolumeSnapshot: A Portworx CRD for taking snapshots of multiple PVCs as a group, including support for cloud backups.
-
VolumeSnapshot: A snapshot of a Portworx volume, which can be used for restoring data.
-
VolumeSnapshotRestore: A resource used for restoring volumes from snapshots, including in-place restores with Stork.
This document will show you how to create group cloud snapshots of Portworx volumes and how you can clone those snapshots to use them in pods.