kubectl get volumesnapshot

From wikieduonline
Revision as of 08:52, 23 October 2023 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

kubectl get volumesnapshot
kubectl get volumesnapshot -o yaml
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: