AKS
How to connect your Azure File Share (NFS) and your AKS cluster ?
In this article we will see how to use our Azure File Share ( with NFS protocol) and our Azure Kubernetes Service cluster.
Prerequis
We will need a storage account with the prenium account type « file share »:
And cluster AKS :
Connection
We will create a Persistent Volume Claim:
and the Persistent Volume:
We will deploy a POD to test this:
We will « simulate » the pod:
We create a .txt file in our directory:
I launch an Ubuntu machine in parallel, I mount the NFS and I access my share:
We see that the sharing is operational and functional:
Conclusion
Now you know how to connect your AKS cluster to a storage account that uses the NFS protocol!