How To
Understanding workspace and syslogreceiver directories
on linux ha (helm) and swimlane platform installer (spi standalone and ha), two directories ' /app/workspace ' and ' /app/log/syslogreceiver ', are mounted inside the tasks container by default the directory, ' /app/workspace ' is primarily used from inside the swimlane python tasks or forked plugin tasks to temporarily store/retrieve (read/write) files from within the tasks container the directory, ' /app/log/syslogreceiver ', is the storage location when working with syslog receiver the volume type for the aforementioned directories is emptydir when the tasks pod(s) are removed/deleted (container restarts are ok), the data is deleted forever using persistent data in linux ha helm, you can change the volume type to persistent data by enabling sharedfs when sharedfs is enabled, the data in the aforementioned directories are not only accessible from all the tasks pods but more importantly, the data is the same this is because all task pod(s) will point to the same underlying persistent volume the main benefit here is that when the tasks pod(s) are removed/deleted, the data will still be available once the pods start up again in this case, data is not deleted to enable this feature \# update \<your swimlane values> yaml file and run a helm update \# enable syslog and sharedfs persistentvolume to true syslog enabled true sharedfs persistentvolume enabled true note linux ha helm will be eventually deprecated and sharedfs (enabling persistent data) is not available in swimlane platform installer (spi) if you’re currently using this feature in helm, then consult your professional service engineer to explore other options in linux standalone toolkit (docker), the two directories, ' /app/workspace ' and ' /app/log/syslogreceiver ', are not mounted by default however, you can mount and allow data to persist by following the steps below \# update /opt/swimlane/docker compose override yml services sw tasks volumes \ /opt/swimlane/workspace vol /app/workspace sw syslog receiver container name sw syslog receiver image swimlane/swimlane syslog receiver\ latest restart unless stopped volumes \ /opt/swimlane/syslog vol /app/log/syslog receiver ports \ 514 5514/udp \# restart sw tasks newer version version '3 7' services sw web sw mongo sw api \#volumes \# /path/to/thirdpartycerts\ /usr/local/share/ca certificates/swimlane/ sw tasks \#volumes \# /path/to/local/workspace /app/workspace \# /path/to/thirdpartycerts\ /usr/local/share/ca certificates/swimlane/ sw syslog receiver container name sw syslog receiver image swimlane/swimlane syslog receiver\ latest restart unless stopped volumes \ syslog vol /app/log/syslog receiver ports \ 514 5514/udp \#chrome \# container name chrome \# image selenium/standalone chrome 3 141 59 \# restart unless stopped \# shm size '2gb' \# networks \# internal network volumes syslog vol external false