Skip to content

Commit 5e97321

Browse files
Merge pull request #260443 from andyzhangx/patch-91
Update availability-zones.md
2 parents af4f05d + df0a482 commit 5e97321

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

articles/aks/availability-zones.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Use availability zones in Azure Kubernetes Service (AKS)
33
description: Learn how to create a cluster that distributes nodes across availability zones in Azure Kubernetes Service (AKS)
44
ms.custom: fasttrack-edit, references_regions, devx-track-azurecli, devx-track-linux
55
ms.topic: article
6-
ms.date: 02/22/2023
6+
ms.date: 12/06/2023
77
---
88

99
# Create an Azure Kubernetes Service (AKS) cluster that uses availability zones
@@ -32,7 +32,19 @@ The following limitations apply when you create an AKS cluster using availabilit
3232
### Azure disk availability zone support
3333

3434
- Volumes that use Azure managed LRS disks aren't zone-redundant resources, attaching across zones isn't supported. You need to co-locate volumes in the same zone as the specified node hosting the target pod.
35-
- Volumes that use Azure managed ZRS disks (supported by Azure Disk CSI driver v1.5.0 and later) are zone-redundant resources. You can schedule those volumes on all zone and non-zone agent nodes.
35+
- Volumes that use Azure managed ZRS disks are zone-redundant resources. You can schedule those volumes on all zone and non-zone agent nodes, here's an example of how to create a storage class using the StandardSSD_ZRS disk:
36+
```yaml
37+
apiVersion: storage.k8s.io/v1
38+
kind: StorageClass
39+
metadata:
40+
name: managed-csi-zrs
41+
provisioner: disk.csi.azure.com
42+
parameters:
43+
skuName: StandardSSD_ZRS # or Premium_ZRS
44+
reclaimPolicy: Delete
45+
volumeBindingMode: WaitForFirstConsumer
46+
allowVolumeExpansion: true
47+
```
3648
3749
Kubernetes is aware of Azure availability zones since version 1.12. You can deploy a PersistentVolumeClaim object referencing an Azure Managed Disk in a multi-zone AKS cluster and [Kubernetes takes care of scheduling](https://kubernetes.io/docs/setup/best-practices/multiple-zones/#storage-access-for-zones) any pod that claims this PVC in the correct availability zone.
3850

0 commit comments

Comments
 (0)