<p>The official docs don't really explain these properly an I can barely find any other article that explains the difference. I would like to know when to use static or dynamic azure files.</p>

<p>In my case I have a Laravel app which has a feature that allows you to upload files. The app is deployed using azure Kubernetes service, therefore I have to create a Persistent Volume Claim to persist the uploaded files in the storage folder.</p>

chinloyal
<p>static - would be a <a href="https://learn.microsoft.com/bs-latn-ba/azure/aks/azure-files-volume#create-an-azure-file-share" rel="nofollow noreferrer">precreated file share</a><br>
dynamic - would be created and managed by kubernetes for you</p>

<p>thats the difference between dynamic and static</p>

<p><a href="https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/" rel="nofollow noreferrer">https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/</a></p>
