Mounting Custom Displays via NFS Using Rancher
You can use Rancher to enable sharing and displaying custom displays in your WebHMI deployment via the NFS protocol.
To mount custom displays to the WebHMI pods via NFS using Rancher:
-
Install NFS client support on all nodes.
Each Kubernetes node must have the NFS client utilities installed to mount NFS volumes.Example for Ubuntu / Debian nodes:
sudo apt update sudo apt install -y nfs-common -
Verify that the client is installed:
which mount.nfs -
In your WebHMI cluster view, navigate to Apps > Installed Apps and select the WebHMI Helm release.
-
Select Edit/Upgrade to start the guided two-step installation process, leave the first step as is, and click Next.
-
On the Edit Options tab, select Storage for Displays, and enable Use SMB Storage.
-
Enter the following details, and then click Upgrade for the changes to take effect.
- mountDirName—Name of the directory where the share will be mounted inside the WebHMI container. This name becomes part of the display URL, for example:
http://webhmi.example.com/displays/my-display.gdfx
-
server —The hostname or IP address of the NFS server.
-
path —An exported directory on the NFS server that contains the displays.
- mountDirName—Name of the directory where the share will be mounted inside the WebHMI container. This name becomes part of the display URL, for example:
-
After the deployment finishes, verify that you can access your displays in the browser, for example:
https://webhmi.example.com/displays/my-display.gdfx