giovtorres / slurm-docker-cluster

A Slurm cluster using docker-compose
MIT License
319 stars 189 forks source link

Make the SLURM API available #59

Open andretheronsa opened 1 week ago

andretheronsa commented 1 week ago

It would be great if we can have this compose project running SLURM with an exposed API for other docker services to submit jobs to from the outside via http.

In another project in the same network you should be able to post a job like so: request.post('http://slurm-network/api/job', data="#SBATCH --job-name=test")