giovtorres / slurm-docker-cluster

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

Make the SLURM API available #59

Open andretheronsa opened 6 days ago

andretheronsa commented 6 days 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")