NetApp / trident

Storage orchestrator for containers
Apache License 2.0
732 stars 218 forks source link

snapshotPolicy in backend config for azure-netapp-files driver #871

Open dje4om opened 7 months ago

dje4om commented 7 months ago

Describe the solution you'd like Dynamically define a snapshot policy on volumes provisioned by a storageClass on a properly configured backend to do so on Azure with azure-netapp-driver.

In the same way we can do this with ontap-nas driver on backend config according to this documentation :

  ...
  storageDriverName: "ontap-nas"
  backendName: "mybackend"
  ...
  defaults:
    snapshotPolicy: mysnappolicy
  ...

All existing ontap-nas parameters are probably not relevant on Azure but this specific feature seems supported on Azure side as we can associate a policy to a volume and this would be much appreciated. Currently totally ignored if defined with azure-netapp-driver

Describe alternatives you've considered Well, i'm not sure there is a another way to do this, it comes with dynamic volume povisionning

Additional context