Provider Specific Setup
AWS - EKS
Follow these steps to deploy to EKS:
-
Install and configure EBS CSI Driver according to the official AWS documentation
-
Install and configure EFS CSI Driver according to the official AWS documentation
-
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 -
Setup the StorageClass for EFS
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: efs-sc
provisioner: efs.csi.aws.com
volumeBindingMode: Immediate -
Set
objectsVolume.storageClassName
to the name of the RWX StorageClass
GCP - GKE
Follow these steps to deploy to GKE:
- Enable the Filestore API
gcloud services enable file.googleapis.com
- Enable the GcpFilestoreCsiDriver Addon
gcloud container clusters update CLUSTER_NAME \
--update-addons=GcpFilestoreCsiDriver=ENABLED - Enable the GcePersistentDiskCsiDriver Addon
gcloud container clusters update CLUSTER_NAME \
--update-addons=GcePersistentDiskCsiDriver=ENABLED - Set
objectsVolume.storageClassName
to the name of the RWX StorageClass
tip
See how to integrate Contextal Platform with Google Cloud Storage.