Skip to main content

Provider Specific Setup

AWS - EKS

Follow these steps to deploy to EKS:

  1. Install and configure EBS CSI Driver according to the official AWS documentation

  2. Install and configure EFS CSI Driver according to the official AWS documentation

  3. Setup the StorageClass for EBS

    apiVersion: storage.k8s.io/v1
    kind: StorageClass
    metadata:
    name: ebs-sc
    annotations:
    storageclass.kubernetes.io/is-default-class: "true"
    provisioner: ebs.csi.aws.com
    parameters:
    type: gp3
    fsType: ext4
    reclaimPolicy: Retain
    volumeBindingMode: WaitForFirstConsumer
  4. Setup the StorageClass for EFS

    apiVersion: storage.k8s.io/v1
    kind: StorageClass
    metadata:
    name: efs-sc
    provisioner: efs.csi.aws.com
    volumeBindingMode: Immediate
  5. Set objectsVolume.storageClassName to the name of the RWX StorageClass

GCP - GKE

Follow these steps to deploy to GKE:

  1. Enable the Filestore API
    gcloud services enable file.googleapis.com
  2. Enable the GcpFilestoreCsiDriver Addon
    gcloud container clusters update CLUSTER_NAME \
    --update-addons=GcpFilestoreCsiDriver=ENABLED
  3. Enable the GcePersistentDiskCsiDriver Addon
    gcloud container clusters update CLUSTER_NAME \
    --update-addons=GcePersistentDiskCsiDriver=ENABLED
  4. Set objectsVolume.storageClassName to the name of the RWX StorageClass
tip

See how to integrate Contextal Platform with Google Cloud Storage.