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 at docker/k8s_deployment): For information about the volumes in StatefulSets, see mdm_pv.yaml and mdm_pvc.yaml files.
  • ReadMe.txt (for Helm chart) (located at docker/k8s_helm/Samples): Set dynamicProvisioning:false in the values.yaml file.
Note: ibi MDM is supported with 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.

Note: For the 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 ###
nfs:
path: "/var/nfs/general"
server: "IPaddress"
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 typesChanges

Static/Dynamic

Volume typeProvisionerAttribute Changes
hostkubernetes.io/no-provisionerhostProvisioner
awsefsefs.csi.aws.comefsProvisioner

 

Volume typeProvisionerAttribute Changes
awsebs kubernetes.io/aws-ebs ebsProvisioner
azureFilekubernetes.io/azure-fileazureFileProvisioner
azureDiskkubernetes.io/azure-diskazureDiskProvisioner
gkekubernetes.io/gce-pdgkeProvisioner
nfsnfsProvisioner: path: "/mqvol" server: IPAddressnfsprovisioner
 
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.