#Did you know ?

1 messages · Page 1 of 1 (latest)

knotty granite
#

You can import volumes with kubectl, no need for tridentctl anymore for that task (check out the annotations of the PVC):

cat << EOF | kubectl apply -f -
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: volume-import-kubectl
annotations:
trident.netapp.io/importOriginalName: "to_import_kubectl"
trident.netapp.io/importBackendUUID: "11d28fb4-...-94b8d8a5e061"
trident.netapp.io/notManaged: "false"
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 5Gi
storageClassName: storage-class-nfs
EOF