How to connect your Azure File Share (NFS) and your AKS cluster ?

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!

Nicolas VACCARO

Passionnée par l'environnement Cloud, je propose des articles qui pourront aider débutant comme expert.

Related Posts

How Restore your Azure Kubernetes Services ?

How Restore your Azure Kubernetes Services ?

How Backup your Azure Kubernetes Services ?

How Backup your Azure Kubernetes Services ?

Azure Kubernetes Service – Autoscale

Azure Kubernetes Service – Autoscale

Azure Kubernetes Service

Azure Kubernetes Service