Configuring Storage Classes in Azure
If you are using Azure VMs for your nodes, you can use Azure files as a StorageClass for the cluster.
In order to have the Azure platform create the required storage resources, follow these steps:
- 
Configure
kubectlto connect to your cluster. - 
Copy the
ClusterRoleandClusterRoleBindingmanifest for the service account: ```yml — apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: system:azure-cloud-provider rules:- 
apiGroups: [''] resources: ['secrets'] verbs: ['get','create'] — apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: system:azure-cloud-provider roleRef: kind: ClusterRole apiGroup: rbac.authorization.k8s.io name: system:azure-cloud-provider subjects:
 - 
kind: ServiceAccount name: persistent-volume-binder namespace: kube-system
` 
 - 
 - 
Create these in your cluster using one of the follow command.
# kubectl create -f <MANIFEST>