Skip to content

Supporting (multiple) data repository association #367

Open
@everpeace

Description

Is your feature request related to a problem?/Why is this needed

We would like to create PERSISTENT_2 deployment type FSx volumes with (multiple) data repository associations via the kubernetes CSI.

Currently, this driver only supports CreateFileSystemLustreConfiguration.Auto{Import,Export}Path based configuration to link S3 bucket. But, this is not supported by PERSISTENT_2 deployment type. PERSISTENT_2 only supports Data Repository Associations to link S3 buckets. Thus, we can currently create PERSISTENT_2 filesystems with this driver but no buckets can be linked to the filesystems.

/feature

Describe the solution you'd like in detail

As describe in #252 (comment):

kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: fsx-sc
provisioner: fsx.csi.aws.com
parameters:
  subnetId: <subnet-id>
  securityGroupIds: <security-group-id>
  deploymentType: PERSISTENT_2
  dataRepositories: |
    - fileSystemPath: /ns1/path1
      dataRepositoryPath: s3://s3-path-1
      BatchImportMetaDataOnCreate: true
    - fileSystemPath: /ns1/path2
      dataRepositoryPath: s3://s3-path-2
      BatchImportMetaDataOnCreate: true

Additional context

I'm a colleague with @ittus.
I open this issue as instructed in #252 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions