example/testjob_stateless_revocable.yaml (34 lines of code) (raw):
changelog: null
name: TestPelotonJob_Stateless_Revocable
owningteam: team6
ldapgroups:
- money
- team6
- otto
description: "A dummy test stateless service job for peloton"
labels:
- key: testKey0
value: testVal0
- key: testKey1
value: testVal1
- key: testKey2
value: testVal2
instancecount: 10
type: 1
sla:
priority: 22
preemptible: true
revocable: true
defaultconfig:
# For non-revocable resources [mem,disk,gpu] check slack limit
# for resource pool. Default is 20%.
resource:
cpulimit: 1.0
memlimitmb: 2.0
disklimitmb: 10
fdlimit: 10
healthcheck: null
revocable: true
ports: []
container: null
command:
shell: true
value: 'while :; do echo running; sleep 10; done'