Configuration for Persistent Volume Types
You can configure the PersistentVolume (PV) storage in the cluster. To use a different storage option for deployment with Helm, update the storage name and volumeType in the following files:
mdm/values.yaml
mdm/charts/patterns/values.yaml
mdm/charts/patternsgateway/values.yaml
PersistentVolume for Static Provisioning Type
Create PersistentVolume for each PersistentVolumeClaim. To use static provisioning, see the following files:
DeploymentInstructions.txt
(located atdocker/k8s_deployment
): For information about the volumes in StatefulSets, seemdm_pv.yaml
andmdm_pvc.yaml
files.ReadMe.txt
(for Helm chart) (located atdocker/k8s_helm/Samples
): SetdynamicProvisioning:false
in thevalues.yaml
file.
NoFS=false
. Therefore, you must create the PersistentVolume for the static provisioning type with the ReadWriteMany
access mode.PersistentVolume for Dynamic Provisioning Type
For the dynamic provisioning type, Persistent Volumes are created automatically. For Helm deployment, by default dynamic provisioning is set for Azure file, Azure disk, and AWS EBS.
awsefs
volume type, you must deploy aws-efs-csi-driver
by using the following command:- helm install aws-efs-csi-driver https://github.com/kubernetes-sigs/aws-efs-csi-driver/releases/download/v0.3.0/helm-chart.tgz
Supported Provisioning Types
The following table lists the supported provisioning types and their storage class and cloud provider:
Provisioning Types | Storage Class | Cloud Provider |
---|---|---|
Static/Dynamic | Local | None |
AWS EFS | AWS | |
AWS EBS | AWS | |
Azure File | AZURE | |
Azure Disk | AZURE | |
GCP PD | GCP | |
Network File System (NFS) Mounting happens with the host machine. For example, ### NFS Mount ### |
Local | None |
Supported VolumeTypes and Provisioner Values
The following table lists the supported VolumeType and Provisioner values based on the storage and cloud provider:
Provisioning types | Changes | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Static/Dynamic |
| ||||||||||||||||||
|
| ||||||||||||||||||
Note: Based on your volume type, configure parameters related to the specified attribute. For example, if you select the awsefs volume type, then you can add efsFileSystemId in the efsProvisioner attribute. |