Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 1.1 KB

script.md

File metadata and controls

24 lines (13 loc) · 1.1 KB

The sample provides utility scripts (under the script folder) to facilitate sample development and deployment:


Password-less access is assumed between the docker swarm or Kubernetes manager and the workers. Setup as follows on each worker node:

ssh-keygen
ssh-copy-id <worker>

The script creates a sample distribution package that contains sample (docker) images, deployment scripts and media files under the dist directory. You can distribute the sample to a different system for evaluation and demonstration without the need to rebuild the sample.

The script updates the worker nodes with the most recent images (on the current host.) The script scans the generated deployment scripts, and checks the worker nodes to ensure that they have the most recent images. If any node got out-dated images, the script updates them.

To use the script, first perform a normal build cmake...make... and then make update. The script does not take any command-line argument.