Difference between revisions of "Kubectl get volumesnapshot"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
  
 
  kubectl get volumesnapshot
 
  kubectl get volumesnapshot
  NAME                READYTOUSE  SOURCEPVC                                  SOURCESNAPSHOTCONTENT  RESTORESIZE   
+
  NAME                READYTOUSE  SOURCEPVC                                  SOURCESNAPSHOTCONTENT  RESTORESIZE  SNAPSHOTCLASS  SNAPSHOTCONTENT  CREATIONTIME  AGE
SNAPSHOTCLASS  SNAPSHOTCONTENT  CREATIONTIME  AGE
 
 
  new-snapshot-test                pvc-9f38b08a-89db-4f93-98f9-921f1a5cc37d                                                                                           
 
  new-snapshot-test                pvc-9f38b08a-89db-4f93-98f9-921f1a5cc37d                                                                                           
 
  2m15s
 
  2m15s

Revision as of 08:51, 23 October 2023

kubectl get volumesnapshot
kubectl get volumesnapshot -A
No resources found
kubectl get volumesnapshot
NAME                READYTOUSE   SOURCEPVC                                  SOURCESNAPSHOTCONTENT   RESTORESIZE   SNAPSHOTCLASS   SNAPSHOTCONTENT   CREATIONTIME   AGE
new-snapshot-test                pvc-9f38b08a-89db-4f93-98f9-921f1a5cc37d                                                                                          
2m15s


apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshotContent
metadata:
  annotations:
  - snapshot.storage.kubernetes.io/allowVolumeModeChange: "true"
  name: new-snapshot-content-test
spec:
  deletionPolicy: Delete
  driver: hostpath.csi.k8s.io
  source:
    snapshotHandle: 7bdd0de3-aaeb-11e8-9aae-0242ac110002
  sourceVolumeMode: Filesystem
  volumeSnapshotRef:
    name: new-snapshot-test
    namespace: default


Activities

Related

See also

Advertising: