Skip to content

Importing a volume using kubectl #816

@YvosOnTheHub

Description

@YvosOnTheHub

Page URL

https://docs.netapp.com/us-en/trident/trident-use/vol-import.html

Page title

Import volumes

Summary

hi
this page only describes how to import volumes using tridentctl
customers tend to prefer to use kubectl instead

it would great to also add this method

example:

kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: blog-content-import-kubectl
  namespace: ghost
  annotations:
    trident.netapp.io/importBackendUUID: "11d28fb4-6cf5-4c59-931d-94b8d8a5e061"
    trident.netapp.io/importNoRename: "true"
    trident.netapp.io/importOriginalName: "to_import_kubectl"
    trident.netapp.io/notManaged: "false"
spec:
  accessModes:
    - ReadWriteMany
  resources:
    requests:
      storage: 5Gi
  storageClassName: storage-class-nfs

Public issues must not contain sensitive information

  • This issue contains no sensitive information.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions