Difference between revisions of "Kubectl get volumesnapshot"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
[[kubectl get]] [[volumesnapshot]] | [[kubectl get]] [[volumesnapshot]] | ||
+ | kubectl get volumesnapshot [[-o yaml]] | ||
[[kubectl get]] [[volumesnapshot]] -A | [[kubectl get]] [[volumesnapshot]] -A | ||
No resources found | 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 | ||
Line 17: | Line 22: | ||
* [[kubectl get pvc]] | * [[kubectl get pvc]] | ||
* [[volumesnapshots]] | * [[volumesnapshots]] | ||
− | |||
== See also == | == See also == | ||
− | * {{K8s | + | * {{K8s snaps}} |
[[Category:K8s]] | [[Category:K8s]] |
Latest revision as of 08:52, 23 October 2023
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[edit]
Related[edit]
See also[edit]
Advertising: