Storage Configuration
Here you can find our recommendations for configuring storage for your CodeCanvas instance in AWS EKS, GKE, and Azure AKS.
For optimal dev environment performance, we recommend using a high-performance SSD-based storage solution for your CodeCanvas installation.
AWS EKS
If you install CodeCanvas to AWS EKS (Elastic Kubernetes Service), follow our recommendations for StorageClass and VolumeSnapshotClass.
StorageClass
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
storageclass.kubernetes.io/is-default-class: "true"
name: ebs-sc-gp3-16000iops-750mgbps
mountOptions:
- debug
parameters:
type: gp3
iops: "16000"
throughput: "750"
provisioner: ebs.csi.aws.com
allowVolumeExpansion: true
reclaimPolicy: Delete
volumeBindingMode: Immediate
VolumeSnapshotClass
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshotClass
metadata:
name: csi-aws-vsc
driver: ebs.csi.aws.com
deletionPolicy: Delete
Google GKE
If you install CodeCanvas to Google GKE (Google Kubernetes Engine), follow our recommendations for StorageClass and VolumeSnapshotClass.
StorageClass
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
storageclass.kubernetes.io/is-default-class: "false"
name: workers-storageclass
provisioner: pd.csi.storage.gke.io
allowVolumeExpansion: true
mountOptions:
- debug
parameters:
type: pd-balanced
reclaimPolicy: Delete
volumeBindingMode: Immediate
VolumeSnapshotClass
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshotClass
metadata:
annotations:
snapshot.storage.kubernetes.io/is-default-class: "true"
name: workers-volumesnapshotclass
driver: pd.csi.storage.gke.io
deletionPolicy: Delete
Azure AKS
If you install CodeCanvas to Azure AKS (Azure Kubernetes Service), follow our recommendations for VolumeSnapshotClass.
VolumeSnapshotClass
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshotClass
metadata:
name: csi-azuredisk-vsc
driver: disk.csi.azure.com
deletionPolicy: Delete
Last modified: 04 October 2024