From a4872e963489f5db2474f1d1350a44c970a873d3 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 18 Sep 2018 11:27:09 -0700 Subject: [configs] add some aurora configs. --- configs/aurora/hello-job.aurora | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 configs/aurora/hello-job.aurora (limited to 'configs/aurora/hello-job.aurora') diff --git a/configs/aurora/hello-job.aurora b/configs/aurora/hello-job.aurora new file mode 100644 index 0000000..e0758a3 --- /dev/null +++ b/configs/aurora/hello-job.aurora @@ -0,0 +1,21 @@ +hello_date = Process( + name='hello-date', + cmdline='while true; do date; sleep 10; done' +) + +jobs = [ + Service( + cluster='smf1', + environment='devel', + role='fcuny', + name='hello-date', + task=Task( + processes=[hello_date], + resources=Resources(cpu=10, ram=1024 * MB, disk=512 * MB) + ), + instances=1, + constraints={ + 'host': 'smf1-feq-33-sr1', + } + ) +] -- cgit 1.4.1