Adeptia Automate enables you to access and use a LAN file source or target from within the Kubernetes cluster. To achieve this, you need to enable the use of a LAN volume and define a PVC for the LAN file Source and Target by configuring the variables in the lan_pv section of the general-config.yaml file discussed in the following table.
Before you configure these variables to deploy Adeptia Automate with access to one or more LAN volumes, ensure that you have met the following prerequisites:
-
Configured NFS or Samba on the LAN server based on the volume_mode you want to configure in the lan_pv section.
• If you set local as the volume_mode, you need to have Samba configured on the LAN server.
• If you set NFS as the volume_mode, you need to have NFS configured on the LAN server. -
Configured the path of the LAN source and target files in the NFS server.
| Variable | Description |
|---|---|
| lan_pv | The variable containing the following parameters to define, mount, and enable the use of multiple LAN volumes for reading and writing folders/files in your transactions/process flows: • pv_enabled • volume_mode • mountOptions • additionalVolumes |
| pv_enabled | Set it to true if you want to enable the use of a LAN volume for reading and writing folders/files in your transactions/process flows. |
| volume_mode | Variable to define how the LAN volume shall be accessed. The possible values are: • local • nfs |
| mountOptions | The variable containing the following parameters to define the NFS client's version and the timeout value of the NFS client. • nfsvers • timeo |
| nfsvers | Set the value of NFS client's version. |
| timeo | Set the timeout value of the NFS client. |
| additionalVolumes | The variable containing the following parameters that help you define multiple LAN volumes you want to mount. |
| pv_name | Provide the name of a local or nfs volume you want to mount. |
| pvc_name | Provide the local or nfs volume claim name. |
| mountPath | Provide the mount path for the local or nfs volume. |
| local_mount_path | Provide the local volume path in the format, */<user defined folder>/<user defined folder>...,*if you have set the volume_mode to local. |
| nfs_server | Provide the NFS server domain or IP if you have set the volume_mode to nfs. |
| nfs_shared_path | Provide the NFS shared folder path in the format, /<user defined folder>/<user defined folder>..., if you have set the volume_mode to nfs. |