Skip to content

Commit 0949508

Browse files
committed
add config files for chaotic-ngine [ci skip]
1 parent 8f5e2c1 commit 0949508

File tree

3 files changed

+63
-1
lines changed

3 files changed

+63
-1
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
kind: nomad
3+
dry_run: false
4+
configs:
5+
experiments:
6+
- job
7+
8+
# Signals to choose from
9+
signals:
10+
- SIGKILL
11+
12+
# Optional: namespace allowlist
13+
namespace_allowlist:
14+
- nf-nomad
15+
16+
# Optional: namespace denylist
17+
namespace_denylist:
18+
- default
19+
20+
# Optional: job type skip list
21+
job_type_skiplist:
22+
- system
23+
- service
24+
- sysbatch
25+
26+
# Optional: job name skip list
27+
# job_skiplist:
28+
# - my-job-name
29+
30+
# Optional: Add a meta tag in your nomad job "chaotic" = False to opt-out
31+
# job_meta_opt_key: chaotic
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
kind: nomad
3+
dry_run: true
4+
configs:
5+
experiments:
6+
- node
7+
8+
# Optional: Node drain deadline in seconds, default 10
9+
node_drain_deadline_seconds: 20
10+
11+
# Optional: Skip nodes in these classes
12+
# node_class_skiplist:
13+
# - storage
14+
15+
# Optional: Skip nodes with these names
16+
node_skiplist:
17+
- nomad02
18+
- nomad03
19+
20+
# Optional: Wait for this amount of seconds before set node to be eligible again, default 60
21+
node_wait_for: 20
22+
23+
# Optional: Also drain system jobs, default false
24+
node_drain_system_jobs: false
25+
26+
# Optional: Drain multiple nodes in one run in percent, fallback 1 node
27+
node_drain_amount_in_percent: 30

validation/sun-nomadlab/nextflow.config

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ plugins {
55
process {
66
executor = "nomad"
77

8+
cpus=4
9+
memory= "4.GB"
10+
time= "1.h"
11+
812
resourceLimits = [ cpus: 4, memory: 4.GB, time: 1.h ]
913

1014
}
@@ -46,7 +50,7 @@ nomad {
4650
enabled = true
4751
}
4852

49-
deleteOnCompletion = false
53+
deleteOnCompletion = true
5054

5155
volume = { type "host" name "scratch" }
5256

0 commit comments

Comments
 (0)