Stay organized with collections Save and categorize content based on your preferences.
In Google Kubernetes Engine (GKE), you can use the Kubernetes volume snapshot feature for persistent volumes in your GKE clusters.
Kubernetes volume snapshots let you create a copy of your volume at a specific point in time. You can use this copy to bring a volume back to a prior state or to provision a new volume.
A volume snapshot in Kubernetes is equivalent to taking a backup of your data in other storage systems. For example, creating a Kubernetes volume snapshot is equivalent to creating a Filestore backup.
You can use snapshots to protect your workloads and achieve business-critical recovery point objectives in your disaster recovery plan, or if you have compliance needs to periodically save data.
GKE supports two ways to create volume snapshots:
Container storage interface (CSI) volume snapshot API: This is a manual process that lets you create and manage volume snapshots through the Compute Engine Persistent Disk CSI driver or the Filestore CSI driver, applying configuration conventions commonly used in open source Kubernetes programming.
Backup for GKE: This is a fully-managed service that automates the creation and management of volume snapshots. Backup for GKE supports both the configuration and volume backup for stateful workloads with persistent disks. For workloads with Filestore, only the configuration backup is supported. To back up data in your Filestore basic tier instances, you should continue to use the volume snapshot API through the Filestore CSI driver.
From GKE version 1.17 or later, you can provision and attach volume snapshots with the following components:
Note: In Kubernetes version 1.20, the VolumeSnapshot API version was promoted to GA. In GKE 1.23,snapshot.storage.k8s.io/v1beta1
is deprecated. If you are using a GKE cluster version 1.21 and later, migrate to snapshot.storage.k8s.io/v1
.
The following documentation covers how to use the volume snapshot API with a GKE CSI driver:
Back up and restore Filestore storage using volume snapshots.
Back up and restore Persistent Disk storage using volume snapshots.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-12 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4