We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2dd157a + b5743bf commit cdbbb78Copy full SHA for cdbbb78
examples/kubernetes/groupsnapshot-v1alpha1.yaml
@@ -0,0 +1,13 @@
1
+---
2
+apiVersion: groupsnapshot.storage.k8s.io/v1alpha1
3
+kind: VolumeGroupSnapshot
4
+metadata:
5
+ name: new-groupsnapshot-demo
6
+spec:
7
+ source:
8
+ selector:
9
+ matchLabels:
10
+ # The PVCs will need to have this label for it to be
11
+ # included in the VolumeGroupSnapshot
12
+ app.kubernetes.io/name: postgresql
13
+ volumeGroupSnapshotClassName: csi-hostpath-groupsnapclass
examples/kubernetes/groupsnapshotclass-v1alpha1.yaml
@@ -0,0 +1,7 @@
+kind: VolumeGroupSnapshotClass
+ name: csi-hostpath-groupsnapclass
+driver: hostpath.csi.k8s.io
+deletionPolicy: Delete
0 commit comments