Gang in application level

The following script runs a given number of jobs, and each one is a simulated job that requires gang scheduling support. Where the job only starts to execute its tasks when the cluster has the min member of instances running.

./cmd/gangDeploy.sh <job number> <gang member> <task run time(sec)>

Note: if you prefer to manually launch such jobs, please refer to the gang-coordinator.yaml gang-job.yaml. Where:

  • gang-coordinator.yaml: the coordinator service used to coordinate the execution of each job's tasks.
  • gang-job: the simulated job that requires gang members to be started before executing its tasks.