Configuring zone redundancy
This section describes configuring zone redundancy using the zone redundant storage for disk-based and file-based storage.
Azure-disk based storage
Zone-redundant storage (ZRS) synchronously replicates an Azure managed disk across three Azure availability zones in the regions selected. This can be selected by setting in the
yamlfile for creating the storage class.ZRS disks are currently available in: Southeast Asia, Australia East, Brazil South, North Europe, West Europe, France Central, Japan East, Korea Central, Qatar Central, UK South, East US, East US 2, South Central US and West US 2.
The following
yamlfile can be used:aks-disk kind: StorageClass apiVersion: storage.k8s.io/v1 metadata: name: <storage class name> provisioner: disk.csi.azure.com reclaimPolicy: Retain allowVolumeExpansion: True volumeBindingMode: Immediate parameters: skuname: Premium_ZRS
EKS disk-based storage (EBS)
Zone redundancy not supported. The snapshot backup to store backup at different S3 bucket can be used.
Refer to the following document to take volume snapshot and restore it to the existing pod:
Using Amazon EBS snapshots for persistent storage with your Amazon EKS cluster by leveraging add-ons
Azure file-based storage
Zone-redundant storage (ZRS) replicates the storage account synchronously across three Azure availability zones in the primary region. This can be selected by setting in the
yamlfile for creating the storage class.ZRS for premium file shares is available in: Southeast Asia, Australia East, Brazil South, North Europe, West Europe, France Central, Japan East, Korea Central, Qatar Central, UK South, East US, East US 2, South Central US and West US 2.
The following
yamlfile can be used:aks-file kind: StorageClass apiVersion: storage.k8s.io/v1 metadata: name: <name of storage class> provisioner: file.csi.azure.com reclaimPolicy: Retain allowVolumeExpansion: True volumeBindingMode: Immediate parameters: skuName: Premium_ZRS protocol: nfs
EKS file-based storage (EFS)
Zone redundancy is automatically supported within the region.
For more information, see Resilience in Amazon Elastic File System.