Fisrt, Just Don't. Its slooooow, like KB/s-max-speed-slow, and CIFS is not POSIX friendly filesystem, a lot of things just won't work.
After you spin up the cluster you will have to run a couple of kubectl
commands to give the azure-cloud-provider enough permissions to save the share credentials as a secret in the Namespace the PVC is created in.
You can do this in the web console as a cluster admin user.
Cluster -> Launch kubectl
kubectl create clusterrole system:azure-cloud-provider --verb=get,create --resource=secrets
kubectl create clusterrolebinding system:azure-cloud-provider --clusterrole=system:azure-cloud-provider --serviceaccount=kube-system:persistent-volume-binder
Cluster -> Storage -> Storage Class -> Add Class
- Provisioner: Azure File
- Sku Name: Standard_LRS
This will automatically use a Standard_LRS in the same resource group or create one if there isn't one.
NOTE: You will probably need to add mount options to your storageClass. This means setting up different storageClasses for different apps if they run as specific uid/gid.
Go into your Project and create a Volume using the storageClass.
If the volume makes it to "Bound" its working.
SSH into your nodes and check the kube-controller-manager container log
docker logs -f kube-controller-manager