Configure an Azure NetApp Files backend
You can configure Azure NetApp Files as the backend for Astra Trident. You can attach NFS and SMB volumes using an Azure NetApp Files backend. Astra Trident also supports credential management using managed identities for Azure Kubernetes Services (AKS) clusters.
Azure NetApp Files driver details
Astra Trident provides the following Azure NetApp Files storage drivers to communicate with the cluster. Supported access modes are: ReadWriteOnce (RWO), ReadOnlyMany (ROX), ReadWriteMany (RWX), ReadWriteOncePod (RWOP).
Driver | Protocol | volumeMode | Access modes supported | File systems supported |
---|---|---|---|---|
|
NFS |
Filesystem |
RWO, ROX, RWX, RWOP |
|
Considerations
-
The Azure NetApp Files service does not support volumes smaller than 100 GB. Astra Trident automatically creates 100-GiB volumes if a smaller volume is requested.
-
Astra Trident supports SMB volumes mounted to pods running on Windows nodes only.
Managed identities for AKS
Astra Trident supports managed identities for Azure Kubernetes Services clusters. To take advantage of streamlined credential management offered by managed identities, you must have:
-
A Kubernetes cluster deployed using AKS
-
Managed identities configured on the AKS kubernetes cluster
-
Astra Trident installed that includes the
cloudProvider
to specify"Azure"
.Trident operatorTo install Astra Trident using the Trident operator, edit
tridentorchestrator_cr.yaml
to setcloudProvider
to"Azure"
. For example:apiVersion: trident.netapp.io/v1 kind: TridentOrchestrator metadata: name: trident spec: debug: true namespace: trident imagePullPolicy: IfNotPresent cloudProvider: "Azure"
HelmThe following example installs Astra Trident sets
cloudProvider
to Azure using the environment variable$CP
:helm install trident trident-operator-23.10.0-custom.tgz --create-namespace --namespace <trident-namespace> --set cloudProvider=$CP
tridentctl
The following example installs Astra Trident sets set the
cloudProvider
flag toAzure
:tridentctl install --cloud-provider="Azure" -n trident