Caerus UDF related services can be deployed as separate microservice as stated in the README of parent "caerus-udf" directory, for ease-of-use, here we dockerize the major components as follows:
- docker "caerus-ndp-udf-backend": it has major Caerus UDF services and their ports
- 8000 - Ndp Service
- 8002 - UDF Service
- 8003 - Event Listener Service
- 8004 - Registry Service
- docker "redis": for event notification and docker registry
Currently, the automation only supports public docker hub option, the private docker registry support can be added as needed in the future.
The steps below show how to use this deployment automation:
> git pull
> cd $CAERUS_UDF_HOME/
> root@ubuntu1804:/home/ubuntu/caerus-udf#./build.sh
Follow the below link: faas
Note: You might need to change the storage system IP address that is stored in serverless function configuration file, such as: caerus-faas-spring-thumbnail-hdfs.yml
root@ubuntu1804:/home/ubuntu/caerus-udf/deployment# chmod +x create_secrets.sh
root@ubuntu1804:/home/ubuntu/caerus-udf/deployment# source ./create_secrets.sh