kubectl create -f your new snaspshots.yaml

From wikieduonline
Jump to navigation Jump to search

kubectl get volumesnapshot -o yaml
 status:
   error:
     message: 'Failed to set default snapshot class with error failed to retrieve
       PVC pvc-9f38b08a-89db-4f93-98f9-921f1a5cc37d from the lister: "persistentvolumeclaim
       \"pvc-9f38b08a-89db-4f93-98f9-921f1a5cc37d\" not found"'
     time: "2023-10-23T08:48:09Z"
 status:
   error:
     message: Failed to set default snapshot class with error snapshotting non-CSI volumes is not supported, snapshot:default/new-snapshot-test-2
     time: "2023-10-23T08:56:28Z"

Related[edit]

kubectl get pv
kubectl get pvc

See also[edit]

Advertising: