Documentation Center

Deploying ReadWriteOnce and ReadWriteMany storage classes

About this task

The Controller pod uses a ReadWriteOnce volume. The I/O performance is important and it should be at least as fast as a typical NFS volume.

The language pairs are stored on a shared volume (ReadWriteMany). NFS or equivalent is typically fast enough for this use.

Procedure

  • Deploy a block storage class of ReadWriteOnce for the mtedge-controller-pvc.
    • standard for Google Cloud Platform
    • managed-premium for Microsoft Azure AKS
    • ebs for Amazon Web Services EKS
  • Deploy a filesystem storage class of ReadWriteMany for the mtedge-lp-pvc.
    • google-filestore for Google Cloud Platform
    • azureblob-nfs-premium for Microsoft Azure AKS
    • efs or fsx for Amazon Web Services EKS
  • Microsoft Azure (AKS) Storage Classes

    Run this command to enable the CSI driver in your cluster:

    az aks update --enable-blob-driver -n MyCluster -g MyResourceGroup

    The step above creates a storage class named azureblob-nfs-premium, which is used by default by Language Weaver Edge for ReadWriteMany volumes. See https://learn.microsoft.com/en-us/azure/aks/azure-blob-csi?tabs=NFS for more information.

  • Google Cloud Platform Storage Classes

    For ReadWriteMany volumes, the default setting is to use google-filestore storage class. If the storage class is not already present in your cluster, you can enable it by following the instructions in https://cloud.google.com/filestore/docs/csi-driver.