Restrictions¶
System Resource Restrictions¶
Indapps get default limits per Container on CPU and Memory usage
See the oci-runtime-compose section documents how to specify other values.
Indapps are configured to be restarted in 60 seconds continuously in case of a failure as default. This behaviour is default and there is no chance to modify for now.
CPU¶
Default CPU shares limit: 0.5. Meaning the maximum proportion of a core that can be used, as documented in the oci-runtime-compose section.
Memory¶
Default Memory limit: 256MB. Meaning the size of the RAM memory available for the container, as documented in the oci-runtime-compose section.
Note
If total memory limits defined for Edge applications installed on EdgeBox is higher than 3.86 GB which is half of the memory capacity of Edgebox, the below warning message will appear. So please check resource specifications of Edge applications before installing them to your EdgeBox.
Total requested memory for IndApps exceeds the available system RAM!
Size Restrictions¶
Indapp file or swu archive file should not exceed 2 GB. It is possible to create or publish applications which are bigger than 2 GB but application installation will fail while deploying any application bigger than 2GB to Sinumerik Edge from Insights Hub.
Restrictions on Volume Binding¶
There are restrictions on volume binding. Applications should only bind whitelisted paths. If an application tries to bind any directory other than whitelisted directories, application installation on SINUMERIK Edge will fail.
Whitelisted Paths
Path | Description |
---|---|
/etc/config/indapps/OfficialAppName | This path must be defined for all applications. This is the folder where the configuration file will be placed. |
/var/fileuploader/files/OfficialAppName | Used by fileuploader. If fileuploader functionality used, this binding must be defined. |
/var/run/systemd/journal/socket | If application writes log to journald this path binding must be defined. |
/etc/resolv.conf | For DNS configuration |
/opt/indapps/volumes/AnyFolder | Applications can use this binding to share and store files between other applications. |
volumes/AnyFolder | Applications can use this binding to share and store files between other applications. |
/run/exenia/hosts | This binding can be defined to access hosts file of exenia. |
/samba/share/OfficialAppName | Applications can use this binding to share and store files between other applications. |
Note
Indapp file name should be identical with application publish name which is called as OfficialAppName on Insights Hub.
Data Transfer Restrictions¶
Insights Hub Data Rate Restriction¶
Continuous data stream to Insights Hub should not exceed total of 15 Kbyte/s for all applications combined.
Any questions left?
Except where otherwise noted, content on this site is licensed under the The Siemens Inner Source License - 1.1.