<p>We have an AKS cluster set up with a multiple availability zone node pool. Using the <code>default</code> storage class, if a Pod needs to move to another node and the only available node is in a different region, the Pod can't start up because the storage is stuck in the original region. Do any of the other built-in storage classes support the relocation of workloads across multi-zone pools?</p>
<pre class="lang-yaml prettyprint-override"><code>kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: data
  namespace: $NAMESPACE
  labels:
    service: db
spec:
  accessModes:
  - ReadWriteOnce
  storageClassName: default
  resources:
    requests:
      storage: 4Gi
</code></pre>

<p>Yes you can use below configurations depending on your need.</p>
<p><strong>Example StorageClass.yaml</strong></p>
<pre><code>apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: azurefile
provisioner: kubernetes.io/azure-file
parameters:
  skuName: Standard_ZRS
  location: eastus
  storageAccount: azure_storage_account_name  
allowedTopologies:
- matchLabelExpressions:
  - key: failure-domain.beta.kubernetes.io/zone
    values:
    - eastus2-1
    - eastus2-2
    - eastus2-3
</code></pre>
<p>According to that following skuName are available in Azure —</p>
<ul>
<li><strong>Standard_LRS</strong> — standard locally redundant storage (LRS)</li>
<li><strong>Standard_GRS</strong> — standard geo-redundant storage (GRS)</li>
<li><strong>Standard_ZRS</strong> — standard zone redundant storage (ZRS)</li>
<li><strong>Standard_RAGRS</strong> — standard read-access geo-redundant storage (RA-GRS)</li>
<li><strong>Premium_LRS</strong> — premium locally redundant storage (LRS)</li>
<li><strong>Premium_ZRS</strong> — premium zone redundant storage (GRS)</li>
</ul>
<p>References: <a href="https://kubernetes.io/docs/concepts/storage/storage-classes/#allowed-topologies" rel="nofollow noreferrer">K8s Allowed Topologies</a>, <a href="https://learn.microsoft.com/en-us/azure/aks/availability-zones" rel="nofollow noreferrer">AKS - Availability Zones</a>, <a href="https://learn.microsoft.com/en-us/azure/aks/concepts-storage#storage-classes" rel="nofollow noreferrer">AKS - StorageClasses</a></p>
