trident icon indicating copy to clipboard operation
trident copied to clipboard

snapshotPolicy in backend config for azure-netapp-files driver

Open dje4om opened this issue 2 years ago • 0 comments

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

  • trident-operator 23.10
  • aks with managed-identities
  • azure-netapp-files driver
  • https://learn.microsoft.com/en-us/azure/azure-netapp-files/snapshots-manage-policy#apply-a-snapshot-policy-to-a-volume

dje4om avatar Nov 28 '23 17:11 dje4om