1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00

OSDOCS-17931#VolumeGroup Snapshots bump API to v1beta2

This commit is contained in:
Lisa Pettyjohn
2026-01-16 14:02:16 -05:00
committed by openshift-cherrypick-robot
parent 36582a376e
commit 9622ce3d09
2 changed files with 5 additions and 3 deletions

View File

@@ -6,6 +6,7 @@
[id="persistent-storage-csi-group-snapshots-create-admin_{context}"]
= Creating a volume group snapshot class
[role="_abstract"]
Before you can create volume group snapshots, the cluster administrator needs to create a `VolumeGroupSnapshotClass`.
This object describes how volume group snapshots should be created, including the driver information, the deletion policy, etc.
@@ -24,7 +25,7 @@ To create a `VolumeGroupSnapshotClass`:
.Example volume group snapshot class YAML file
[source, yaml]
----
apiVersion: groupsnapshot.storage.k8s.io/v1beta1
apiVersion: groupsnapshot.storage.k8s.io/v1beta2
kind: VolumeGroupSnapshotClass <1>
metadata:
name: csi-hostpath-groupsnapclass <2>

View File

@@ -6,6 +6,7 @@
[id="persistent-storage-csi-group-snapshots-create_{context}"]
= Creating a volume group snapshot
[role="_abstract"]
When you create a `VolumeGroupSnapshot` object, {product-title} creates a volume group snapshot.
.Prerequisites
@@ -71,7 +72,7 @@ In this example, you are labeling PVC "pvc-0" and "pvc-1" to belong to group "my
.Example VolumeGroupSnapshot YAML file
[source, yaml]
----
apiVersion: groupsnapshot.storage.k8s.io/v1beta1
apiVersion: groupsnapshot.storage.k8s.io/v1beta2
kind: VolumeGroupSnapshot <1>
metadata:
name: <volume-group-snapshot-name> <2>
@@ -110,7 +111,7 @@ metadata:
name: snapshot-4dc1c53a29538b36e85003503a4bcac5dbde4cff59e81f1e3bb80b6c18c3fd03
namespace: default
ownerReferences:
- apiVersion: groupsnapshot.storage.k8s.io/v1beta1
- apiVersion: groupsnapshot.storage.k8s.io/v1beta2
kind: VolumeGroupSnapshot
name: my-groupsnapshot
uid: ba2d60c5-5082-4279-80c2-daa85f0af354