Difference between revisions of "Kubectl get volumesnapshot"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
  [[kubectl get]] [[volumesnapshot]] -A
 
  [[kubectl get]] [[volumesnapshot]] -A
 
  No resources found
 
  No resources found
 +
 +
 +
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 ==
 
== Activities ==

Revision as of 08:15, 23 October 2023

kubectl get volumesnapshot
kubectl get volumesnapshot -A
No resources found


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

kind: VolumeSnapshotContent

See also

Advertising: