@@ -21,23 +21,23 @@ Ensure your volumesnapshotclass was created during hostpath deployment:
21
21
> Namespace:
22
22
> Labels: <none>
23
23
> Annotations: kubectl.kubernetes.io/last-applied-configuration:
24
- > {"apiVersion":"snapshot.storage.k8s.io/v1beta1 ","deletionPolicy":"Delete","driver":"hostpath.csi.k8s.io","kind":"VolumeSnapshotClass","met...
25
- > API Version: snapshot.storage.k8s.io/v1beta1
24
+ > {"apiVersion":"snapshot.storage.k8s.io/v1 ","deletionPolicy":"Delete","driver":"hostpath.csi.k8s.io","kind":"VolumeSnapshotClass","met...
25
+ > API Version: snapshot.storage.k8s.io/v1
26
26
> Deletion Policy: Delete
27
27
> Driver: hostpath.csi.k8s.io
28
28
> Kind: VolumeSnapshotClass
29
29
> Metadata:
30
30
> Creation Timestamp: 2020-03-09T20:53:32Z
31
31
> Generation: 1
32
32
> Resource Version: 938
33
- > Self Link: /apis/snapshot.storage.k8s.io/v1beta1 /volumesnapshotclasses/csi-hostpath-snapclass
33
+ > Self Link: /apis/snapshot.storage.k8s.io/v1 /volumesnapshotclasses/csi-hostpath-snapclass
34
34
> UID: 8d2320cb-85fc-4908-9895-5ff8867169e2
35
35
> Events: <none>
36
36
> ```
37
37
38
38
After having created the `csi-pvc` as described in the deployment validation,
39
39
use the volume snapshot class to dynamically create a volume snapshot:
40
- > - `$ kubectl apply -f examples/csi-snapshot-v1beta1 .yaml`
40
+ > - `$ kubectl apply -f examples/csi-snapshot-v1 .yaml`
41
41
> ```
42
42
> volumesnapshot.snapshot.storage.k8s.io/new-snapshot-demo created
43
43
> ```
@@ -61,8 +61,8 @@ use the volume snapshot class to dynamically create a volume snapshot:
61
61
> Namespace: default
62
62
> Labels: <none>
63
63
> Annotations: kubectl.kubernetes.io/last-applied-configuration:
64
- > {"apiVersion":"snapshot.storage.k8s.io/v1beta1 ","kind":"VolumeSnapshot","metadata":{"annotations":{},"name":"new-snapshot-demo","namespace...
65
- > API Version: snapshot.storage.k8s.io/v1beta1
64
+ > {"apiVersion":"snapshot.storage.k8s.io/v1 ","kind":"VolumeSnapshot","metadata":{"annotations":{},"name":"new-snapshot-demo","namespace...
65
+ > API Version: snapshot.storage.k8s.io/v1
66
66
> Kind: VolumeSnapshot
67
67
> Metadata:
68
68
> Creation Timestamp: 2020-03-09T21:45:04Z
@@ -71,7 +71,7 @@ use the volume snapshot class to dynamically create a volume snapshot:
71
71
> snapshot.storage.kubernetes.io/volumesnapshot-bound-protection
72
72
> Generation: 1
73
73
> Resource Version: 11146
74
- > Self Link: /apis/snapshot.storage.k8s.io/v1beta1 /namespaces/default/volumesnapshots/new-snapshot-demo
74
+ > Self Link: /apis/snapshot.storage.k8s.io/v1 /namespaces/default/volumesnapshots/new-snapshot-demo
75
75
> UID: 1b461d4e-6279-4f1d-9910-61d35d80c888
76
76
> Spec:
77
77
> Source:
@@ -92,15 +92,15 @@ use the volume snapshot class to dynamically create a volume snapshot:
92
92
> Namespace:
93
93
> Labels: <none>
94
94
> Annotations: <none>
95
- > API Version: snapshot.storage.k8s.io/v1beta1
95
+ > API Version: snapshot.storage.k8s.io/v1
96
96
> Kind: VolumeSnapshotContent
97
97
> Metadata:
98
98
> Creation Timestamp: 2020-03-09T21:45:04Z
99
99
> Finalizers:
100
100
> snapshot.storage.kubernetes.io/volumesnapshotcontent-bound-protection
101
101
> Generation: 1
102
102
> Resource Version: 11145
103
- > Self Link: /apis/snapshot.storage.k8s.io/v1beta1 /volumesnapshotcontents/snapcontent-1b461d4e-6279-4f1d-9910-61d35d80c888
103
+ > Self Link: /apis/snapshot.storage.k8s.io/v1 /volumesnapshotcontents/snapcontent-1b461d4e-6279-4f1d-9910-61d35d80c888
104
104
> UID: 665657cd-4461-476c-9cdb-5c0490c58945
105
105
> Spec:
106
106
> Deletion Policy: Delete
@@ -109,7 +109,7 @@ use the volume snapshot class to dynamically create a volume snapshot:
109
109
> Volume Handle: 42bdc1e0-624e-11ea-beee-42d40678b2d1
110
110
> Volume Snapshot Class Name: csi-hostpath-snapclass
111
111
> Volume Snapshot Ref:
112
- > API Version: snapshot.storage.k8s.io/v1beta1
112
+ > API Version: snapshot.storage.k8s.io/v1
113
113
> Kind: VolumeSnapshot
114
114
> Name: new-snapshot-demo
115
115
> Namespace: default
0 commit comments